CVE-2024-27413Linux Kernel
Medium 5.5
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 20
- Auth required
- Yes
- Published
- May 17, 2024
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linux | linux_kernel | ≥ 4.14.13 < 4.15 |
| linux | linux_kernel | ≥ 4.15.1 < 4.19.309 |
| linux | linux_kernel | ≥ 4.20 < 5.4.271 |
| linux | linux_kernel | ≥ 5.5 < 5.10.212 |
| linux | linux_kernel | ≥ 5.11 < 5.15.151 |
| linux | linux_kernel | ≥ 5.16 < 6.1.81 |
| linux | linux_kernel | ≥ 6.2 < 6.6.21 |
| linux | linux_kernel | ≥ 6.7 < 6.7.9 |
| linux | linux_kernel | 4.15 |
| linux | linux_kernel | 4.15 |
| linux | linux_kernel | 4.15 |
| linux | linux_kernel | 4.15 |
| linux | linux_kernel | 6.8 |
| linux | linux_kernel | 6.8 |
| linux | linux_kernel | 6.8 |
| linux | linux_kernel | 6.8 |
| linux | linux_kernel | 6.8 |
| linux | linux_kernel | 6.8 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- lists.debian.org Third Party Advisory
- lists.debian.org Third Party Advisory