CVE-2024-26720

    Dashboard / Vulnerabilities / CVE-2024-26720

    CVE-2024-26720

    Published: 3 Apr 2024Last Modified: 5 Feb 2026

    Summary:

    Details: In the Linux kernel, the following vulnerability has been resolved: mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again (struct dirty_throttle_control *)->thresh is an unsigned long, but is passed as the u32 divisor argument to div_u64(). On architectures where unsigned long is 64 bytes, the argument will be implicitly truncated. Use div64_u64() instead of div_u64() so that the value used in the "is this a safe division" check is the same as the divisor. Also, remove redundant cast of the numerator to u64, as that should happen implicitly. This would be difficult to exploit in memcg domain, given the ratio-based arithmetic domain_drity_limits() uses, but is much easier in global writeback domain with a BDI_CAP_STRICTLIMIT-backing device, using e.g. vm.dirty_bytes=(1<<32)*PAGE_SIZE so that dtc->thresh == (1<<32)

    Affected packages

    Package

    Name: linux

    Purl: pkg:deb/debian/linux?arch=source

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -5.10.216-1

    Affected versions

    5.10.103-1
    5.10.103-1~bpo10+1
    5.10.106-1
    5.10.113-1
    5.10.120-1
    5.10.120-1~bpo10+1
    5.10.127-1
    5.10.127-2
    5.10.127-2~bpo10+1
    5.10.136-1
    5.10.140-1
    5.10.148-1
    5.10.149-1
    5.10.149-2
    5.10.158-1
    5.10.158-2
    5.10.162-1
    5.10.178-1
    5.10.178-2
    5.10.178-3
    5.10.179-1
    5.10.179-2
    5.10.179-3
    5.10.179-4
    5.10.179-5
    5.10.191-1
    5.10.197-1
    5.10.205-1
    5.10.205-2
    5.10.209-1
    5.10.209-2
    5.10.46-4
    5.10.46-5
    5.10.70-1
    5.10.70-1~bpo10+1
    5.10.84-1
    5.10.92-1
    5.10.92-1~bpo10+1
    5.10.92-2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2024-26720 | CVE-DB