CVE-2025-40246: Linux kernel · xfs: fix out of bounds memory read error in symlink repair
Source GCVE Database
Not known to be exploited.
Data as of 25 Nov 2026, 03:38 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
AI-suggested
A fix for this vulnerability has been implemented in the Linux kernel source code. Users and administrators should update to the fixed kernel version once it is released. No other mitigation or workaround is indicated.
Description
CVE-2025-40246 is a vulnerability in the Linux kernel's XFS filesystem code involving an out-of-bounds memory read error during symlink repair. The flaw occurs due to incorrect handling of buffer sizes when repairing symbolic links, leading to reading beyond allocated memory. This issue has been identified and fixed in the kernel source code.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40246 (opens in a new tab)
- git.kernel.org/stable/c/678e1cc2f482e0985a0613ab4a5bf89c497e5acc (opens in a new tab)
- git.kernel.org/stable/c/7c2d68e091584149fe89bcbaf9b99b3162d46ee7 (opens in a new tab)
- git.kernel.org/stable/c/81a8685cac4bf081c93a7df591644f4f80240bb9 (opens in a new tab)