CVE-2024-0562
High 7.8No known exploitationFix availableKernel: use-after-free after removing device in wb_inode_writeback_end in mm/page-writeback.c
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 17% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-416
Patching and mitigation
- Patch status
- Fix available (source: NVD (reference tagged Patch))
- Fix documented (source date)
- Mitigation
- Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Source (opens in a new tab)
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | Not documented | Not documented | CVE Program |
| linux | linux_kernel | from 5.15 before 5.15.164 | 5.15.164 | NIST NVD |
| linux | linux_kernel | from 5.16 before 5.19.6 | 5.19.6 | NIST NVD |
| linux | linux_kernel | 6.0 | Not documented | NIST NVD |
| linux | linux_kernel | 6.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 8.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 9.0 | Not documented | NIST NVD |
| Red Hat | Red Hat Enterprise Linux 6 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 7 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support (unaffected) | 0:4.18.0-372.87.1.el8_6 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Virtualization 4 for Red Hat Enterprise Linux 8 (unaffected) | 0:4.18.0-372.87.1.el8_6 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Patch
Fix documented by NVD (reference tagged Patch)
Vendor guidance and references
- RHSA-2024:0412 (opens in a new tab)third party advisory, vendor-advisory, x_refsource_redhat, x_transferred
- https://patchwork.kernel.org/project/linux-mm/patch/20220801155034.3772543-1-khazhy@google.com/ (opens in a new tab)mailing list, patch, x_transferred
- https://access.redhat.com/security/cve/CVE-2024-0562 (opens in a new tab)third party advisory, vdb-entry, x_refsource_redhat, x_transferred
- RHBZ#2258475 (opens in a new tab)issue tracking, issue-tracking, third party advisory, x_refsource_redhat, x_transferred