Security Resilience

CVE-2024-42102

Linux Kernel 4.19.307 – 4.19.318

Published
30 July 2024
Modified
03 November 2025
Patch / advisory
CVSS Score v3.1 4.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0026 17th percentile
Risk Priority 36 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-42102 is a medium-severity Divide By Zero (CWE-369) vulnerability in Linux Kernel. Its CVSS base score is 4.7 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 17th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-56622Same product: Linux Linux Kernel
CVE-2024-36969Same product: Linux Linux Kernel
CVE-2024-26945Same product: Linux Linux Kernel
CVE-2024-39475Same product: Linux Linux Kernel
CVE-2026-46161Same product: Linux Linux Kernel
CVE-2024-50232Same product: Linux Linux Kernel
CVE-2024-57919Same product: Linux Linux Kernel
CVE-2026-43354Same product: Linux Linux Kernel
CVE-2026-45889Same product: Linux Linux Kernel
CVE-2026-31770Same product: Linux Linux Kernel

Affected Assets

linux
linux kernel
4.19.307 — 4.19.318 · 5.4.269 — 5.4.280 · 5.10.210 — 5.10.222

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation (including static/dynamic analysis) finds divide-by-zero conditions after they have been coded.

Security engineering principles can require safe-arithmetic constructs or explicit guards that keep division operands nonzero.

Validating numeric inputs before use as divisors structurally blocks zero values from reaching division operations.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly include code analysis, input validation, and testing that prevent divide-by-zero errors.

ID.RA-01 partial match
blocks

Vulnerability identification processes can discover divide-by-zero flaws via static analysis or testing.

PR.PS-02 partial match
blocks

Routine patching and replacement can remediate divide-by-zero bugs present in deployed software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect divide-by-zero conditions before release.

prevents

Secure coding standards directly require validation to prevent divide-by-zero and similar runtime faults.

prevents

A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary implementation bugs like divide-by-zero in delivered code the way those practices do, but only partially because the clause depends on those other controls and human practice is fallible.

finds

A.8.8's reach is DISCLOSURE — it sees vulnerabilities via vendor advisories and component inventory. CWE-369 does commonly surface as CVEs (CVE-2007-3268, CVE-2007-2723, CVE-2007-2237 are listed observed examples), so the disclosed share is non-trivial, but the bulk of divide-by-zero instances live in first-party code that A.8.8's disclosure-based programme does not reach.

References