{"id":"AZL-118394","summary":"CVE-2026-143235 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nublk: publish a new device by its id only once it is set up\n\nADD_DEV stores the device in ublk_index_idr when it allocates the id,\nand control commands find it there as soon as ublk_add_chdev() has\ninitialized its struct device, before the char device is added. If\ndev_set_name() or cdev_device_add() then fails, ublk_add_chdev() drops\nthe initial reference to free the device. A DEL_DEV that found the\ndevice meanwhile waits for ublk_ctl_mutex, then calls ublk_remove():\ncdev_device_del() of a device that was never added, and a second put of\nthe initial reference, which frees the device under the callers still\nholding references.\n\nReserve the id with a NULL entry, which idr_find() and the idr iterators\nskip, and store the device once ublk_add_chdev() succeeded.","modified":"2026-12-04T14:18:40.400147452Z","published":"2026-12-03T10:18:02Z","upstream":["CVE-2026-143235"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143235"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-118394.json"}}],"schema_version":"1.9.2"}