# CVE-2026-23160: octeon_ep: Fix memory leak in octep_device_setup()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-02-14T16:01:25.900Z
- Modified: 2026-11-05T22:18:05.083Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 577f0d1b1c5f3282fa2011177b0af692a7c21aee before 5058d3f8f17202e673f90af1446252322bd0850f; from 577f0d1b1c5f3282fa2011177b0af692a7c21aee before fdfd28e13c244d7c3345e74f339fd1b67605b694; from 577f0d1b1c5f3282fa2011177b0af692a7c21aee before d753f3c3f9d7a6e6dbb4d3a97b73007d71624551; from 577f0d1b1c5f3282fa2011177b0af692a7c21aee before 8016dc5ee19a77678c264f8ba368b1e873fa705b; 6.4 (not affected: before 6.4; from 6.6.123 up to 6.6.*; from 6.12.69 up to 6.12.*; from 6.18.9 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 6.4 before 6.6.123; from 6.7 before 6.12.69; from 6.13 before 6.18.9; 6.19

## References

- <https://git.kernel.org/stable/c/5058d3f8f17202e673f90af1446252322bd0850f> (patch)
- <https://git.kernel.org/stable/c/fdfd28e13c244d7c3345e74f339fd1b67605b694> (patch)
- <https://git.kernel.org/stable/c/d753f3c3f9d7a6e6dbb4d3a97b73007d71624551> (patch)
- <https://git.kernel.org/stable/c/8016dc5ee19a77678c264f8ba368b1e873fa705b> (patch)

## Sources

- CVE List: [CVE-2026-23160](https://www.cve.org/CVERecord?id=CVE-2026-23160), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23160](https://nvd.nist.gov/vuln/detail/CVE-2026-23160), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23160 · Whole record: https://cve.day/CVE-2026-23160.json · Rebuilt by cve.day 2026-11-25T22:59:13.896Z
