CVE-2022-49184 Details
Description
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.
A vulnerability in the Linux kernel's Sparx5 switchdev implementation could lead to a NULL pointer dereference. This issue arises because the 'devm_kzalloc()' function may fail to allocate memory, returning NULL instead. To prevent this potential dereference, it's important to check the 'db' variable before use.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0906f3a3df07835e37077d8971aac65347f2ed57 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b375ea083fa649092cd016ac1f89a2d1fd8f8e8b | kernel.org | Patch |
| https://git.kernel.org/stable/c/c346791877e6ce923bb21e34b30c6f99326aa5a8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e7e1fff76c4c57688dc7d53a3b6212182d5628d0 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-476 | NULL Pointer Dereference | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15, < 5.15.33 >= 5.16, < 5.16.19 >= 5.17, < 5.17.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 17, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |