CVE-2026-64317
Received Received - Intake

Out-of-Bounds Read in Linux Kernel ISOFS Rock Ridge Symlink Handling

Vulnerability report for CVE-2026-64317, 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: isofs: bound Rock Ridge symlink components to the SL record get_symlink_chunk() and the SL handling in parse_rock_ridge_inode_internal() walk the variable-length components of a Rock Ridge "SL" (symbolic link) record. Each component is a two-byte header (flags, len) followed by len bytes of text, so it occupies slp->len + 2 bytes. Both loops read slp->len and advance to the next component, and get_symlink_chunk() additionally does memcpy(rpnt, slp->text, slp->len), but neither checks that the component lies within the SL record before dereferencing it. A crafted SL record whose component declares a len that runs past the record (rr->len) therefore triggers an out-of-bounds read of up to 255 bytes. When the record sits at the tail of its backing buffer - for example a small kmalloc()ed continuation block reached through a CE record - the read crosses the allocation; get_symlink_chunk() then copies the out-of-bounds bytes into the symlink body returned to user space by readlink(), disclosing adjacent kernel memory. ISO 9660 images are routinely mounted from untrusted removable media - desktop environments auto-mount them (e.g. via udisks2) without CAP_SYS_ADMIN - so the record contents are attacker-controlled. Reject any component that does not fit in the remaining record bytes before using it. In get_symlink_chunk() return NULL, like the existing output-buffer (plimit) checks, so a malformed record makes readlink() fail with -EIO rather than silently returning a truncated target; in parse_rock_ridge_inode_internal() stop the inode-size walk.

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 is a vulnerability in the Linux kernel's isofs module related to handling Rock Ridge symbolic link records. It involves an out-of-bounds read where crafted data can cause the kernel to read beyond the intended memory area, potentially exposing sensitive kernel memory to userspace.

Detection Guidance

This vulnerability is specific to the Linux kernel's ISO9660 filesystem handling. Detection requires checking the kernel version and filesystem mount logs. Use 'uname -a' to check kernel version and 'dmesg | grep iso9660' to look for filesystem errors. Mounting untrusted ISO images may trigger this issue.

Impact Analysis

An attacker could exploit this by providing a maliciously crafted ISO 9660 image. If mounted, this could lead to information disclosure where kernel memory contents are leaked to userspace. This could expose sensitive data or system information.

Mitigation Strategies

Update the Linux kernel to the latest patched version. Avoid mounting untrusted ISO images until patched. If mounting is necessary, use 'mount -o ro,noexec,nosuid' to limit exposure. Monitor filesystem logs for errors related to Rock Ridge symlinks.

Chat Assistant

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

EPSS Chart