Read the docs
TI-2022-25488 Aliases CVE-2022-49995GHSA-cw67-vp4w-w46p

writeback: avoid use-after-free after removing device

Priority LOW 34CWE-416Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 11 fixed, 2 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.00256 17th percentileScored 2026-11-07
Fix Partial Linux (Linux): 5.15.64, 5.19.6, 6.0Red Hat: 5 advisoriesRed Hat: 11 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.15 and later5.15.64, 5.19.6, 6.0Patch availableCNA
  • Linux VendorLinux Affected 5.15 and later Fixed in 5.15.64, 5.19.6, 6.0 Patch available CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*5.15 to before 5.15.64; 5.16 to before 5.19.6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:*6.0 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:*6.0 rc2VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.15 to before 5.15.64; 5.16 to before 5.19.6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* Versions 6.0 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:* Versions 6.0 rc2 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 5.15.64, 5.19.6, 6.0

Red Hat 5 advisories

  • RHSA-2025:12525 Released 2025-08-04 · Red Hat rating Moderate
    kernel-rt security update
    • Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt-5.14.0-70.140.1.rt21.212.el9_0, kernel-rt-core-5.14.0-70.140.1.rt21.212.el9_0, kernel-rt-debug-5.14.0-70.140.1.rt21.212.el9_0 +9
    • Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt-5.14.0-70.140.1.rt21.212.el9_0, kernel-rt-core-5.14.0-70.140.1.rt21.212.el9_0, kernel-rt-debug-5.14.0-70.140.1.rt21.212.el9_0 +7
  • RHSA-2025:12526 Released 2025-08-04 · Red Hat rating Moderate
    kernel security update
    • Red Hat Enterprise Linux AppStream E4S (v.9.0) kernel-debug-devel-5.14.0-70.140.1.el9_0, kernel-debug-devel-matched-5.14.0-70.140.1.el9_0, kernel-devel-5.14.0-70.140.1.el9_0 +5
    • Red Hat Enterprise Linux BaseOS E4S (v.9.0) bpftool-5.14.0-70.140.1.el9_0, kernel-5.14.0-70.140.1.el9_0, kernel-abi-stablelists-5.14.0-70.140.1.el9_0 +14
  • RHSA-2024:0575 Released 2024-01-30 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat CodeReady Linux Builder EUS (v.8.8) kernel-tools-libs-devel-4.18.0-477.43.1.el8_8
    • Red Hat Enterprise Linux BaseOS EUS (v.8.8) bpftool-4.18.0-477.43.1.el8_8, kernel-4.18.0-477.43.1.el8_8, kernel-abi-stablelists-4.18.0-477.43.1.el8_8 +19
Show 2 more Red Hat advisories
  • RHSA-2023:7077 Released 2023-11-14 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-513.5.1.el8_9
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-513.5.1.el8_9, kernel-4.18.0-513.5.1.el8_9, kernel-abi-stablelists-4.18.0-513.5.1.el8_9 +19
  • RHSA-2023:2458 Released 2023-05-09 · Red Hat rating Important
    kernel security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-284.11.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.11.1.el9_2, kernel-64k-devel-5.14.0-284.11.1.el9_2 +10
    • Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.0.0-284.11.1.el9_2, kernel-5.14.0-284.11.1.el9_2, kernel-64k-5.14.0-284.11.1.el9_2 +29
    • Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-284.11.1.el9_2

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2023:7077
Red Hat CodeReady Linux Builder EUS (v.8.8)Fixed RHSA-2024:0575
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2023:2458
Red Hat Enterprise Linux AppStream E4S (v.9.0)Fixed RHSA-2025:12526
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2023:7077
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2023:2458
Red Hat Enterprise Linux BaseOS E4S (v.9.0)Fixed RHSA-2025:12526
Red Hat Enterprise Linux BaseOS EUS (v.8.8)Fixed RHSA-2024:0575
Red Hat Enterprise Linux CRB (v. 9)Fixed RHSA-2023:2458
Red Hat Enterprise Linux NFV E4S (v.9.0)Fixed RHSA-2025:12525
Red Hat Enterprise Linux Real Time E4S (v.9.0)Fixed RHSA-2025:12525
Not affected: 3 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-49995
  2. 2026-10-03 Alias added: GHSA-cw67-vp4w-w46p

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources