{"id":"CVE-2022-49025","summary":"net/mlx5e: Fix use-after-free when reverting termination table","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5e: Fix use-after-free when reverting termination table\n\nWhen having multiple dests with termination tables and second one\nor afterwards fails the driver reverts usage of term tables but\ndoesn't reset the assignment in attr-\u003edests[num_vport_dests].termtbl\nwhich case a use-after-free when releasing the rule.\nFix by resetting the assignment of termtbl to null.","modified":"2026-05-18T05:55:14.293375623Z","published":"2024-10-21T20:06:31.189Z","related":["SUSE-SU-2024:3983-1","SUSE-SU-2024:3985-1","SUSE-SU-2024:4081-1","SUSE-SU-2024:4082-1","SUSE-SU-2024:4103-1","SUSE-SU-2024:4131-1","SUSE-SU-2024:4140-1","SUSE-SU-2024:4364-1","SUSE-SU-2025:1114-1","SUSE-SU-2025:1119-1","SUSE-SU-2025:1121-1","SUSE-SU-2025:1123-1","SUSE-SU-2025:1139-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49025.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0a2d73a77060c3cbdc6e801cd5d979d674cd404b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0d2f9d95d9fbe993f3c4bafb87d59897b0325aff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/372eb550faa0757349040fd43f59483cbfdb2c0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52c795af04441d76f565c4634f893e5b553df2ae"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e6d2d26a49c3a9cd46b232975e45236304810904"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49025.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49025"},{"type":"PACKAGE","url":"https://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":"10caabdaad5ace85577a453da97d1f8d3b944427"},{"fixed":"0a2d73a77060c3cbdc6e801cd5d979d674cd404b"},{"fixed":"0d2f9d95d9fbe993f3c4bafb87d59897b0325aff"},{"fixed":"372eb550faa0757349040fd43f59483cbfdb2c0b"},{"fixed":"e6d2d26a49c3a9cd46b232975e45236304810904"},{"fixed":"52c795af04441d76f565c4634f893e5b553df2ae"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49025.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"fixed":"5.4.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.82"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.12"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49025.json"}}],"schema_version":"1.7.5"}