CVE-2022-49141

net: dsa: felix: fix possible NULL pointer dereference

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
May 11, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 23ae3a7877718931474684ef4fbbaf1d1511ee84 to before b7ff8b5e75d4e91ec8c62d621aac8dfb84c57aa9Affected
  • 23ae3a7877718931474684ef4fbbaf1d1511ee84 to before 866b7a278cdb51eb158cd8513bc7438fc857804aAffected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 5.17.3 through 5.17.*Not affected
  • 5.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.