cbcvebase.
CVE-2022-49995
published 2025-06-18

CVE-2022-49995: In the Linux kernel, the following vulnerability has been resolved: writeback: avoid use-after-free after removing device When a disk is removed…

PriorityP337high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.21%
10.7th percentile
In the Linux kernel, the following vulnerability has been resolved: writeback: avoid use-after-free after removing device When a disk is removed, bdi_unregister gets called to stop further writeback and wait for associated delayed work to complete. However, wb_inode_writeback_end() may schedule bandwidth estimation dwork after this has completed, which can result in the timer attempting to access the just freed bdi_writeback. Fix this by checking if the bdi_writeback is alive, similar to when scheduling writeback work. Since this requires wb->work_lock, and wb_inode_writeback_end() may get called from interrupt, switch wb->work_lock to an irqsafe lock.

Affected

11 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.0.2-1 (bookworm)linux 6.0.2-1 (bookworm)
linuxlinux
linuxlinux>= 45a2966fd64147518dc5bca25f447bd0fb5359ac < f96b9f7c1676923bce871e728bb49c0dfa5013ccf96b9f7c1676923bce871e728bb49c0dfa5013cc
linuxlinux>= 45a2966fd64147518dc5bca25f447bd0fb5359ac < 9a6c710f3bc10bc9cc23e1c080b53245b7f9d5b79a6c710f3bc10bc9cc23e1c080b53245b7f9d5b7
linuxlinux>= 45a2966fd64147518dc5bca25f447bd0fb5359ac < f87904c075515f3e1d8f4a7115869d3b914674fdf87904c075515f3e1d8f4a7115869d3b914674fd
linuxlinux_kernel
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 0 < 6.0.2-16.0.2-1
linuxlinux_kernel>= 5.15 < 5.15.645.15.64
linuxlinux_kernel>= 5.16 < 5.19.65.19.6

CVSS provenance

nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.