Linux Kernel NULL Pointer Dereference Vulnerability in Sparx5 Switchdev

Vulnerability

A vulnerability in the Linux kernel's Sparx5 switchdev implementation could lead to a NULL pointer dereference. This issue arises because the 'devm_kzalloc()' function may fail to allocate memory, returning NULL instead. To prevent this potential dereference, it's important to check the 'db' variable before use.

Impact

Exploitation of this vulnerability could lead to a NULL pointer dereference, causing a kernel crash or undefined behavior.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.