CVE-2026-143295
- CVE-2026-143295
- GHSA-cgch-p69j-c74c
- EUVD-2026-142945
Description
In the Linux kernel, the following vulnerability has been resolved: block: partitions: reject GPT entries with starting_lba > ending_lba A GPT entry whose starting_lba is greater than its ending_lba is accepted, and the kernel creates a partition with a bogus size. The bogus sector count defeats the end-of-device check, so I/O through that partition is not confined to it and can access sectors outside the partition on the same disk. is_pte_valid() only rejects an entry when its type is NULL or when starting_lba or ending_lba is greater than lastlba; it never checks that starting_lba <= ending_lba. For a reversed entry both field checks still pass, but efi_partition() computes size = ending_lba - starting_lba + 1 in u64, which underflows to a huge value. That value also wraps in the end-of-device check in blk_add_partition() (from + size) and does not fit the signed i_size, which turns negative. Reject entries with starting_lba > ending_lba in is_pte_valid(), matching the head-level check against last_usable_lba < first_usable_lba.
Text from the ENISA EUVD record.
Affected
Linux
Affected versions Fixed in 2.6.12 none stated 7.4-rc2: not affected none stated 0: not affected none stated 6.18.66: not affected none stated 5.15.227: not affected none stated 7.3.7: not affected none stated 6.12.120: not affected none stated 5.10.276: not affected none stated
Product versions from the ENISA EUVD record.
Timeline
- Published
- Withdrawn
Related news
No article from the followed outlets names this vulnerability.