CVE-2026-143235: ublk: publish a new device by its id only once it is set up

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ublk: publish a new device by its id only once it is set up

ADDDEV stores the device in ublkindexidr when it allocates the id, and control commands find it there as soon as ublkaddchdev() has initialized its struct device, before the char device is added. If devsetname() or cdevdeviceadd() then fails, ublkaddchdev() drops the initial reference to free the device. A DELDEV that found the device meanwhile waits for ublkctlmutex, then calls ublkremove(): cdevdevicedel() of a device that was never added, and a second put of the initial reference, which frees the device under the callers still holding references.

Reserve the id with a NULL entry, which idrfind() and the idr iterators skip, and store the device once ublkaddchdev() succeeded.

Affected Software

7 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.0.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7
debian/linux*
debian/linux*
debian/linux*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:20 AM
Data Sourced
via MITRE·09:20 AM
Description
Data Sourced
via OSV·09:20 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the issue?

A new ublk device must be visible to control commands while its character-device setup is still in progress, and dev_set_name() or cdev_device_add() must then fail. A concurrent DEL_DEV can find that partially initialized device and remove it.

2

What is the consequence of the concurrent removal?

The removal path can call cdev_device_del() for a device that was never added and drop the initial reference a second time. This can free the device while other callers still hold references to it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203