CVE-2026-64318

Source
https://cve.org/CVERecord?id=CVE-2026-64318
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64318.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64318
Downstream
Related
Published
2026-07-25T08:49:47.690Z
Modified
2026-09-05T03:31:10.353272444Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
partitions: aix: bound the pp_count scan to the ppe array
Details

In the Linux kernel, the following vulnerability has been resolved:

partitions: aix: bound the pp_count scan to the ppe array

aix_partition() reads the physical volume descriptor into a fixed-size struct pvd and then scans its physical-partition-extent array:

int numpps = be16_to_cpu(pvd->pp_count);
...
for (i = 0; i < numpps; i += 1) {
    struct ppe *p = pvd->ppe + i;
    ...
    lp_ix = be16_to_cpu(p->lp_ix);

pvd points at a single kmalloc()'d struct pvd whose ppe[] member holds a fixed ARRAYSIZE(pvd->ppe) (1016) entries, but the loop runs up to the on-disk ppcount. pp_count is an unvalidated _be16 read straight from the descriptor, so a crafted AIX image with ppcount larger than 1016 drives the loop to read pvd->ppe[i] past the end of the allocation (up to 65535 entries, ~2 MB out of bounds).

The partition scan runs without mounting anything, when a block device with a crafted AIX/IBM partition table appears (an attacker-supplied image attached with losetup -P, or a device auto-scanned by udev), via msdospartition() -> aixpartition().

Clamp the scan to the number of entries the ppe[] array can hold.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64318.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ceea22bbbc84fcf6bf0913bb3db8a657e9002f6
Fixed
09861651617ba0fec089e8b9477439e68398c110
Fixed
5eacdb1967378f5e5591cd27a2d8cdee2df1a599
Fixed
b5e9c09309e18fd9839ad007c238120353ca0cc4
Fixed
fd94a779020f2ecc8b2607f4c20b34acb1763b9a
Fixed
4671bb74bba05fdd4acf670a35758c29e8c97b83
Fixed
ce93228e2193a17d2c58b656e439bb39fe5c3af8
Fixed
44f37ee92fdcd377c41bdf6a31cdd8cc7d4c410e
Fixed
2dc0bfd2fe355fb930de63c2f2eb8ced8570c579

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64318.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.11.0
Fixed
5.10.261
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.212
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64318.json"