{"schema_version":"1.9.0","id":"CVE-2022-48957","published":"2024-10-21T20:05:43.107Z","modified":"2026-08-12T03:51:39.640671088Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:4364-1"],"summary":"dpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndpaa2-switch: Fix memory leak in dpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove()\n\nThe cmd_buff needs to be freed when error happened in\ndpaa2_switch_acl_entry_add() and dpaa2_switch_acl_entry_remove().","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1110318d83e8011c4dfcb2f7dd343bcfb1623c5f"},{"fixed":"54d830e24247fa8361b016dd2069362866f45cb6"},{"fixed":"785ee7a82297e1512d9061aae91699212ed65796"},{"fixed":"4fad22a1281c500f15b172c9d261eff347ca634b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48957.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"5.15.83"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48957.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4fad22a1281c500f15b172c9d261eff347ca634b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/54d830e24247fa8361b016dd2069362866f45cb6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/785ee7a82297e1512d9061aae91699212ed65796"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48957.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48957"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48957.json"}}