CVE-2024-38541

CRITICALCVSS 9.8/10EPSS 1.48%

Last modified

CVE-2024-38541 is a critical-severity vulnerability rated 9.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.48% 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
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
1.48%

70.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LinuxLinux Kernel>= 4.14, < 5.4.294
LinuxLinux Kernel>= 5.5, < 5.10.238
LinuxLinux Kernel>= 5.11, < 5.15.182
LinuxLinux Kernel>= 5.16, < 6.1.136
LinuxLinux Kernel>= 6.2, < 6.6.33
LinuxLinux Kernel>= 6.7, < 6.8.12
LinuxLinux Kernel>= 6.9, < 6.9.3

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2024-38541?
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).
How severe is CVE-2024-38541?
CVE-2024-38541 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.48% probability of exploitation in the next 30 days.
How do I fix CVE-2024-38541?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-38541?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST