Out-of-bounds read in Linux kernel - CVE-2025-40246

 

Out-of-bounds read in Linux kernel - CVE-2025-40246

Published: December 4, 2025


Vulnerability identifier: #VU119172
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-40246
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to an out-of-bounds read error within the xrep_symlink_salvage_inline() function in fs/xfs/scrub/symlink_repair.c. A local user can perform a denial of service (DoS) attack.


Affected software

Linux kernel
Ubuntu
linux (Ubuntu package)
linux-gcp-6.17 (Ubuntu package)
linux-realtime-6.17 (Ubuntu package)
linux-azure (Ubuntu package)
linux-raspi (Ubuntu package)
linux-oem-6.17 (Ubuntu package)

How to mitigate CVE-2025-40246

Install update from vendor's repository.

linux (Ubuntu package) - addressed in versions 6.17.0-19.19, 6.17.0-19.19~24.04.2, 6.17.0-1009.9, 6.17.0-1009.9~24.04.1, 6.17.0-1009.9~24.04.2
linux-gcp-6.17 (Ubuntu package) - addressed in versions 6.17.0-1008.9, 6.17.0-1009.9~24.04.3
linux-realtime-6.17 (Ubuntu package) - update to 6.17.0-1008.9~24.04.1
linux-azure (Ubuntu package) - addressed in versions 6.17.0-1010.10, 6.17.0-1010.10~24.04.1
linux-raspi (Ubuntu package) - update to 6.17.0-1010.10
linux-oem-6.17 (Ubuntu package) - update to 6.17.0-1017.17

External References

Related Security Bulletins