{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"
            },
            {
              "fixed": "8dd4d1f8f052ae5156c19c552285aaec92557626"
            },
            {
              "fixed": "c39f4ac239381969140fc4e115c9ede418846ebe"
            },
            {
              "fixed": "4e8faf6e16e77854ff6c594565387d5ed1ff3fb2"
            },
            {
              "fixed": "01a81e1de660c69e8ec699c5cce16984ce8bc940"
            },
            {
              "fixed": "c48b839c32a3f45e1cdfe86ab21be2585f3420bd"
            },
            {
              "fixed": "7e3801d12ebabaa3db6e2685ccc80b6e6f6d1ff7"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.12"
            },
            {
              "fixed": "5.10.276"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.227"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143295.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nblock: partitions: reject GPT entries with starting_lba \u003e ending_lba\n\nA GPT entry whose starting_lba is greater than its ending_lba is accepted,\nand the kernel creates a partition with a bogus size. The bogus sector\ncount defeats the end-of-device check, so I/O through that partition is not\nconfined to it and can access sectors outside the partition on the same\ndisk.\n\nis_pte_valid() only rejects an entry when its type is NULL or when\nstarting_lba or ending_lba is greater than lastlba; it never checks that\nstarting_lba \u003c= ending_lba. For a reversed entry both field checks still\npass, but efi_partition() computes size = ending_lba - starting_lba + 1 in\nu64, which underflows to a huge value. That value also wraps in the\nend-of-device check in blk_add_partition() (from + size) and does not fit\nthe signed i_size, which turns negative.\n\nReject entries with starting_lba \u003e ending_lba in is_pte_valid(), matching\nthe head-level check against last_usable_lba \u003c first_usable_lba.",
  "id": "CVE-2026-143295",
  "modified": "2026-12-03T10:46:00.684675331Z",
  "published": "2026-12-03T09:21:29.162Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/01a81e1de660c69e8ec699c5cce16984ce8bc940"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4e8faf6e16e77854ff6c594565387d5ed1ff3fb2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7e3801d12ebabaa3db6e2685ccc80b6e6f6d1ff7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8dd4d1f8f052ae5156c19c552285aaec92557626"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c39f4ac239381969140fc4e115c9ede418846ebe"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c48b839c32a3f45e1cdfe86ab21be2585f3420bd"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143295.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143295"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "block: partitions: reject GPT entries with starting_lba \u003e ending_lba"
}