CVE-2024-54456

high

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.

References

https://git.kernel.org/stable/c/e8e0eb5601d4a6c74c336e3710afe3a0348c469d

https://git.kernel.org/stable/c/dd8830779b77f4d1206d28d02ad56a03fc0e78f7

https://git.kernel.org/stable/c/49fd4e34751e90e6df009b70cd0659dc839e7ca8

https://git.kernel.org/stable/c/19b3ca651b4b473878c73539febe477905041442

Details

Source: Mitre, NVD

Published: 2025-02-27

Updated: 2025-02-27

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High