CVE-2024-38541
Published: Jun 19, 2024
Modified: May 11, 2026
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).
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected bc575064d688c8933a6ca51429bea9bc63628d3b - < 46795440ef2b4ac919d09310a69a404c5bc90a88affected bc575064d688c8933a6ca51429bea9bc63628d3b - < 733e62786bdf1b2b9dbb09ba2246313306503414affected bc575064d688c8933a6ca51429bea9bc63628d3b - < c7f24b7d94549ff4623e8f41ea4d9f5319bd8ac8affected bc575064d688c8933a6ca51429bea9bc63628d3b - < 5d59fd637a8af42b211a92b2edb2474325b4d488affected bc575064d688c8933a6ca51429bea9bc63628d3b - < 0b0d5701a8bf02f8fee037e81aacf6746558bfd6+3 more versions |
Linux | Linux | affected 4.14unaffected 0 - < 4.14unaffected 5.4.294 - <= 5.4.*unaffected 5.10.238 - <= 5.10.*unaffected 5.15.182 - <= 5.15.*+5 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now