7.8

CVE-2022-49995: writeback: avoid use-after-free after removing device

Modified
AliasesUBUNTU-CVE-2022-49995DEBIAN-CVE-2022-49995
Published 18-06-2025Last modified 05-08-2026

Vulnerability summary

CVE-2022-49995 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 4

Timeline

  1. 18-06-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability 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

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.24% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu94 products
  • linux< 5.15.0-53.59
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1023.27
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 45a2966fd64147518dc5bca25f447bd0fb5359ac, < f96b9f7c1676923bce871e728bb49c0dfa5013cc | ≥ 45a2966fd64147518dc5bca25f447bd0fb5359ac, < 9a6c710f3bc10bc9cc23e1c080b53245b7f9d5b7 | ≥ 45a2966fd64147518dc5bca25f447bd0fb5359ac, < f87904c075515f3e1d8f4a7115869d3b914674fd | 5.15
  • linux_kernel≥ 5.15, < 5.15.64 | ≥ 5.16, < 5.19.6 | 6.0:rc1 | 6.0:rc2
Debian1 product
  • linux< 6.0.2-1

3 vendors · 97 products

References

6 links