What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.16, 6.13.4, 6.6.79. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-54456 or the next vulnerability affects your stack