5.5medium
net: dsa: felix: fix possible NULL pointer dereference
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 23ae3a7877718931474684ef4fbbaf1d1511ee84 before b7ff8b5e75d4e91ec8c62d621aac8dfb84c57aa9, from 23ae3a7877718931474684ef4fbbaf1d1511ee84 before 866b7a278cdb51eb158cd8513bc7438fc857804a, 5.17 Not affected: before 5.17, from 5.17.3 up to 5.17.*, from 5.18 up to * | CVE List |
| linux linux_kernel | from 5.17 before 5.17.3 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: dsa: felix: se corrige la posible desreferencia de puntero NULL. Como es posible que falle la asignación, kzalloc() puede devolver un puntero NULL. Por lo tanto, es mejor comprobar el 'sgi' para evitar la desreferencia de puntero NULL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49141 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-49141 changed 2026-06-17 | Public domain |