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.
Product status
bb9a8d031140f186d13d82f57b0f5646d596652f (git) before d746889db75a76aeee95fb705b8e1ac28c684a2e
bb9a8d031140f186d13d82f57b0f5646d596652f (git) before 3b1e8a617eb0f4cdc19def530047a95b5abde07d
bb9a8d031140f186d13d82f57b0f5646d596652f (git) before 928705e341010dd910fdece61ccb974f494a758f
bb9a8d031140f186d13d82f57b0f5646d596652f (git) before 0d387dc503f9a53e6d1f6e9dd0292d38f083eba5
bb9a8d031140f186d13d82f57b0f5646d596652f (git) before c9b4e220dd18f79507803f38a55d53b483f6c9c3
bb9a8d031140f186d13d82f57b0f5646d596652f (git) before 408ba7fd04f959c61b50db79c983484312fea642
bb9a8d031140f186d13d82f57b0f5646d596652f (git) before c8df9203bf22c66fa26e8d8c7f8ce181cf88099d
bb9a8d031140f186d13d82f57b0f5646d596652f (git) before 9d8eb1238377cd994829f9162ae396a84ae037b2
bb9a8d031140f186d13d82f57b0f5646d596652f (git) before 84e95149bd341705f0eca6a7fcb955c548805002
4.18
Any version before 4.18
4.19.311 (semver)
5.4.273 (semver)
5.10.214 (semver)
5.15.153 (semver)
6.1.83 (semver)
6.6.23 (semver)
6.7.11 (semver)
6.8.2 (semver)
6.9 (original_commit_for_fix)
References
git.kernel.org/...c/d746889db75a76aeee95fb705b8e1ac28c684a2e
git.kernel.org/...c/3b1e8a617eb0f4cdc19def530047a95b5abde07d
git.kernel.org/...c/928705e341010dd910fdece61ccb974f494a758f
git.kernel.org/...c/0d387dc503f9a53e6d1f6e9dd0292d38f083eba5
git.kernel.org/...c/c9b4e220dd18f79507803f38a55d53b483f6c9c3
git.kernel.org/...c/408ba7fd04f959c61b50db79c983484312fea642
git.kernel.org/...c/c8df9203bf22c66fa26e8d8c7f8ce181cf88099d
git.kernel.org/...c/9d8eb1238377cd994829f9162ae396a84ae037b2
git.kernel.org/...c/84e95149bd341705f0eca6a7fcb955c548805002