CVE-2026-143235

Not scored yetLast modified Dec 3, 2026

Description

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

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

ADD_DEV stores the device in ublk_index_idr when it allocates the id, and control commands find it there as soon as ublk_add_chdev() has initialized its struct device, before the char device is added. If dev_set_name() or cdev_device_add() then fails, ublk_add_chdev() drops the initial reference to free the device. A DEL_DEV that found the device meanwhile waits for ublk_ctl_mutex, then calls ublk_remove(): cdev_device_del() 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 idr_find() and the idr iterators skip, and store the device once ublk_add_chdev() succeeded.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143236In the Linux kernel, the following vulnerability has been resolved: NFS/localio: hold the client across an asynchronous LOCALIO probe nfs_CVE-2026-143237In the Linux kernel, the following vulnerability has been resolved: sunrpc: instantiate rpc_pipefs dentry before publishing it rpc_mkpipe_CVE-2026-143238In the Linux kernel, the following vulnerability has been resolved: NFS: Fix inverted cross-directory rename check nfs_rename_is_unsafe_crCVE-2026-143239In the Linux kernel, the following vulnerability has been resolved: NFS: update ctime for atime-only UTIME_NOW requests When an NFS clientCVE-2026-143246.5RAOP module accepts unbounded Content-Length values and does not check the pw_array_add() return.CVE-2026-143240In the Linux kernel, the following vulnerability has been resolved: tcp: rate limit receive queue collapsing When a socket is over its recCVE-2026-143241In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: don't wait for ordered extents in do_zone_finish() do_zoCVE-2026-143242In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: fix possible UAF in wait_eb_writebacks() wait_eb_writebaCVE-2026-143243In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: only change active zone counter on successful (de)activatCVE-2026-143244In the Linux kernel, the following vulnerability has been resolved: ASoC: SOF: amd: guard adata->sdw dereferences with NULL check in IRQ haCVE-2026-143245In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: x1e80100: recreate the headset jack on card rebind The heaCVE-2026-143246In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix GPIO descriptor leak in gpiod_get_array() In gpiod_get_ar
CVE-2026-143235: Unscored | Vulnix