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… (CVE-2026-53059)
A vulnerability in the Linux kernel's device-mapper log component (dm_log) was identified and resolved. The issue arises from an out-of-bounds write caused by an overflow in the region_count variable due to truncation of a 64-bit division result to a 32-bit unsigned integer. This leads to insufficient memory allocation for bitsets and subsequent kernel heap memory corruption during log operations. The flaw can cause kernel crashes when handling very large device-mapper targets with small region sizes. The vulnerability has been fixed by widening the region_count variable to 64 bits and adding an explicit overflow check.
AI Analysis
Technical Summary
The Linux kernel's dm_log component had a vulnerability where the local variable region_count, declared as a 32-bit unsigned int, was assigned a truncated 32-bit value from a 64-bit division result (sector_t) when calculating the number of regions for device-mapper targets. This truncation caused the allocated bitsets (clean_bits, sync_bits, recovering_bits) to be smaller than required, leading to out-of-bounds writes during log operations that use full 64-bit region indices. This memory corruption can cause kernel crashes, as demonstrated by creating a mirror target with a region_count overflow. The fix involved changing region_count to sector_t and adding an overflow check before assignment.
Potential Impact
The vulnerability can cause out-of-bounds writes to kernel heap memory, leading to kernel crashes and potential denial of service. The CVSS 3.1 vector rates it as high severity with impact on confidentiality, integrity, and availability (C:H/I:H/A:H). There is no indication of known exploits in the wild. The flaw affects systems using device-mapper targets with very large sizes and small region sizes, which can trigger the overflow condition.
Mitigation Recommendations
A security update fixing this vulnerability is available from Red Hat for Red Hat Enterprise Linux 8.4 Extended Life Cycle and AUS variants. The fix includes widening the region_count variable and adding overflow checks. Users should apply the kernel update provided in Red Hat advisory RHSA-2026:47248 and reboot the system to activate the patch. Red Hat recommends treating this kernel update as security-relevant and applying it promptly. Patch status is confirmed as available via the vendor advisory.
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… (CVE-2026-53059)
Description
A vulnerability in the Linux kernel's device-mapper log component (dm_log) was identified and resolved. The issue arises from an out-of-bounds write caused by an overflow in the region_count variable due to truncation of a 64-bit division result to a 32-bit unsigned integer. This leads to insufficient memory allocation for bitsets and subsequent kernel heap memory corruption during log operations. The flaw can cause kernel crashes when handling very large device-mapper targets with small region sizes. The vulnerability has been fixed by widening the region_count variable to 64 bits and adding an explicit overflow check.
CVSS v3.1
Score 7.0high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's dm_log component had a vulnerability where the local variable region_count, declared as a 32-bit unsigned int, was assigned a truncated 32-bit value from a 64-bit division result (sector_t) when calculating the number of regions for device-mapper targets. This truncation caused the allocated bitsets (clean_bits, sync_bits, recovering_bits) to be smaller than required, leading to out-of-bounds writes during log operations that use full 64-bit region indices. This memory corruption can cause kernel crashes, as demonstrated by creating a mirror target with a region_count overflow. The fix involved changing region_count to sector_t and adding an overflow check before assignment.
Potential Impact
The vulnerability can cause out-of-bounds writes to kernel heap memory, leading to kernel crashes and potential denial of service. The CVSS 3.1 vector rates it as high severity with impact on confidentiality, integrity, and availability (C:H/I:H/A:H). There is no indication of known exploits in the wild. The flaw affects systems using device-mapper targets with very large sizes and small region sizes, which can trigger the overflow condition.
Mitigation Recommendations
A security update fixing this vulnerability is available from Red Hat for Red Hat Enterprise Linux 8.4 Extended Life Cycle and AUS variants. The fix includes widening the region_count variable and adding overflow checks. Users should apply the kernel update provided in Red Hat advisory RHSA-2026:47248 and reboot the system to activate the patch. Red Hat recommends treating this kernel update as security-relevant and applying it promptly. Patch status is confirmed as available via the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vj88-ppr4-hj46
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53059"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6ae5599c2644c7f89a91f3
Added to database: 07/30/2026, 05:47:05 UTC
Last enriched: 07/30/2026, 07:26:31 UTC
Last updated: 07/31/2026, 19:24:49 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.