CVE-2024-27046

nfp: flower: handle acti_netdevs allocation failure

State
Published
Severity
Not scored
Published
May 1, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

nfp: flower: handle acti_netdevs allocation failure

The kmalloc_array() in nfp_fl_lag_do_work() will return null, if the physical memory has run out. As a result, if we dereference the acti_netdevs, the null pointer dereference bugs will happen.

This patch adds a check to judge whether allocation failure occurs. If it happens, the delayed work will be rescheduled and try again.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bb9a8d031140f186d13d82f57b0f5646d596652f to before d746889db75a76aeee95fb705b8e1ac28c684a2eAffected
  • bb9a8d031140f186d13d82f57b0f5646d596652f to before 3b1e8a617eb0f4cdc19def530047a95b5abde07dAffected
  • bb9a8d031140f186d13d82f57b0f5646d596652f to before 928705e341010dd910fdece61ccb974f494a758fAffected
  • bb9a8d031140f186d13d82f57b0f5646d596652f to before 0d387dc503f9a53e6d1f6e9dd0292d38f083eba5Affected
  • bb9a8d031140f186d13d82f57b0f5646d596652f to before c9b4e220dd18f79507803f38a55d53b483f6c9c3Affected
  • bb9a8d031140f186d13d82f57b0f5646d596652f to before 408ba7fd04f959c61b50db79c983484312fea642Affected
  • bb9a8d031140f186d13d82f57b0f5646d596652f to before c8df9203bf22c66fa26e8d8c7f8ce181cf88099dAffected
  • bb9a8d031140f186d13d82f57b0f5646d596652f to before 9d8eb1238377cd994829f9162ae396a84ae037b2Affected
  • bb9a8d031140f186d13d82f57b0f5646d596652f to before 84e95149bd341705f0eca6a7fcb955c548805002Affected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 4.19.311 through 4.19.*Not affected
  • 5.4.273 through 5.4.*Not affected
  • 5.10.214 through 5.10.*Not affected
  • 5.15.153 through 5.15.*Not affected
  • 6.1.83 through 6.1.*Not affected
  • 6.6.23 through 6.6.*Not affected
  • 6.7.11 through 6.7.*Not affected
  • 6.8.2 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.