{"id":"CVE-2026-23160","state":"PUBLISHED","title":"octeon_ep: Fix memory leak in octep_device_setup()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteon_ep: Fix memory leak in octep_device_setup()\n\nIn octep_device_setup(), if octep_ctrl_net_init() fails, the function\nreturns directly without unmapping the mapped resources and freeing the\nallocated configuration memory.\n\nFix this by jumping to the unsupported_dev label, which performs the\nnecessary cleanup. This aligns with the error handling logic of other\npaths in this function.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review.","publishedAt":"2026-02-14T16:01:25.900Z","updatedAt":"2026-05-11T22:01:22.444Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"577f0d1b1c5f3282fa2011177b0af692a7c21aee","status":"affected","lessThan":"5058d3f8f17202e673f90af1446252322bd0850f","versionType":"git"},{"version":"577f0d1b1c5f3282fa2011177b0af692a7c21aee","status":"affected","lessThan":"fdfd28e13c244d7c3345e74f339fd1b67605b694","versionType":"git"},{"version":"577f0d1b1c5f3282fa2011177b0af692a7c21aee","status":"affected","lessThan":"d753f3c3f9d7a6e6dbb4d3a97b73007d71624551","versionType":"git"},{"version":"577f0d1b1c5f3282fa2011177b0af692a7c21aee","status":"affected","lessThan":"8016dc5ee19a77678c264f8ba368b1e873fa705b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeon_ep/octep_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.123","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.69","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.9","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeon_ep/octep_main.c"]}],"references":["https://git.kernel.org/stable/c/5058d3f8f17202e673f90af1446252322bd0850f","https://git.kernel.org/stable/c/fdfd28e13c244d7c3345e74f339fd1b67605b694","https://git.kernel.org/stable/c/d753f3c3f9d7a6e6dbb4d3a97b73007d71624551","https://git.kernel.org/stable/c/8016dc5ee19a77678c264f8ba368b1e873fa705b"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23160.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23160","state":"PUBLISHED","datePublished":"2026-02-14T16:01:25.900Z","dateUpdated":"2026-05-11T22:01:22.444Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:45.979Z"},"containers":{"cna":{"title":"octeon_ep: Fix memory leak in octep_device_setup()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nocteon_ep: Fix memory leak in octep_device_setup()\n\nIn octep_device_setup(), if octep_ctrl_net_init() fails, the function\nreturns directly without unmapping the mapped resources and freeing the\nallocated configuration memory.\n\nFix this by jumping to the unsupported_dev label, which performs the\nnecessary cleanup. This aligns with the error handling logic of other\npaths in this function.\n\nCompile tested only. Issue found using a prototype static analysis tool\nand code review."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"577f0d1b1c5f3282fa2011177b0af692a7c21aee","status":"affected","lessThan":"5058d3f8f17202e673f90af1446252322bd0850f","versionType":"git"},{"version":"577f0d1b1c5f3282fa2011177b0af692a7c21aee","status":"affected","lessThan":"fdfd28e13c244d7c3345e74f339fd1b67605b694","versionType":"git"},{"version":"577f0d1b1c5f3282fa2011177b0af692a7c21aee","status":"affected","lessThan":"d753f3c3f9d7a6e6dbb4d3a97b73007d71624551","versionType":"git"},{"version":"577f0d1b1c5f3282fa2011177b0af692a7c21aee","status":"affected","lessThan":"8016dc5ee19a77678c264f8ba368b1e873fa705b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeon_ep/octep_main.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.123","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.69","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.9","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ethernet/marvell/octeon_ep/octep_main.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/5058d3f8f17202e673f90af1446252322bd0850f"},{"url":"https://git.kernel.org/stable/c/fdfd28e13c244d7c3345e74f339fd1b67605b694"},{"url":"https://git.kernel.org/stable/c/d753f3c3f9d7a6e6dbb4d3a97b73007d71624551"},{"url":"https://git.kernel.org/stable/c/8016dc5ee19a77678c264f8ba368b1e873fa705b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:01:22.444Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.6.123"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.12.69"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.18.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}