Not scored
ublk: pin module while release work is pending
- Severity
- Not scored
- Exploit likelihood
- 0.17% (higher than 7% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: ublk: pin module while release work is pending ublk_ch_release() takes a device reference and queues exit_work. The VFS module reference held through the file operations is dropped after ->release() returns. A queued work item does not acquire its own module reference for the callback. Consequently, normal module removal can start while exit_work is pending or executing. In addition to the worker callback itself, the final device put can invoke ublk_cdev_rel(), which is also module code. Take a module reference while ->release() is still covered by the file operations reference and drop it only after the worker has completed its final device put. A rearming worker retains the same reference. Merely canceling exit_work during module exit is insufficient. The worker is the terminal path for the device reference taken by ublk_ch_release(), so its cancellation would strand that reference and skip the associated cleanup.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c5c5eb24ed6177fc0ef4bb75fc18d07a99c1d3f0 before 448dba9b2af31f445933a1f3026669619280f20c, from c5c5eb24ed6177fc0ef4bb75fc18d07a99c1d3f0 before 20b5467b12954359dd65120cbccb63b4083b9931, from c5c5eb24ed6177fc0ef4bb75fc18d07a99c1d3f0 before afc9cde716b29ce814798d649a95f9128ba42b43, 6.17 Not affected: before 6.17, from 6.18.63 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-100044 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-100044 changed 2026-11-30 | Public domain |