{"id":"CVE-2026-23305","state":"PUBLISHED","title":"accel/rocket: fix unwinding in error path in rocket_probe","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/rocket: fix unwinding in error path in rocket_probe\n\nWhen rocket_core_init() fails (as could be the case with EPROBE_DEFER),\nwe need to properly unwind by decrementing the counter we just\nincremented and if this is the first core we failed to probe, remove the\nrocket DRM device with rocket_device_fini() as well. This matches the\nlogic in rocket_remove(). Failing to properly unwind results in\nout-of-bounds accesses.","publishedAt":"2026-03-25T10:27:00.612Z","updatedAt":"2026-05-11T22:04:18.823Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0810d5ad88a18f1e6d549853a388ad0316f74e36","status":"affected","lessThan":"7fc4b49474c836cee7d9801abf05e0198fcbfa74","versionType":"git"},{"version":"0810d5ad88a18f1e6d549853a388ad0316f74e36","status":"affected","lessThan":"eeaf28c8f4defe371a008a5ddefaf18abf534f81","versionType":"git"},{"version":"0810d5ad88a18f1e6d549853a388ad0316f74e36","status":"affected","lessThan":"34f4495a7f72895776b81969639f527c99eb12b9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/rocket/rocket_drv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.17","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.7","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/rocket/rocket_drv.c"]}],"references":["https://git.kernel.org/stable/c/7fc4b49474c836cee7d9801abf05e0198fcbfa74","https://git.kernel.org/stable/c/eeaf28c8f4defe371a008a5ddefaf18abf534f81","https://git.kernel.org/stable/c/34f4495a7f72895776b81969639f527c99eb12b9"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23305.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23305","state":"PUBLISHED","datePublished":"2026-03-25T10:27:00.612Z","dateUpdated":"2026-05-11T22:04:18.823Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:45.993Z"},"containers":{"cna":{"title":"accel/rocket: fix unwinding in error path in rocket_probe","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/rocket: fix unwinding in error path in rocket_probe\n\nWhen rocket_core_init() fails (as could be the case with EPROBE_DEFER),\nwe need to properly unwind by decrementing the counter we just\nincremented and if this is the first core we failed to probe, remove the\nrocket DRM device with rocket_device_fini() as well. This matches the\nlogic in rocket_remove(). Failing to properly unwind results in\nout-of-bounds accesses."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0810d5ad88a18f1e6d549853a388ad0316f74e36","status":"affected","lessThan":"7fc4b49474c836cee7d9801abf05e0198fcbfa74","versionType":"git"},{"version":"0810d5ad88a18f1e6d549853a388ad0316f74e36","status":"affected","lessThan":"eeaf28c8f4defe371a008a5ddefaf18abf534f81","versionType":"git"},{"version":"0810d5ad88a18f1e6d549853a388ad0316f74e36","status":"affected","lessThan":"34f4495a7f72895776b81969639f527c99eb12b9","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/rocket/rocket_drv.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.18","versionType":"semver"},{"version":"6.18.17","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.7","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/rocket/rocket_drv.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7fc4b49474c836cee7d9801abf05e0198fcbfa74"},{"url":"https://git.kernel.org/stable/c/eeaf28c8f4defe371a008a5ddefaf18abf534f81"},{"url":"https://git.kernel.org/stable/c/34f4495a7f72895776b81969639f527c99eb12b9"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:04:18.823Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.18.17"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"6.19.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}