VDB

CVE-2026-64322

CVE-2026-64322 PUBLISHED CVSS 7.8 HIGH

udf: validate sparing table length as an entry count, not a byte count

Reported by linux · Published July 25, 2026

In the Linux kernel, the following vulnerability has been resolved: udf: validate sparing table length as an entry count, not a byte count udf_load_sparable_map() accepts a sparing table when sizeof(*st) + le16_to_cpu(st->reallocationTableLen) > sb->s_blocksize is false, i.e. it treats reallocationTableLen as a number of BYTES that must fit in the block. But the table is walked as an array of 8-byte sparingEntry elements: for (i = 0; i < le16_to_cpu(st->reallocationTableLen); i++) { struct sparingEntry *entry = &st->mapEntry[i]; ... entry->origLocation ... } in udf_get_pblock_spar15() and udf_relocate_blocks(). A reallocationTableLen of N therefore passes the check whenever sizeof(*st) + N <= blocksize, yet the consumers index sizeof(*st) + N * sizeof(struct sparingEntry) bytes -- up to ~8x the block. On a crafted UDF image this is an out-of-bounds read in udf_get_pblock_spar15(); udf_relocate_blocks() additionally feeds the same length to udf_update_tag(), whose crc_itu_t() reads far past the block, and its memmove() through st->mapEntry[] is an out-of-bounds write. Validate reallocationTableLen as the entry count it is, with struct_size().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-modules-extraAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.18-develAmazon Linux1:6.18.39-79.141.amzn2023
perfAmazon Linux1:6.1.180-225.360.amzn2023
kernel-livepatch-6.12.100-125.179Amazon Linux1:1.0-0.amzn2023
bpftool6.18Amazon Linux1:6.18.39-79.141.amzn2023
bpftoolAmazon Linux1:6.1.180-225.360.amzn2023
python3-perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.100-125.179.amzn2023
kernel6.18-headersAmazon Linux1:6.18.39-79.141.amzn2023
bpftool6.12Amazon Linux1:6.12.100-125.179.amzn2023
python3-perfAmazon Linux1:6.1.180-225.360.amzn2023
kernel6.18Amazon Linux1:6.18.39-79.141.amzn2023

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux1df2ae31c724e57be9d7ac00d78db8a5dabdd050, 1df2ae31c724e57be9d7ac00d78db8a5dabdd050, 1df2ae31c724e57be9d7ac00d78db8a5dabdd050
LinuxLinux3.5, 0, 5.10.261
amazon:2023kernel-modules-extra0
amazon:2023kernel6.18-devel0
amazon:2023perf0
amazon:2023kernel-livepatch-6.12.100-125.1790
amazon:2023bpftool6.180
amazon:2023bpftool0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-headers0
amazon:2023bpftool6.120
amazon:2023python3-perf0
amazon:2023kernel6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.120
amazon:2023kernel-tools0
amazon:2023kernel0
amazon:2023kernel-livepatch-6.18.39-79.1410
LinuxLinux7.2, *, 1df2ae31c724e57be9d7ac00d78db8a5dabdd050

…and 18 more

Timeline

  • Jul 25, 2026 EPSS Score (12 in total, the first dated here)
  • Jul 25, 2026 Coalition ESS Score
  • Jul 25, 2026 CVE Published
  • Jul 26, 2026 Security Advisory (20 in total, the first dated here)
  • Aug 9, 2026 CVE Updated
  • Aug 12, 2026 Distribution Patch (21 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64322
vulnetix vdb fixes CVE-2026-64322

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64322/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›