---
id: CVE-2026-99210
title: 'accel/rocket: clear rdev on device init failure'
summary: |-
  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 whethe…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= ed98261b41687323ffa02ca20fef1e60b38fd1aa <
    79071b67182e1b352d51a3917729b8d424710b49
  - >-
    Linux >= ed98261b41687323ffa02ca20fef1e60b38fd1aa <
    dd47a6c920083b069f00f0920e4566915a6aec46
  - >-
    Linux >= ed98261b41687323ffa02ca20fef1e60b38fd1aa <
    4ac852419f0d317c7bd8db5b8acb3cc78be7fe33
  - Linux 6.18
published: '2026-10-28'
updated: '2026-10-28'
sourceUpdated: '2026-10-28T10:36:04.110Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-99210'
references:
  - url: 'https://git.kernel.org/stable/c/79071b67182e1b352d51a3917729b8d424710b49'
  - url: 'https://git.kernel.org/stable/c/dd47a6c920083b069f00f0920e4566915a6aec46'
  - url: 'https://git.kernel.org/stable/c/4ac852419f0d317c7bd8db5b8acb3cc78be7fe33'
tags:
  - cve.org
ingestedAt: '2026-10-28T11:09:40.358Z'
---

## Overview

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.

## Affected

- `Linux >= ed98261b41687323ffa02ca20fef1e60b38fd1aa < 79071b67182e1b352d51a3917729b8d424710b49`
- `Linux >= ed98261b41687323ffa02ca20fef1e60b38fd1aa < dd47a6c920083b069f00f0920e4566915a6aec46`
- `Linux >= ed98261b41687323ffa02ca20fef1e60b38fd1aa < 4ac852419f0d317c7bd8db5b8acb3cc78be7fe33`
- `Linux 6.18`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
