CVE-2026-64322
Received Received - Intake

Buffer Overflow in Linux Kernel UDF Filesystem

Vulnerability report for CVE-2026-64322, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-25

Last updated on: 2026-07-25

Assigner: kernel.org

Description

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().

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-25
Last Modified
2026-07-25
Generated
2026-07-25
AI Q&A
2026-07-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves incorrect validation of a sparing table length in the UDF filesystem. The code mistakenly treats the reallocationTableLen field as a byte count rather than an entry count, leading to potential out-of-bounds memory access. This can cause crashes or arbitrary code execution when processing crafted UDF images.

Detection Guidance

This vulnerability affects the Linux kernel's UDF file system module. Detection requires checking for kernel versions with the vulnerable code. Use uname -a to check your kernel version and grep for UDF-related modules with lsmod | grep udf. If the kernel is vulnerable, update it immediately.

Impact Analysis

If exploited, this vulnerability could allow an attacker to crash the system or execute arbitrary code with kernel privileges by providing a maliciously crafted UDF filesystem image. This could lead to data loss, unauthorized access, or denial of service on affected systems.

Mitigation Strategies

Update your Linux kernel to the latest stable version to ensure the vulnerability is patched. Avoid mounting untrusted UDF images until the kernel is updated. Monitor vendor advisories for kernel updates.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-64322. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart