CVE-2024-27413: Linux kernel · efi/capsule-loader: fix incorrect allocation size gcc-14 notices that the allocation
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 5.4.0-1126.136~18.04.1 : update Linux kernel when convenient.
Data as of 6 Nov 2026, 15:21 UTC
- Patch
- Available – fixed in 5.4.0-1126.136~18.04.1, 5.4.0-1131.138~18.04.1, 5.4.0-1130.139~18.04.1 +56
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 May 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6831-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6867-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6871-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6892-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6919-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro Realtime 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=realtime/nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch correcting the allocation size has been released and is available in multiple Linux kernel versions including 5.4.0-1126.136~18.04.1 and later. Users should upgrade to these fixed kernel versions to remediate the vulnerability. No additional mitigation is required beyond applying the official kernel updates.
Description
CVE-2024-27413 is a vulnerability in the Linux kernel's EFI capsule loader where an incorrect allocation size was used on 32-bit architectures for a 64-bit physical address type. This flaw was identified due to GCC 14 compiler warnings about insufficient allocation size, which could lead to kernel instability or denial of service. The issue has been fixed in multiple Linux kernel versions.
References
- ubuntu.com/security/CVE-2024-27413 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-27413 (opens in a new tab)
- git.kernel.org/linus/fccfa646ef3628097d59f7d9c1a3e84d4b6bb45e (opens in a new tab)
- git.kernel.org/stable/c/00cf21ac526011a29fc708f8912da446fac19f7b (opens in a new tab)
- git.kernel.org/stable/c/950d4d74d311a18baed6878dbfba8180d7e5dddd (opens in a new tab)
- git.kernel.org/stable/c/537e3f49dbe88881a6f0752beaa596942d9efd64 (opens in a new tab)
- git.kernel.org/stable/c/4b73473c050a612fb4317831371073eda07c3050 (opens in a new tab)
- git.kernel.org/stable/c/ddc547dd05a46720866c32022300f7376c40119f (opens in a new tab)
- git.kernel.org/stable/c/11aabd7487857b8e7d768fefb092f66dfde68492 (opens in a new tab)
- git.kernel.org/stable/c/62a5dcd9bd3097e9813de62fa6f22815e84a0172 (opens in a new tab)
- git.kernel.org/stable/c/fccfa646ef3628097d59f7d9c1a3e84d4b6bb45e (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6831-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6867-1 (opens in a new tab)