CVE-2026-64318 Details
Description
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 ARRAY_SIZE(pvd->ppe) (1016) entries, but the loop runs up to the on-disk pp_count. pp_count is an unvalidated __be16 read straight from the descriptor, so a crafted AIX image with pp_count 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 msdos_partition() -> aix_partition(). Clamp the scan to the number of entries the ppe[] array can hold.
A vulnerability in the Linux kernel's handling of AIX partition tables can lead to out-of-bounds memory access. This issue arises in the 'aix_partition' function, which reads the physical volume descriptor into a fixed-size structure and then scans its physical-partition-extent array. The problem occurs because the 'pp_count' value, which is read directly from the descriptor without validation, can be manipulated by a crafted AIX image. If 'pp_count' exceeds the actual size of the array, the function can read beyond the allocated memory, potentially leading to memory corruption. The vulnerability is triggered when a block device with a modified AIX partition table is accessed, either through an image attached with 'losetup' or a device auto-scanned by 'udev'.
The vulnerability has been fixed in the Linux kernel. Users should upgrade to the latest version of the stable kernel where this issue has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/09861651617ba0fec089e8b9477439e68398c110 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2dc0bfd2fe355fb930de63c2f2eb8ced8570c579 | kernel.org | Patch |
| https://git.kernel.org/stable/c/44f37ee92fdcd377c41bdf6a31cdd8cc7d4c410e | kernel.org | Patch |
| https://git.kernel.org/stable/c/4671bb74bba05fdd4acf670a35758c29e8c97b83 | kernel.org | Patch |
| https://git.kernel.org/stable/c/5eacdb1967378f5e5591cd27a2d8cdee2df1a599 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b5e9c09309e18fd9839ad007c238120353ca0cc4 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ce93228e2193a17d2c58b656e439bb39fe5c3af8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fd94a779020f2ecc8b2607f4c20b34acb1763b9a | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.11, < 5.10.261 >= 5.11, < 5.15.212 >= 5.16, < 6.1.178 >= 6.2, < 6.6.145 >= 6.7, < 6.12.96 >= 6.13, < 6.18.39 >= 6.19, < 7.1.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | Initial Analysis | [email protected] |
| Aug 17, 2026 | CVE Modified | kernel.org |
| Jul 27, 2026 | CVE Modified | kernel.org |
| Jul 25, 2026 | New CVE Received | kernel.org |