# CVE-2024-54456: NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2025-02-27T02:18:08.143Z
- Modified: 2026-08-05T11:44:49.902Z
- Weaknesses: CWE-787
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e13b549319a684dd80c4cc25e9567a5c84007e32 before 19b3ca651b4b473878c73539febe477905041442; from e13b549319a684dd80c4cc25e9567a5c84007e32 before dd8830779b77f4d1206d28d02ad56a03fc0e78f7; from e13b549319a684dd80c4cc25e9567a5c84007e32 before e8e0eb5601d4a6c74c336e3710afe3a0348c469d; from e13b549319a684dd80c4cc25e9567a5c84007e32 before 49fd4e34751e90e6df009b70cd0659dc839e7ca8; 6.5 (not affected: before 6.5; from 6.6.79 up to 6.6.*; from 6.12.16 up to 6.12.*; from 6.13.4 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.5 before 6.6.79; from 6.7 before 6.12.16; from 6.13 before 6.13.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/19b3ca651b4b473878c73539febe477905041442> (patch)
- <https://git.kernel.org/stable/c/dd8830779b77f4d1206d28d02ad56a03fc0e78f7> (patch)
- <https://git.kernel.org/stable/c/e8e0eb5601d4a6c74c336e3710afe3a0348c469d> (patch)
- <https://git.kernel.org/stable/c/49fd4e34751e90e6df009b70cd0659dc839e7ca8> (patch)

## Sources

- CVE List: [CVE-2024-54456](https://www.cve.org/CVERecord?id=CVE-2024-54456), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-54456](https://nvd.nist.gov/vuln/detail/CVE-2024-54456), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-54456 · Whole record: https://cve.day/CVE-2024-54456.json · Rebuilt by cve.day 2026-11-25T22:58:52.097Z
