CVE-2022-49995

Advisory lineage Upstream: 0 Downstream: 11
Analyzed
Published: 18 Jun 2025, 11:00
Last modified:11 May 2026, 19:10

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.8 HIGH
v3.1 (nvd)
EPSS Score
0.05% LOW
0% probability +0.04%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

18 Jun 2025, 11:00
Published
Vulnerability first disclosed
11 May 2026, 19:10
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.1HIGHScore: 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Trends

Current EPSS score: 0.05% Percentile: 16%

Techniques & Countermeasures

  • CWE-416Use After Free

    The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

Affected Systems

  • linuxlinux

    ≥ 45a2966fd64147518dc5bca25f447bd0fb5359ac, < f96b9f7c1676923bce871e728bb49c0dfa5013cc | ≥ 45a2966fd64147518dc5bca25f447bd0fb5359ac, < 9a6c710f3bc10bc9cc23e1c080b53245b7f9d5b7 | ≥ 45a2966fd64147518dc5bca25f447bd0fb5359ac, < f87904c075515f3e1d8f4a7115869d3b914674fd | 5.15

  • linuxlinux_kernel

    ≥ 5.15, < 5.15.64 | ≥ 5.16, < 5.19.6 | 6.0:rc1 | 6.0:rc2

References (3)