Vulnerability in Linux

CVE-2024-42257

In the Linux kernel, the following vulnerability has been resolved: ext4: use memtostr_pad() for s_volume_name As with the other strings in struct ext4_super_block, s_volume_name is not NUL terminated. The other strings were marked in commit 072ebb3bffe6 ("ext4: add nonstring annotations to ext4.h"). Using strscpy() isn't the right replacement for strncpy(); it should use memtostr_pad() instead.

EPSS: 0.002 (10.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-42257?
CVE-2024-42257 is a high-severity vulnerability in Linux. CVSS score: 7.8/10. Published 2024-08-08.
How severe is CVE-2024-42257?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2024-42257 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.