CVE-2026-23160

octeon_ep: Fix memory leak in octep_device_setup()

State
Published
Severity
Not scored
Published
Feb 14, 2026
Updated
May 11, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 577f0d1b1c5f3282fa2011177b0af692a7c21aee to before 5058d3f8f17202e673f90af1446252322bd0850fAffected
  • 577f0d1b1c5f3282fa2011177b0af692a7c21aee to before fdfd28e13c244d7c3345e74f339fd1b67605b694Affected
  • 577f0d1b1c5f3282fa2011177b0af692a7c21aee to before d753f3c3f9d7a6e6dbb4d3a97b73007d71624551Affected
  • 577f0d1b1c5f3282fa2011177b0af692a7c21aee to before 8016dc5ee19a77678c264f8ba368b1e873fa705bAffected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.123 through 6.6.*Not affected
  • 6.12.69 through 6.12.*Not affected
  • 6.18.9 through 6.18.*Not affected
  • 6.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.