All reports
Low

kernel: octeon_ep: Fix memory leak in octep_device_setup()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-23160

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: octeon_ep: Fix memory leak in octep_device_setup() In octep_device_setup(), if octep_ctrl_net_init() fails, the function returns directly without unmapping the mapped resources and freeing the allocated configuration memory. Fix this by jumping to the unsupported_dev label, which performs the necessary cleanup. This aligns with the error handling logic of other paths in this function. Compile tested only. Issue found using a prototype static analysis tool and code review.

A memory leak was found in the Marvell Octeon endpoint driver. When octep_ctrl_net_init() fails in octep_device_setup(), the function returns without unmapping already-mapped resources or freeing allocated configuration memory, causing a resource leak.