CVE-2024-54456

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

23 Oct 2025, 13:05

Type Values Removed Values Added
First Time Linux
Linux linux Kernel
CWE CWE-787
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/19b3ca651b4b473878c73539febe477905041442 - () https://git.kernel.org/stable/c/19b3ca651b4b473878c73539febe477905041442 - Patch
References () https://git.kernel.org/stable/c/49fd4e34751e90e6df009b70cd0659dc839e7ca8 - () https://git.kernel.org/stable/c/49fd4e34751e90e6df009b70cd0659dc839e7ca8 - Patch
References () https://git.kernel.org/stable/c/dd8830779b77f4d1206d28d02ad56a03fc0e78f7 - () https://git.kernel.org/stable/c/dd8830779b77f4d1206d28d02ad56a03fc0e78f7 - Patch
References () https://git.kernel.org/stable/c/e8e0eb5601d4a6c74c336e3710afe3a0348c469d - () https://git.kernel.org/stable/c/e8e0eb5601d4a6c74c336e3710afe3a0348c469d - Patch
Summary
  • (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.

27 Feb 2025, 03:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-27 03:15

Updated : 2025-10-23 13:05


NVD link : CVE-2024-54456

Mitre link : CVE-2024-54456

CVE.ORG link : CVE-2024-54456


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-787

Out-of-bounds Write