CVE-2024-38541
Last modified
CVE-2024-38541 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: of: module: add buffer overflow check in of_modalias() In of_modalias(), if the buffer happens to be too small even for the 1st snprintf() call, the len parameter will become negative and str parameter (if not NULL initially) will point beyond the buffer's end. Add the buffer overflow check after the 1st snprintf() call and fix such check after the strlen() call (accounting for the terminating NUL char).. EPSS estimates a 1.47% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: of: module: add buffer overflow check in of_modalias() In of_modalias(), if the buffer happens to be too small even for the 1st snprintf() call, the len parameter will become negative and str parameter (if not NULL initially) will point beyond the buffer's end. Add the buffer overflow check after the 1st snprintf() call and fix such check after the strlen() call (accounting for the terminating NUL char).
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 4.14, < 5.4.294 |
| Linux | Linux Kernel | >= 5.5, < 5.10.238 |
| Linux | Linux Kernel | >= 5.11, < 5.15.182 |
| Linux | Linux Kernel | >= 5.16, < 6.1.136 |
| Linux | Linux Kernel | >= 6.2, < 6.6.33 |
| Linux | Linux Kernel | >= 6.7, < 6.8.12 |
| Linux | Linux Kernel | >= 6.9, < 6.9.3 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-38541?
How severe is CVE-2024-38541?
How do I fix CVE-2024-38541?
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-38536Suricata is a network Intrusion Detection System, Intrusion …7.5
- CVE-2024-38537Fides is an open-source privacy engineering platform. `fides…9.8
- CVE-2024-38538In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-38539In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-3854In some code patterns the JIT incorrectly optimized switch s…8.8
- CVE-2024-38540In the Linux kernel, the following vulnerability has been re…4.4
- CVE-2024-38542In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-38543In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38544In the Linux kernel, the following vulnerability has been re…6.3
- CVE-2024-38545In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-38546In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-38547In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-38541?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
