Medium [CVE-2026-53059] dm log: fix out-of-bounds write due to region_count overflow
This medium-severity Red Hat Linux advisory covers CVE-2026-53059 affecting Red Hat Enterprise Linux 10.0 Extended Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
In the Linux kernel, the following vulnerability has been resolved: dm log: fix out-of-bounds write due to region_count overflow The local variable region_count in create_log_context() is declared as unsigned int (32-bit), but dm_sector_div_up() returns sector_t (64-bit).
When a device-mapper target has a sufficiently large ti->len with a small region_size, the division result can exceed UINT_MAX. The truncated value is then used to calculate bitset_size, causing clean_bits, sync_bits, and recovering_bits to be allocated far smaller than needed for the actual number of regions.
Subsequent log operations (log_set_bit, log_clear_bit, log_test_bit) use region indices derived from the full untruncated region space, causing out-of-bounds writes to kernel heap memory allocated by vmalloc.
This can be reproduced by creating a mirror target whose region_count overflows 32 bits: dmsetup create bigzero --table '0 8589934594 zero' dmsetup create mymirror --table '0 8589934594 mirror \ core 2 2 nosync 2 /dev/mapper/bigzero 0 \ /dev/mapper/bigzero 0' The status output confirms the truncation (sync_count=1 instead of 4294967297, because 0x100000001 was truncated to 1): $ dmsetup status mymirror 0 8589934594 mirror 2 254:1 254:1 1/4294967297...
Affected versions
No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.
Official advisory · high-confidence parse· fetched 14 days ago·verify at source
- kernel-0:6.12.0-211.39.1.el10_2
- kernel-0:6.12.0-55.98.1.el10_0
- kernel-rt-0:4.18.0-553.147.1.rt7.488.el8_10
- kernel-0:4.18.0-553.147.1.el8_10
- kernel-0:4.18.0-305.200.1.el8_4
- kernel-0:4.18.0-372.206.1.el8_6
- kernel-0:4.18.0-477.158.1.el8_8
- kernel-0:5.14.0-687.30.1.el9_8
- kernel-0:5.14.0-284.188.1.el9_2
- kernel-rt-0:5.14.0-284.188.1.rt14.473.el9_2
- kernel-0:5.14.0-570.135.1.el9_6
- RHSA-2026:45114
- RHSA-2026:55445
- RHSA-2026:45116
- RHSA-2026:45115
- RHSA-2026:47248
- RHSA-2026:53989
- RHSA-2026:52649
- RHSA-2026:45192
- RHSA-2026:59662
- RHSA-2026:59663
- RHSA-2026:56574
Official advisory · high-confidence parse· fetched 14 days ago·verify at source
Mitigation
Upgrade to a fixed release: kernel-0:6.12.0-211.39.1.el10_2, kernel-0:6.12.0-55.98.1.el10_0, kernel-rt-0:4.18.0-553.147.1.rt7.488.el8_10, kernel-0:4.18.0-553.147.1.el8_10, kernel-0:4.18.0-305.200.1.el8_4, kernel-0:4.18.0-372.206.1.el8_6. That is the remediation for this advisory.
The vendor advisory may list additional interim mitigations or workarounds not captured here — review it before change work.
Official advisory · high-confidence parse· fetched 14 days ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.