CVE-2026-143295
not scored yetblock: partitions: reject GPT entries with starting_lba > ending_lba
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.
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8dd4d1f8f052ae5156c19c552285aaec92557626; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c39f4ac239381969140fc4e115c9ede418846ebe; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4e8faf6e16e77854ff6c594565387d5ed1ff3fb2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 01a81e1de660c69e8ec699c5cce16984ce8bc940; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c48b839c32a3f45e1cdfe86ab21be2585f3420bd; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 7e3801d12ebabaa3db6e2685ccc80b6e6f6d1ff7 | 8dd4d1f8f052ae5156c19c552285aaec92557626, c39f4ac239381969140fc4e115c9ede418846ebe, 4e8faf6e16e77854ff6c594565387d5ed1ff3fb2, 01a81e1de660c69e8ec699c5cce16984ce8bc940, c48b839c32a3f45e1cdfe86ab21be2585f3420bd, 7e3801d12ebabaa3db6e2685ccc80b6e6f6d1ff7 |
| CVE List | Linux | Linux | = 2.6.12 |
References
- https://git.kernel.org/stable/c/01a81e1de660c69e8ec699c5cce16984ce8bc940
- https://git.kernel.org/stable/c/4e8faf6e16e77854ff6c594565387d5ed1ff3fb2
- https://git.kernel.org/stable/c/7e3801d12ebabaa3db6e2685ccc80b6e6f6d1ff7
- https://git.kernel.org/stable/c/8dd4d1f8f052ae5156c19c552285aaec92557626
- https://git.kernel.org/stable/c/c39f4ac239381969140fc4e115c9ede418846ebe
- https://git.kernel.org/stable/c/c48b839c32a3f45e1cdfe86ab21be2585f3420bd
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)