NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client() (Linux Linux)

CVE-2024-54456
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e13b549319a684dd80c4cc25e9567a5c84007e32 < 19b3ca651b4b473878c73539febe477905041442 ; affected e13b549319a684dd80c4cc25e9567a5c84007e32 < dd8830779b77f4d1206d28d02ad56a03fc0e78f7 ; affected e13b549319a684dd80c4cc25e9567a5c84007e32 < e8e0eb5601d4a6c74c336e3710afe3a0348c469d ; affected e13b549319a684dd80c4cc25e9567a5c84007e32 < 49fd4e34751e90e6df009b70cd0659dc839e7ca8
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.79 ≤ 6.6.* ; unaffected 6.12.16 ≤ 6.12.* ; unaffected 6.13.4 ≤ 6.13.* ; unaffected 6.14 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD