Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-23160

octeon_ep: Fix memory leak in octep_device_setup()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 577f0d1b1c5f3282fa2011177b0af692a7c21aee to < 5058d3f8f17202e673f90af1446252322bd0850faffected
  • 577f0d1b1c5f3282fa2011177b0af692a7c21aee to < fdfd28e13c244d7c3345e74f339fd1b67605b694affected
  • 577f0d1b1c5f3282fa2011177b0af692a7c21aee to < d753f3c3f9d7a6e6dbb4d3a97b73007d71624551affected
  • 577f0d1b1c5f3282fa2011177b0af692a7c21aee to < 8016dc5ee19a77678c264f8ba368b1e873fa705baffected

Linux Linux

Default version status: affected

  • 6.4affected
  • 0 to < 6.4unaffected
  • 6.6.123 to ≤ 6.6.*unaffected
  • 6.12.69 to ≤ 6.12.*unaffected
  • 6.18.9 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References