octeon_ep: Fix memory leak in octep_device_setup()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fdfd28e13c244d7c3345e74f339fd1b67605b694, Kernel 6.6.123, Kernel 6.12.69 and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=577f0d1b1c5f3282fa2011177b0af692a7c21aee <fdfd28e13c244d7c3345e74f339fd1b67605b694, >=6.4 <6.6.123, >=6.7 <6.12.69, =6.19, >=577f0d1b1c5f3282fa2011177b0af692a7c21aee <8016dc5ee19a77678c264f8ba368b1e873fa705b, >=577f0d1b1c5f3282fa2011177b0af692a7c21aee <d753f3c3f9d7a6e6dbb4d3a97b73007d71624551, >=6.13 <6.18.9, =6.4, >=577f0d1b1c5f3282fa2011177b0af692a7c21aee <5058d3f8f17202e673f90af1446252322bd0850f | fdfd28e13c244d7c3345e74f339fd1b67605b694, 6.6.123, 6.12.69, 8016dc5ee19a77678c264f8ba368b1e873fa705b, d753f3c3f9d7a6e6dbb4d3a97b73007d71624551, 6.18.9, 5058d3f8f17202e673f90af1446252322bd0850f |
| linux-kernel: Kernel | >=6.13.0 <6.18.9, >=6.4.0 <6.6.123, >=6.7.0 <6.12.69 | 6.18.9, 6.6.123, 6.12.69 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket