CVE-2024-27046: Linux kernel · nfp: flower: handle acti_netdevs allocation failure
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 5.4.0-1128.138~18.04.1 : update Linux kernel when convenient.
Data as of 12 Nov 2026, 18:52 UTC
- Patch
- Available – fixed in 5.4.0-1128.138~18.04.1, 5.4.0-1133.140~18.04.1, 5.4.0-1132.141~18.04.1 +65
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 1 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 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (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-6817-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-6817-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6871-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther 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 is available and should be applied. Fixed versions include various 5.4.0 kernel releases and 5.15.0-1063.69~20.04.1 among others. Users should update to these fixed kernel versions as listed in the vendor advisories. No additional mitigation is required beyond applying the official fixes.
Description
CVE-2024-27046 is a vulnerability in the Linux kernel's nfp flower module where a failure to handle memory allocation errors in the function nfp_fl_lag_do_work() can lead to a null pointer dereference. This occurs because kmalloc_array() may return null when physical memory is exhausted, and without proper checks, dereferencing this null pointer causes a kernel crash. The issue has been fixed by adding a check for allocation failure and rescheduling the delayed work to retry the allocation.
References
- ubuntu.com/security/CVE-2024-27046 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-27046 (opens in a new tab)
- git.kernel.org/linus/84e95149bd341705f0eca6a7fcb955c548805002 (opens in a new tab)
- git.kernel.org/stable/c/d746889db75a76aeee95fb705b8e1ac28c684a2e (opens in a new tab)
- git.kernel.org/stable/c/3b1e8a617eb0f4cdc19def530047a95b5abde07d (opens in a new tab)
- git.kernel.org/stable/c/928705e341010dd910fdece61ccb974f494a758f (opens in a new tab)
- git.kernel.org/stable/c/0d387dc503f9a53e6d1f6e9dd0292d38f083eba5 (opens in a new tab)
- git.kernel.org/stable/c/c9b4e220dd18f79507803f38a55d53b483f6c9c3 (opens in a new tab)
- git.kernel.org/stable/c/408ba7fd04f959c61b50db79c983484312fea642 (opens in a new tab)
- git.kernel.org/stable/c/c8df9203bf22c66fa26e8d8c7f8ce181cf88099d (opens in a new tab)
- git.kernel.org/stable/c/9d8eb1238377cd994829f9162ae396a84ae037b2 (opens in a new tab)
- git.kernel.org/stable/c/84e95149bd341705f0eca6a7fcb955c548805002 (opens in a new tab)
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (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-6817-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)