Linux
accel/rocket: fix unwinding in error path in rocket_probe
In the Linux kernel, the following vulnerability has been resolved: accel/rocket: fix unwinding in error path in rocket_probe When rocket_core_init() fails (as could be the case with EPROBE_DEFER), we need to properly unwind by decrementing the counter we just incremented and if this is the first core we failed to probe, remove the rocket DRM device with rocket_device_fini() as well. This matches the logic in rocket_remove(). Failing to properly unwind results in out-of-bounds accesses.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0810d5ad88a18f1e6d549853a388ad0316f74e36, < 7fc4b49474c836cee7d9801abf05e0198fcbfa74
- >= 0810d5ad88a18f1e6d549853a388ad0316f74e36, < eeaf28c8f4defe371a008a5ddefaf18abf534f81
- >= 0810d5ad88a18f1e6d549853a388ad0316f74e36, < 34f4495a7f72895776b81969639f527c99eb12b9
Fixed in 7fc4b49474c836cee7d9801abf05e0198fcbfa74, eeaf28c8f4defe371a008a5ddefaf18abf534f81, 34f4495a7f72895776b81969639f527c99eb12b9
- 6.18
Fixed in 0, 6.18.17, 6.19.7, 7.0
Mitigation
Upgrade Linux to 7fc4b49474c836cee7d9801abf05e0198fcbfa74 or eeaf28c8f4defe371a008a5ddefaf18abf534f81 or 34f4495a7f72895776b81969639f527c99eb12b9 or later.
Upgrade Linux to 0 or 6.18.17 or 6.19.7 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.