Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49184

net: sparx5: switchdev: fix possible NULL pointer dereference

Description

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 10615907e9b51c9ae92f3a6ecabd01c482f20f32 to < b375ea083fa649092cd016ac1f89a2d1fd8f8e8baffected
  • 10615907e9b51c9ae92f3a6ecabd01c482f20f32 to < c346791877e6ce923bb21e34b30c6f99326aa5a8affected
  • 10615907e9b51c9ae92f3a6ecabd01c482f20f32 to < e7e1fff76c4c57688dc7d53a3b6212182d5628d0affected
  • 10615907e9b51c9ae92f3a6ecabd01c482f20f32 to < 0906f3a3df07835e37077d8971aac65347f2ed57affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.33 to ≤ 5.15.*unaffected
  • 5.16.19 to ≤ 5.16.*unaffected
  • 5.17.2 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References