CVE-2024-26720

Updated: 2024-05-08 06:13:20.756428

Description:

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)


Links NIST CIRCL RHEL Ubuntu

Severity

Severity Score
CVSS Version 2.x NONE 0
CVSS Version 3.x MEDIUM 5.5

Status

OS name Project name Version Score Severity Status Errata Last updated
AlmaLinux 9.2 ESU kernel 5.14.0 5.5 MEDIUM Ignored 2024-10-09 03:55:31
AlmaLinux 9.2 FIPS kernel 5.14.0 5.5 MEDIUM Ignored 2024-07-15 10:18:48
CentOS 6 ELS kernel 2.6.32 5.5 MEDIUM Ignored 2024-07-15 10:18:48
CentOS 7 ELS kernel 3.10.0 5.5 MEDIUM Ignored 2024-07-15 10:18:48
CentOS 8.4 ELS kernel 4.18.0 5.5 MEDIUM Released CLSA-2024:1727690947 2024-09-30 10:58:45
CentOS 8.5 ELS kernel 4.18.0 5.5 MEDIUM Released CLSA-2024:1727690025 2024-09-30 10:58:46
CentOS Stream 8 ELS kernel 4.18.0 5.5 MEDIUM Released CLSA-2024:1727815919 2024-10-01 17:41:14
CloudLinux 6 ELS kernel 2.6.32 5.5 MEDIUM Ignored 2024-07-15 10:18:48
CloudLinux 7 ELS kernel 3.10.0 5.5 MEDIUM Ignored 2024-09-11 12:12:20
Oracle Linux 6 ELS kernel 2.6.32 5.5 MEDIUM Ignored 2024-07-15 11:22:29
Total: 13