Skip to main content
Network Thinking Solutions Logo

CVE-2024-0562

A use-after-free flaw was found in the Linux Kernel. When a disk is removed, bdi_unregister is called to stop further write-back and waits for associated delayed work to complete. However, wb_inode_writeback_end() may schedule bandwidth estimation work after this has completed, which can result in the timer attempting to access the recently freed bdi_writeback.

All CVEs
CVE-2024-0562Published 1/15/2024

A use-after-free flaw was found in the Linux Kernel. When a disk is removed, bdi_unregister is called to stop further write-back and waits for associated delayed work to complete. However, wb_inode_writeback_end() may schedule bandwidth estimation work after this has completed, which can result in the timer attempting to access the recently freed bdi_writeback.

Vendor advisory
CVSS 3.17.8High

Overview

A use-after-free flaw was found in the Linux Kernel. When a disk is removed, bdi_unregister is called to stop further write-back and waits for associated delayed work to complete. However, wb_inode_writeback_end() may schedule bandwidth estimation work after this has completed, which can result in the timer attempting to access the recently freed bdi_writeback.

Published
1/15/2024
Last modified
11/26/2026
CVE assigner
redhat
NVD analysis
Modified

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15, < 5.15.164

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.19.6

Verify advisory

Source
linux kernel
linux
6.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
enterprise linux
redhat
8.0

Verify advisory

Source
enterprise linux
redhat
9.0

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

access.redhat.com/errata/RHSA-2024:0412vendor-advisory · x_refsource_REDHAT
access.redhat.com/errata/RHSA-2024:0412vendor-advisory · x_refsource_REDHAT · x_transferred

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

7.8 · High CVSS 3.1

Scored by redhat

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

7.8 · High CVSS 3.1

Scored by secalert@redhat.com

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

7.8 · High CVSS 3.1

Scored by nvd@nist.gov

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2024:0412
vendor-advisory
x_refsource_REDHAT
x_transferred
Third Party Advisory
access.redhat.com/security/cve/CVE-2024-0562
vdb-entry
x_refsource_REDHAT
x_transferred
Third Party Advisory
bugzilla.redhat.com/show_bug.cgi?id=2258475
issue-tracking
x_refsource_REDHAT
x_transferred
Issue Tracking
Third Party Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.