CVE-2024-26720: mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again

Published Apr 3, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm/writeback: fix possible divide-by-zero in wbdirtylimits(), again

The Linux kernel CVE team has assigned CVE-2024-26720 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024040344-CVE-2024-26720-06fa@gregkh/T

Other sources

In the Linux kernel, the following vulnerability has been resolved: mm/writeback: fix possible divide-by-zero in wbdirtylimits(), again (struct dirtythrottlecontrol )->thresh is an unsigned long, but is passed as the u32 divisor argument to divu64(). On architectures where unsigned long is 64 bytes, the argument will be implicitly truncated. Use div64u64() instead of divu64() 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 domaindritylimits() uses, but is much easier in global writeback domain with a BDICAPSTRICTLIMIT-backing device, using e.g. vm.dirtybytes=(1<<32)PAGESIZE so that dtc->thresh == (1<<32)

Launchpad

Rejected reason: This CVE ID has been rejected or withdrawn by its CVE Numbering Authority.

NVD

Affected Software

12 affected componentsFixes available
redhat/kernel<4.19.307
4.19.307
redhat/kernel<5.4.269
5.4.269
redhat/kernel<5.10.210
5.10.210
redhat/kernel<5.15.149
5.15.149
redhat/kernel<6.1.79
6.1.79
redhat/kernel<6.6.18
6.6.18
redhat/kernel<6.7.6
6.7.6
redhat/kernel<6.8
6.8
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

Apr 3, 2024
CVE Published
via MITRE·02:55 PM
Rejected
via MITRE·02:55 PM
Data Sourced
via NVD·03:15 PM
Description
Data Sourced
via Red Hat·11:17 PM
DescriptionSeverityAffected Software
May 7, 2024
Data Sourced
via Launchpad·08:29 PM
Description
Dec 19, 2024
Rejected
via MITRE·11:15 AM
Dec 21, 2024
Data Sourced
via Debian·09:21 PM
DescriptionAffected Software
Apr 29, 2025
Data Sourced
via Ubuntu·06:12 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-26720?

CVE-2024-26720 is classified as a low severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-26720?

To resolve CVE-2024-26720, you should update your Linux kernel to versions 4.19.307, 5.4.269, 5.10.210, 5.15.149, 6.1.79, 6.6.18, 6.7.6, or 6.8.

3

Which software is affected by CVE-2024-26720?

CVE-2024-26720 affects various versions of the Linux kernel as identified in the affected software list.

4

What can occur due to CVE-2024-26720?

CVE-2024-26720 may lead to a divide-by-zero error in the wb_dirty_limits() function.

5

Is CVE-2024-26720 patched?

Yes, CVE-2024-26720 has been resolved in the latest kernel updates.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203