CVE-2026-99210: accel/rocket: clear rdev on device init failure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
accel/rocket: clear rdev on device init failure
rocket_probe() stores the return value from rocket_device_init() in the file-scoped rdev pointer before checking whether it is an error pointer. If rocket_device_init() fails, rdev is left as an ERR_PTR.
The rdev pointer is also used as the marker for whether the shared rocket device has already been initialized. A later core probe can therefore see a non-NULL rdev, skip rocket_device_init(), and dereference the error pointer when reading rdev->num_cores.
Save the error code and clear rdev before returning from the rocket_device_init() failure path.
The Linux kernel CVE team has assigned CVE-2026-99210 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.18 with commit ed98261b41687323ffa02ca20fef1e60b38fd1aa and fixed in 6.18.59 with commit 79071b67182e1b352d51a3917729b8d424710b49 Issue introduced in 6.18 with commit ed98261b41687323ffa02ca20fef1e60b38fd1aa and fixed in 7.2.13 with commit dd47a6c920083b069f00f0920e4566915a6aec46 Issue introduced in 6.18 with commit ed98261b41687323ffa02ca20fef1e60b38fd1aa and fixed in 7.3 with commit 4ac852419f0d317c7bd8db5b8acb3cc78be7fe33
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99210
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/accel/rocket/rocket_drv.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/79071b67182e1b352d51a3917729b8d424710b49 https://git.kernel.org/stable/c/dd47a6c920083b069f00f0920e4566915a6aec46 https://git.kernel.org/stable/c/4ac852419f0d317c7bd8db5b8acb3cc78be7fe33