Bug 2347896 (CVE-2022-49184) - CVE-2022-49184 kernel: net: sparx5: switchdev: fix possible NULL pointer dereference
Summary: CVE-2022-49184 kernel: net: sparx5: switchdev: fix possible NULL pointer dere...
Keywords:
Status: NEW
Alias: CVE-2022-49184
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:10 UTC by OSIDB Bzimport
Modified: 2025-02-26 19:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:10:31 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: sparx5: switchdev: fix possible NULL pointer dereference

As the possible failure of the allocation, devm_kzalloc() may return NULL
pointer.
Therefore, it should be better to check the 'db' in order to prevent
the dereference of NULL pointer.

Comment 1 Avinash Hanwate 2025-02-26 19:28:09 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022615-CVE-2022-49184-4de2@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.