CVE-2024-38541of: module: add buffer overflow check in of_modalias()
- 7.8HighCVSS base score
- 0.90%Exploitation in 30 daysEPSS · top 40% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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).
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.90% · top 40% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected bc575064d688c8933a6ca51429bea9bc63628d3b – < 46795440ef2b4ac919d09310a69a404c5bc90a88
- affected bc575064d688c8933a6ca51429bea9bc63628d3b – < 733e62786bdf1b2b9dbb09ba2246313306503414
- affected bc575064d688c8933a6ca51429bea9bc63628d3b – < c7f24b7d94549ff4623e8f41ea4d9f5319bd8ac8
- affected bc575064d688c8933a6ca51429bea9bc63628d3b – < 5d59fd637a8af42b211a92b2edb2474325b4d488
- affected bc575064d688c8933a6ca51429bea9bc63628d3b – < 0b0d5701a8bf02f8fee037e81aacf6746558bfd6
- affected bc575064d688c8933a6ca51429bea9bc63628d3b – < ee332023adfd5882808f2dabf037b32d6ce36f9e
- affected bc575064d688c8933a6ca51429bea9bc63628d3b – < e45b69360a63165377b30db4a1dfddd89ca18e9a
- affected bc575064d688c8933a6ca51429bea9bc63628d3b – < cf7385cb26ac4f0ee6c7385960525ad534323252
- affected 4.14
- unaffected < 4.14
- unaffected 5.4.294 – ≤ 5.4.*
- unaffected 5.10.238 – ≤ 5.10.*
- unaffected 5.15.182 – ≤ 5.15.*
- unaffected 6.1.136 – ≤ 6.1.*
- unaffected 6.6.33 – ≤ 6.6.*
- unaffected 6.8.12 – ≤ 6.8.*
- unaffected 6.9.3 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References10
- https://git.kernel.org/stable/c/46795440ef2b4ac919d09310a69a404c5bc90a88 (opens in a new tab)
- https://git.kernel.org/stable/c/733e62786bdf1b2b9dbb09ba2246313306503414 (opens in a new tab)
- https://git.kernel.org/stable/c/c7f24b7d94549ff4623e8f41ea4d9f5319bd8ac8 (opens in a new tab)
- https://git.kernel.org/stable/c/5d59fd637a8af42b211a92b2edb2474325b4d488 (opens in a new tab)
- https://git.kernel.org/stable/c/0b0d5701a8bf02f8fee037e81aacf6746558bfd6 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ee332023adfd5882808f2dabf037b32d6ce36f9e (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/e45b69360a63165377b30db4a1dfddd89ca18e9a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/cf7385cb26ac4f0ee6c7385960525ad534323252 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-37404 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-38541)Record last updated .