CVE-2024-27413

MEDIUM

Linux Kernel 4.14.13-4.14.99 - Integer Overflow via Incorrect Allocation Size in EFI Capsule Loader

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0002
EPSS Percentile 7.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (24)
debian/debian_linux 10.0
Linux/Linux < 4.15
Linux/Linux 4.14.13 - 4.15
Linux/Linux 4.15
Linux/Linux 4.19.309 - 4.19.*
Linux/Linux 5.10.212 - 5.10.*
Linux/Linux 5.15.151 - 5.15.*
Linux/Linux 5.4.271 - 5.4.*
Linux/Linux 6.1.81 - 6.1.*
Linux/Linux 6.6.21 - 6.6.*
... and 14 more
Published May 17, 2024
Tracked Since Feb 18, 2026