CVE-2024-38541
CVE-2024-38541 — of: module: add buffer overflow check in of_modalias()
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).
Published Updated Sources: cvelistV5, Linux
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.8
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (2)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.8 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-120
References
10 on the record
- git.kernel.org/stable/c/46795440ef2b4ac919d09310a69a404c5bc90a88
reference
- git.kernel.org/stable/c/733e62786bdf1b2b9dbb09ba2246313306503414
reference
- git.kernel.org/stable/c/c7f24b7d94549ff4623e8f41ea4d9f5319bd8ac8
reference
- git.kernel.org/stable/c/5d59fd637a8af42b211a92b2edb2474325b4d488
reference
- git.kernel.org/stable/c/0b0d5701a8bf02f8fee037e81aacf6746558bfd6
reference
- git.kernel.org/stable/c/ee332023adfd5882808f2dabf037b32d6ce36f9e
reference
- git.kernel.org/stable/c/e45b69360a63165377b30db4a1dfddd89ca18e9a
reference
- git.kernel.org/stable/c/cf7385cb26ac4f0ee6c7385960525ad534323252
reference
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-39682 tls: fix handling of zero-length records on the rx_listCVSS 9.8 · CISA KEV
- CVE-2016-3427 Oracle Java SE and JRockit Unspecified VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2026-53266 netfilter: bridge: make ebt_snat ARP rewrite writableCVSS 8.8 · CISA KEV
- CVE-2013-6282 Linux Kernel Improper Input Validation VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2022-0185 Linux Kernel Heap-Based Buffer Overflow VulnerabilityCVSS 8.4 · CISA KEV
- CVE-2026-53362 Linux Kernel Unspecified VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.