# CVE-2022-49141: net: dsa: felix: fix possible NULL pointer dereference

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-02-26T01:55:12.197Z
- Modified: 2026-06-17T05:17:11.970Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 5.17 before 5.17.3

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/b7ff8b5e75d4e91ec8c62d621aac8dfb84c57aa9> (patch)
- <https://git.kernel.org/stable/c/866b7a278cdb51eb158cd8513bc7438fc857804a> (patch)

## Sources

- CVE List: [CVE-2022-49141](https://www.cve.org/CVERecord?id=CVE-2022-49141), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49141](https://nvd.nist.gov/vuln/detail/CVE-2022-49141), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49141 · Whole record: https://cve.day/CVE-2022-49141.json · Rebuilt by cve.day 2026-11-25T22:58:20.214Z
