CVE-2024-38541 — Classic Buffer Overflow in Linux
Severity
9.8CRITICALNVD
OSV8.8OSV7.8OSV6.5
EPSS
0.1%
top 70.52%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 19
Latest updateOct 21
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).
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9
Affected Packages7 packages
▶CVEListV5linux/linuxbc575064d688c8933a6ca51429bea9bc63628d3b — 46795440ef2b4ac919d09310a69a404c5bc90a88+8