CVE-2022-49184

published 26 Feb 2025 · updated 11 May 2026

net: sparx5: switchdev: fix possible NULL pointer dereference

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0906f3a3df07835e37077d8971aac65347f2ed57, Kernel b375ea083fa649092cd016ac1f89a2d1fd8f8e8b, Kernel c346791877e6ce923bb21e34b30c6f99326aa5a8 and 1 more.

In the Linux kernel, the following vulnerability has been resolved: net: sparx5: switchdev: fix possible NULL pointer dereference As the possible failure of the allocation, devm_kzalloc() may return NULL pointer. Therefore, it should be better to check the 'db' in order to prevent the dereference of NULL pointer.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.15, >=10615907e9b51c9ae92f3a6ecabd01c482f20f32 <0906f3a3df07835e37077d8971aac65347f2ed57, >=10615907e9b51c9ae92f3a6ecabd01c482f20f32 <b375ea083fa649092cd016ac1f89a2d1fd8f8e8b, >=10615907e9b51c9ae92f3a6ecabd01c482f20f32 <c346791877e6ce923bb21e34b30c6f99326aa5a8, >=10615907e9b51c9ae92f3a6ecabd01c482f20f32 <e7e1fff76c4c57688dc7d53a3b6212182d5628d00906f3a3df07835e37077d8971aac65347f2ed57, b375ea083fa649092cd016ac1f89a2d1fd8f8e8b, c346791877e6ce923bb21e34b30c6f99326aa5a8, e7e1fff76c4c57688dc7d53a3b6212182d5628d0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49184 severity on Zeptric[![CVE-2022-49184](https://zeptric.io/badge/cve/CVE-2022-49184.svg)](https://zeptric.io/cve/CVE-2022-49184)