CVE-2024-54456
JSON

7.8high

NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client()

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 6.5 before 6.6.79, from 6.7 before 6.12.16, from 6.13 before 6.13.4NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

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.

NVD (es)

En el núcleo de Linux, se ha resuelto la siguiente vulnerabilidad: NFS: Se solucionó un posible desbordamiento de búfer en nfs_sysfs_link_rpc_client() cuyo nombre es char[64], donde el tamaño de clnt->cl_program->name sigue siendo desconocido. Invocar strcat() directamente también provocará un posible desbordamiento de búfer. Cámbielos a strscpy() y strncat() para solucionar posibles problemas.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-54456 changed 2026-08-05CVE Terms of Use
NVDCVE-2024-54456 changed 2026-08-04Public domain