CVE-2024-27413
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected versions
Linux kernel versions
4.14.13,
4.15
and later are affected. Fixed in
4.19.309,
5.4.271,
5.10.212,
5.15.151,
6.1.81,
6.6.21,
6.7.9,
6.8
and their respective stable series.
References
10 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
Frequently asked questions
-
What is CVE-2024-27413?
CVE-2024-27413 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 4.14.13 onward and has been patched in 4.19.309, 5.4.271, 5.10.212 and others. CVE-2024-27413 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-27413?
CVE-2024-27413 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2024-27413?
Yes. CVE-2024-27413 has been patched. Fixed versions include 4.19.309, 5.4.271, 5.10.212 and others. If you are running Linux kernel 4.14.13 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-27413 actively exploited?
No. CVE-2024-27413 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.