Out-of-bounds Read Affecting torvalds/linux package, versions [4.11,6.1.158)[6.2,6.6.114)[6.7,6.12.55)[6.13,6.17.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.41% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TORVALDSLINUX-20700588
  • published10 Oct 2026
  • disclosed30 Oct 2025
  • creditUnknown

Introduced: 30 Oct 2025

CVE-2025-40099  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade torvalds/linux to version 6.1.158, 6.6.114, 6.12.55, 6.17.5 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the parse_dfs_referrals function when processing a malformed FSCTL_DFS_GET_REFERRALS reply from a remote SMB server. An attacker can cause out-of-bounds reads of kernel heap memory and limited corruption of kernel-side data by sending a specially crafted response with manipulated referral counts and buffer lengths. This can result in exposure of sensitive kernel memory contents to local users and may lead to kernel crashes, especially on systems with limited memory or hardened allocators.

Note: The Linux kernel project assigns a CVE to every bug fix it ships, whether or not the bug has been shown to be exploitable. This advisory was generated from that process and has not been individually assessed for exploitability. See the kernel's CVE process documentation: https://github.com/torvalds/linux/blob/master/Documentation/process/cve.rst

CVSS Base Scores

version 4.0
version 3.1