Revert "mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again"
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 10 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-369.
Summary
In the Linux kernel, the following vulnerability has been resolved: Revert "mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again" Patch series "mm: Avoid possible overflows in dirty throttling". Dirty throttling logic assumes dirty limits in page units fit into 32-bits. This patch series makes sure this is true (see patch 2/2 for more details). This patch (of 2): This reverts commit 9319b647902cbd5cc884ac08a8a6d54ce111fc78. The commit is broken in several ways. Firstly, the removed (u64) cast from the multiplication will introduce a multiplication overflow on 32-bit archs if wb_thresh * bg_thresh >= 1<<32 (which is actually common - the default settings with 4GB of RAM will trigger this). Secondly, the div64_u64() is unnecessarily expensive on 32-bit archs. We have div64_ul() in case we want to be safe & cheap. Thirdly, if dirty thresholds are larger than 1<<32 pages, then dirty balancing is going to blow up in many other spectacular ways anyway so trying to fix one possible overflow is just moot.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.19.307 to before 4.19.318; 5.4.269 to before 5.4.280; 5.10.210 to before 5.10.222; 5.15.149 to before 5.15.163; 6.1.79 to before 6.1.98; 6.6.18 to before 6.6.39; 6.7.6 to before 6.8 | 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.8 | Patch available | CNA |
| Linux | Linux | 6.8 and later | 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.9.9, 6.10 | Patch available | CNA |
- Linux VendorLinux Affected 4.19.307 to before 4.19.318; 5.4.269 to before 5.4.280; 5.10.210 to before 5.10.222; 5.15.149 to before 5.15.163; 6.1.79 to before 6.1.98; 6.6.18 to before 6.6.39; 6.7.6 to before 6.8 Fixed in 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.8 Patch available CNA
- Linux VendorLinux Affected 6.8 and later Fixed in 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.9.9, 6.10 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.19.307 to before 4.19.318; 5.4.269 to before 5.4.280; 5.10.210 to before 5.10.222; 5.15.149 to before 5.15.163; 6.1.79 to before 6.1.98; 6.6.18 to before 6.6.39; 6.8 to before 6.9.9 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.19.307 to before 4.19.318; 5.4.269 to before 5.4.280; 5.10.210 to before 5.10.222; 5.15.149 to before 5.15.163; 6.1.79 to before 6.1.98; 6.6.18 to before 6.6.39; 6.8 to before 6.9.9 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.8
- Fix · CNA Linux (Linux) Fixed in 4.19.318, 5.4.280, 5.10.222, 5.15.163, 6.1.98, 6.6.39, 6.9.9, 6.10
Red Hat 3 advisories
- RHSA-2024:6567 Released 2024-09-11 · Red Hat rating Moderatekernel security update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-427.35.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.35.1.el9_4, kernel-64k-devel-5.14.0-427.35.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.3.0-427.35.1.el9_4, kernel-5.14.0-427.35.1.el9_4, kernel-64k-5.14.0-427.35.1.el9_4 +29
- Red Hat Enterprise Linux CRB (v. 9) kernel-tools-libs-devel-5.14.0-427.35.1.el9_4, libperf-5.14.0-427.35.1.el9_4
- Red Hat Enterprise Linux NFV (v. 9) kernel-rt-5.14.0-427.35.1.el9_4, kernel-rt-core-5.14.0-427.35.1.el9_4, kernel-rt-debug-5.14.0-427.35.1.el9_4 +11
- Red Hat Enterprise Linux RT (v. 9) kernel-rt-5.14.0-427.35.1.el9_4, kernel-rt-core-5.14.0-427.35.1.el9_4, kernel-rt-debug-5.14.0-427.35.1.el9_4 +9
- RHSA-2024:6267 Released 2024-09-04 · Red Hat rating Moderatekernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-tools-libs-devel-5.14.0-284.82.1.el9_2
- Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-64k-debug-devel-5.14.0-284.82.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.82.1.el9_2, kernel-64k-devel-5.14.0-284.82.1.el9_2 +9
- Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool-7.0.0-284.82.1.el9_2, kernel-5.14.0-284.82.1.el9_2, kernel-64k-5.14.0-284.82.1.el9_2 +29
- RHSA-2024:6268 Released 2024-09-04 · Red Hat rating Moderatekernel-rt security update
- Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt-5.14.0-284.82.1.rt14.367.el9_2, kernel-rt-core-5.14.0-284.82.1.rt14.367.el9_2, kernel-rt-debug-5.14.0-284.82.1.rt14.367.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt-5.14.0-284.82.1.rt14.367.el9_2, kernel-rt-core-5.14.0-284.82.1.rt14.367.el9_2, kernel-rt-debug-5.14.0-284.82.1.rt14.367.el9_2 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder EUS (v.9.2) | Fixed | RHSA-2024:6267 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:6567 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:6267 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:6567 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.2) | Fixed | RHSA-2024:6267 |
| Red Hat Enterprise Linux CRB (v. 9) | Fixed | RHSA-2024:6567 |
| Red Hat Enterprise Linux NFV (v. 9) | Fixed | RHSA-2024:6567 |
| Red Hat Enterprise Linux RT (v. 9) | Fixed | RHSA-2024:6567 |
| Red Hat Enterprise Linux Real Time EUS (v.9.2) | Fixed | RHSA-2024:6268 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) | Fixed | RHSA-2024:6268 |
Not affected: 2 products
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux AppStream EUS (v.9.2)
Timeline
- 2026-10-02 Threatist record created from CVE-2024-42102
- 2026-10-03 Alias added: GHSA-3cf4-3gwv-8jwp
- 2026-11-05 Affected versions changed · Red Hat
References
Patch 8
- https://git.kernel.org/stable/c/253f9ea7e8e53a5176bd80ceb174907b10724c1a
- https://git.kernel.org/stable/c/23a28f5f3f6ca1e4184bd0e9631cd0944cf1c807
- https://git.kernel.org/stable/c/145faa3d03688cbb7bbaaecbd84c01539852942c
- https://git.kernel.org/stable/c/2820005edae13b140f2d54267d1bd6bb23915f59
- https://git.kernel.org/stable/c/cbbe17a324437c0ff99881a3ee453da45b228a00
- https://git.kernel.org/stable/c/f6620df12cb6bdcad671d269debbb23573502f9d
- https://git.kernel.org/stable/c/000099d71648504fb9c7a4616f92c2b70c3e44ec
- https://git.kernel.org/stable/c/30139c702048f1097342a31302cbd3d478f50c63
More Linux Kernel vulnerabilities
- 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
Sources
- CVE-2024-42102 · CVE Program
- CVE-2024-42102 · NVD
- FIRST EPSS
- GHSA-3cf4-3gwv-8jwp · GitHub Advisory Database · CC BY 4.0
- CVE-2024-42102 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences