CVE-2026-139119

block: partitions/mac: compute the sectors in 64 bits

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

block: partitions/mac: compute the sectors in 64 bits

start_block and block_count are converted to 512 byte sectors in 32-bit
arithmetic, although put_partition() takes a sector_t. With a block size
above 512 bytes anything beyond 2TiB wraps and the partition lands on
top of another one.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Linux kernel block partitioning code for mac. The routine put_partition() converts the desired start block and block count into 512‑byte sectors using 32‑bit arithmetic, even though the parameters are 64‑bit sector_t values. When the block size exceeds 512 bytes and a partition is defined beyond the 2 TiB boundary, the arithmetic wrap causes the computed sector count to truncate, making the partition overlap an existing one. This results in data being written to the wrong storage area, potentially corrupting or exposing data from other partitions.

Affected Systems

The flaw appears in the Linux kernel source under the block subsystem, affecting all distributions that ship the unmodified kernel. No specific versions or vendor rectangles are listed, but the bug was fixed in a kernel commit referenced by the advisory links. Systems running older kernels that have not yet been updated remain vulnerable; any distribution using a kernel from before the patch is susceptible.

Risk and Exploitability

The CVSS score is not publicly available, and EPSS data is missing, so the precise likelihood of exploitation cannot be quantified. The defect is a local‑privilege bug: an attacker with access to configure or create partitions could trigger the overflow, but it would require boot‑time or device‑driver interaction rather than an external network attack. Because the kernel next step is to enforce the computed sectors, the resulting data corruption represents a denial of service or data integrity risk. The bug was not included in the CISA Known Exploited Vulnerabilities list, but any system that relies on this block partition logic should be patched promptly to eliminate the risk of accidental or malicious overlap.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fix for the 32‑bit sector loop in block:partitions/mac.
  • Reboot the system so the updated kernel takes effect.
  • Verify that no overlapping partitions exist by inspecting the partition table with tools such as fdisk or blkid; recreate or repair any that were corrupted.
  • Optionally, review the customization of block device sizes to ensure values stay within 2 TiB boundaries until the kernel is updated.

Generated by OpenCVE AI on November 30, 2026 at 19:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-190
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: block: partitions/mac: compute the sectors in 64 bits start_block and block_count are converted to 512 byte sectors in 32-bit arithmetic, although put_partition() takes a sector_t. With a block size above 512 bytes anything beyond 2TiB wraps and the partition lands on top of another one.
Title block: partitions/mac: compute the sectors in 64 bits
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM