CVE-2024-38541: Linux Kernel
High severity, CVSS 7.8. EPSS: 0.9% chance of exploitation in the next 30 days.
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).
Affected products
- Linux Linux Kernel: from 4.14, before 5.4.294 (fixed in 5.4.294); from 5.5, before 5.10.238 (fixed in 5.10.238); from 5.11, before 5.15.182 (fixed in 5.15.182); from 5.16, before 6.1.136 (fixed in 6.1.136); from 6.2, before 6.6.33 (fixed in 6.6.33); from 6.7, before 6.8.12 (fixed in 6.8.12); …
Published 2024-06-19. Last modified 2026-08-04.