CVE-2022-49184

Source
https://cve.org/CVERecord?id=CVE-2022-49184
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49184.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49184
Downstream
Published
2025-02-26T01:55:34.554Z
Modified
2026-03-12T03:24:45.220818Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: sparx5: switchdev: fix possible NULL pointer dereference
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49184.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
10615907e9b51c9ae92f3a6ecabd01c482f20f32
Fixed
b375ea083fa649092cd016ac1f89a2d1fd8f8e8b
Fixed
c346791877e6ce923bb21e34b30c6f99326aa5a8
Fixed
e7e1fff76c4c57688dc7d53a3b6212182d5628d0
Fixed
0906f3a3df07835e37077d8971aac65347f2ed57

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49184.json"