CVE-2024-27413efi/capsule-loader: fix incorrect allocation size
- 5.5MediumCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 84% 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: efi/capsule-loader: fix incorrect allocation size gcc-14 notices that the allocation with sizeof(void) on 32-bit architectures is not enough for a 64-bit phys_addr_t: drivers/firmware/efi/capsule-loader.c: In function 'efi_capsule_open': drivers/firmware/efi/capsule-loader.c:295:24: error: allocation of insufficient size '4' for type 'phys_addr_t' {aka 'long long unsigned int'} with size '8' [-Werror=alloc-size] 295 | cap_info->phys = kzalloc(sizeof(void *), GFP_KERNEL); | ^ Use the correct type instead here.
Timeline
ID reserved
By Linux
- 3 months later
· 3 months 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 |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 84% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected f24c4d478013d82bd1b943df566fff3561d52864 – < 00cf21ac526011a29fc708f8912da446fac19f7b
- affected f24c4d478013d82bd1b943df566fff3561d52864 – < 950d4d74d311a18baed6878dbfba8180d7e5dddd
- affected f24c4d478013d82bd1b943df566fff3561d52864 – < 537e3f49dbe88881a6f0752beaa596942d9efd64
- affected f24c4d478013d82bd1b943df566fff3561d52864 – < 4b73473c050a612fb4317831371073eda07c3050
- affected f24c4d478013d82bd1b943df566fff3561d52864 – < ddc547dd05a46720866c32022300f7376c40119f
- affected f24c4d478013d82bd1b943df566fff3561d52864 – < 11aabd7487857b8e7d768fefb092f66dfde68492
- affected f24c4d478013d82bd1b943df566fff3561d52864 – < 62a5dcd9bd3097e9813de62fa6f22815e84a0172
- affected f24c4d478013d82bd1b943df566fff3561d52864 – < fccfa646ef3628097d59f7d9c1a3e84d4b6bb45e
- affected 95a362c9a6892085f714eb6e31eea6a0e3aa93bf
- affected 4.14.13 – < 4.15
- affected 4.15
- unaffected < 4.15
- unaffected 4.19.309 – ≤ 4.19.*
- unaffected 5.4.271 – ≤ 5.4.*
- unaffected 5.10.212 – ≤ 5.10.*
- unaffected 5.15.151 – ≤ 5.15.*
- unaffected 6.1.81 – ≤ 6.1.*
- unaffected 6.6.21 – ≤ 6.6.*
- unaffected 6.7.9 – ≤ 6.7.*
- unaffected 6.8 – ≤ *
References
References10
- https://git.kernel.org/stable/c/00cf21ac526011a29fc708f8912da446fac19f7b (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/950d4d74d311a18baed6878dbfba8180d7e5dddd (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/537e3f49dbe88881a6f0752beaa596942d9efd64 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/4b73473c050a612fb4317831371073eda07c3050 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ddc547dd05a46720866c32022300f7376c40119f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/11aabd7487857b8e7d768fefb092f66dfde68492 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/62a5dcd9bd3097e9813de62fa6f22815e84a0172 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/fccfa646ef3628097d59f7d9c1a3e84d4b6bb45e (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html (opens in a new tab)x_transferred
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-24617 (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-27413)Record last updated .