CVE-2022-49141Published Feb 26, 2025 · Feb 26Updated Oct 28
net: dsa: felix: fix possible NULL pointer dereference
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: dsa: felix: fix possible NULL pointer dereference
As the possible failure of the allocation, kzalloc() may return NULL pointer. Therefore, it should be better to check the 'sgi' in order to prevent the dereference of NULL pointer.
From the CVE record · Linux
The Linux kernel's Felix DSA driver may dereference a NULL pointer if a kzalloc() allocation fails. The input does not establish how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the Felix DSA driver should check their exposure; affected versions are not specified.