CVE-2024-27413: efi/capsule-loader: fix incorrect allocation size

Published May 17, 2024
·
Updated

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 physaddrt:

drivers/firmware/efi/capsule-loader.c: In function 'eficapsuleopen': drivers/firmware/efi/capsule-loader.c:295:24: error: allocation of insufficient size '4' for type 'physaddrt' {aka 'long long unsigned int'} with size '8' [-Werror=alloc-size] 295 | capinfo->phys = kzalloc(sizeof(void ), GFPKERNEL); | ^

Use the correct type instead here.

Affected Software

20 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
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-rc7
Linux Linux kernel=4.15-rc8
Linux Linux kernel=4.15-rc9
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4
Linux Linux kernel=6.8-rc5
Linux Linux kernel=6.8-rc6
Debian Debian Linux=10.0

Event History

May 17, 2024
CVE Published
via MITRE·11:50 AM
Data Sourced
via MITRE·11:50 AM
Description
Data Sourced
via NVD·12:15 PM
Description
Data Sourced
via NVD·12:15 PM
RemedySeverityAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:14 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·06:17 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-27413?

CVE-2024-27413 is classified as a medium severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-27413?

To fix CVE-2024-27413, update the Linux kernel to one of the patched versions: 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.10-1, or 6.12.11-1.

3

What is the impact of CVE-2024-27413?

CVE-2024-27413 can lead to incorrect memory allocation, potentially resulting in system instability or security issues.

4

Which systems are affected by CVE-2024-27413?

CVE-2024-27413 affects various versions of the Linux kernel used in Debian-based systems.

5

When was CVE-2024-27413 reported?

CVE-2024-27413 was reported and addressed in 2024 as part of ongoing kernel security improvements.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203