What’s Vulnerable › Vulnerabilities
CVE-2024-54456: NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client()
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-27 · updated 2026-08-04
- Weakness: CWE-787
Description
In the Linux kernel, the following vulnerability has been resolved: NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client() name is char[64] where the size of clnt->cl_program->name remains unknown. Invoking strcat() directly will also lead to potential buffer overflow. Change them to strscpy() and strncat() to fix potential issues.
Affected products
- Linux kernel: from 6.5 before 6.6.79; from 6.7 before 6.12.16; from 6.13 before 6.13.4 — fixed in 6.12.16, 6.13.4, 6.6.79
How to fix
Upgrade to a fixed version: Linux kernel 6.12.16, 6.13.4, 6.6.79. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/19b3ca651b4b473878c73539febe477905041442
- https://git.kernel.org/stable/c/49fd4e34751e90e6df009b70cd0659dc839e7ca8
- https://git.kernel.org/stable/c/dd8830779b77f4d1206d28d02ad56a03fc0e78f7
- https://git.kernel.org/stable/c/e8e0eb5601d4a6c74c336e3710afe3a0348c469d
Get alerted when CVE-2024-54456 or the next vulnerability affects your stack