PT-2026-167093
CVE-2026-143235
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾