{"id":"CVE-2022-49184","aliases":["CVE-2022-49184"],"related":[],"kind":"vulnerability","state":"published","title":"net: sparx5: switchdev: fix possible NULL pointer dereference","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: switchdev: fix possible NULL pointer dereference\n\nAs the possible failure of the allocation, devm_kzalloc() may return NULL\npointer.\nTherefore, it should be better to check the 'db' in order to prevent\nthe dereference of NULL pointer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: switchdev: fix possible NULL pointer dereference\n\nAs the possible failure of the allocation, devm_kzalloc() may return NULL\npointer.\nTherefore, it should be better to check the 'db' in order to prevent\nthe dereference of NULL pointer.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: sparx5: switchdev: se corrige la posible desreferencia de puntero NULL. Como es posible que la asignación falle, devm_kzalloc() puede devolver un puntero NULL. Por lo tanto, es mejor comprobar la 'db' para evitar la desreferencia de puntero NULL.","source":"nvd"}],"published":"2025-02-26T01:55:34.554Z","modified":"2026-06-17T05:17:18.583Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"10615907e9b51c9ae92f3a6ecabd01c482f20f32","fixed":"b375ea083fa649092cd016ac1f89a2d1fd8f8e8b","status":"affected"},{"type":"git","introduced":"10615907e9b51c9ae92f3a6ecabd01c482f20f32","fixed":"c346791877e6ce923bb21e34b30c6f99326aa5a8","status":"affected"},{"type":"git","introduced":"10615907e9b51c9ae92f3a6ecabd01c482f20f32","fixed":"e7e1fff76c4c57688dc7d53a3b6212182d5628d0","status":"affected"},{"type":"git","introduced":"10615907e9b51c9ae92f3a6ecabd01c482f20f32","fixed":"0906f3a3df07835e37077d8971aac65347f2ed57","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.33","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.19","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.2","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.15","fixed":"5.15.33"},{"status":"affected","introduced":"5.16","fixed":"5.16.19"},{"status":"affected","introduced":"5.17","fixed":"5.17.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b375ea083fa649092cd016ac1f89a2d1fd8f8e8b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c346791877e6ce923bb21e34b30c6f99326aa5a8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e7e1fff76c4c57688dc7d53a3b6212182d5628d0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0906f3a3df07835e37077d8971aac65347f2ed57","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:47:29.267Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49184","url":"https://www.cve.org/CVERecord?id=CVE-2022-49184","licence":"CVE Terms of Use","modified":"2026-05-11T18:54:44.476Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49184","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49184","licence":"Public domain","modified":"2026-06-17T05:17:18.583Z"}],"updatedAt":"2026-11-25T22:58:20.259Z","epss":{"score":0.00261,"percentile":0.19129,"date":"2026-12-01T12:00:22.000Z"}}