CVE-2024-54456 Details
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.
A buffer overflow vulnerability has been identified in the Linux kernel's NFS implementation. The issue arises in the 'nfs_sysfs_link_rpc_client()' function, where a character array of 64 bytes is used. The size of 'clnt->cl_program->name' is unknown, leading to a potential buffer overflow when 'strcat()' is used. This vulnerability has been addressed by replacing 'strcat()' with safer alternatives, 'strscpy()' and 'strncat()'.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/19b3ca651b4b473878c73539febe477905041442 | kernel.org | Patch |
| https://git.kernel.org/stable/c/49fd4e34751e90e6df009b70cd0659dc839e7ca8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/dd8830779b77f4d1206d28d02ad56a03fc0e78f7 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e8e0eb5601d4a6c74c336e3710afe3a0348c469d | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.5, < 6.6.79 >= 6.7, < 6.12.16 >= 6.13, < 6.13.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 23, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | New CVE Received | kernel.org |