NetSight
medium5.5

CVE-2022-49184

In the Linux kernel, the following vulnerability has been resolved: net: sparx5: switchdev: fix possible NULL pointer dereference As the possible failure of th…

Impact

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 products

VendorProductAffected versions
LinuxLinux Kernel
from 5.15 before 5.15.33
from 5.16 before 5.16.19
from 5.17 before 5.17.2

Weakness classification

References