CVE-2024-42257
Last modified
CVE-2024-42257 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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"). EPSS estimates a 0.20% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.10, < 6.10.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-42257?
How severe is CVE-2024-42257?
How do I fix CVE-2024-42257?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-42251In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-42252In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-42253In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2024-42254In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-42255In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-42256In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2024-42258In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-42259In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-4226It was identified that in certain versions of Octopus Server…3.5
- CVE-2024-42260In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-42261In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-42262In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-42257?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
