Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 23ae3a7877718931474684ef4fbbaf1d1511ee84 before b7ff8b5e75d4e91ec8c62d621aac8dfb84c57aa9; affected 23ae3a7877718931474684ef4fbbaf1d1511ee84 before 866b7a278cdb51eb158cd8513bc7438fc857804a |
| Linux / Linux | affected 5.17; unaffected 0 before 5.17; unaffected 5.17.3 through 5.17.*; unaffected 5.18 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b7ff8b5e75d4e91ec8c62d621aac8dfb84c57aa9
- https://git.kernel.org/stable/c/866b7a278cdb51eb158cd8513bc7438fc857804a
ADP enrichment
No English description supplied.
No references supplied.