{
  "id": "CVE-2026-64318",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-64318",
  "published_at": "2026-07-25T08:49:47.69Z",
  "title": "partitions: aix: bound the pp_count scan to the ppe array",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\npartitions: aix: bound the pp_count scan to the ppe array\n\naix_partition() reads the physical volume descriptor into a fixed-size\nstruct pvd and then scans its physical-partition-extent array:\n\n\tint numpps = be16_to_cpu(pvd-\u003epp_count);\n\t...\n\tfor (i = 0; i \u003c numpps; i += 1) {\n\t\tstruct ppe *p = pvd-\u003eppe + i;\n\t\t...\n\t\tlp_ix = be16_to_cpu(p-\u003elp_ix);\n\npvd points at a single kmalloc()'d struct pvd whose ppe[] member holds a\nfixed ARRAY_SIZE(pvd-\u003eppe) (1016) entries, but the loop runs up to the\non-disk pp_count.  pp_count is an unvalidated __be16 read straight from\nthe descriptor, so a crafted AIX image with pp_count larger than 1016\ndrives the loop to read pvd-\u003eppe[i] past the end of the allocation (up\nto 65535 entries, ~2 MB out of bounds).\n\nThe partition scan runs without mounting anything, when a block device\nwith a crafted AIX/IBM partition table appears (an attacker-supplied\nimage attached with losetup -P, or a device auto-scanned by udev), via\nmsdos_partition() -\u003e aix_partition().\n\nClamp the scan to the number of entries the ppe[] array can hold.",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6, \u003c 09861651617ba0fec089e8b9477439e68398c110",
          "\u003e= 6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6, \u003c 5eacdb1967378f5e5591cd27a2d8cdee2df1a599",
          "\u003e= 6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6, \u003c b5e9c09309e18fd9839ad007c238120353ca0cc4",
          "\u003e= 6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6, \u003c fd94a779020f2ecc8b2607f4c20b34acb1763b9a",
          "\u003e= 6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6, \u003c 4671bb74bba05fdd4acf670a35758c29e8c97b83",
          "\u003e= 6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6, \u003c ce93228e2193a17d2c58b656e439bb39fe5c3af8",
          "\u003e= 6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6, \u003c 44f37ee92fdcd377c41bdf6a31cdd8cc7d4c410e",
          "\u003e= 6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6, \u003c 2dc0bfd2fe355fb930de63c2f2eb8ced8570c579"
        ],
        "fixed_in": [
          "09861651617ba0fec089e8b9477439e68398c110",
          "5eacdb1967378f5e5591cd27a2d8cdee2df1a599",
          "b5e9c09309e18fd9839ad007c238120353ca0cc4",
          "fd94a779020f2ecc8b2607f4c20b34acb1763b9a",
          "4671bb74bba05fdd4acf670a35758c29e8c97b83",
          "ce93228e2193a17d2c58b656e439bb39fe5c3af8",
          "44f37ee92fdcd377c41bdf6a31cdd8cc7d4c410e",
          "2dc0bfd2fe355fb930de63c2f2eb8ced8570c579"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.11"
        ],
        "fixed_in": [
          "0",
          "5.10.261",
          "5.15.212",
          "6.1.178",
          "6.6.145",
          "6.12.96",
          "6.18.39",
          "7.1.4",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 09861651617ba0fec089e8b9477439e68398c110 or 5eacdb1967378f5e5591cd27a2d8cdee2df1a599 or b5e9c09309e18fd9839ad007c238120353ca0cc4 or fd94a779020f2ecc8b2607f4c20b34acb1763b9a or 4671bb74bba05fdd4acf670a35758c29e8c97b83 or ce93228e2193a17d2c58b656e439bb39fe5c3af8 or 44f37ee92fdcd377c41bdf6a31cdd8cc7d4c410e or 2dc0bfd2fe355fb930de63c2f2eb8ced8570c579 or later.",
      "Upgrade Linux to 0 or 5.10.261 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.96 or 6.18.39 or 7.1.4 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
