CVE-2022-49141
JSON

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 packageVersionsReported by
Linux Linuxfrom 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_kernelfrom 5.17 before 5.17.3NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

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

SourceRecordLicence
CVE ListCVE-2022-49141 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-49141 changed 2026-06-17Public domain