{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49025","id":"CVE-2022-49025","title":"net/mlx5e: Fix use-after-free when reverting termination table","description":"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->dests[num_vport_dests].termtbl\nwhich case a use-after-free when releasing the rule.\nFix by resettin","descriptionLong":"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->dests[num_vport_dests].termtbl\nwhich case a use-after-free when releasing the rule.\nFix by resetting the assignment of termtbl to null.","published":"2024-10-21T20:06:31.189Z","updated":"2026-10-28T02:31:09.476439302Z","reserved":"2024-08-22T01:27:53.650Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"10caabdaad5ace85577a453da97d1f8d3b944427","lessThan":"0a2d73a77060c3cbdc6e801cd5d979d674cd404b","status":"affected","versionType":"git"},{"version":"10caabdaad5ace85577a453da97d1f8d3b944427","lessThan":"0d2f9d95d9fbe993f3c4bafb87d59897b0325aff","status":"affected","versionType":"git"},{"version":"10caabdaad5ace85577a453da97d1f8d3b944427","lessThan":"372eb550faa0757349040fd43f59483cbfdb2c0b","status":"affected","versionType":"git"},{"version":"10caabdaad5ace85577a453da97d1f8d3b944427","lessThan":"e6d2d26a49c3a9cd46b232975e45236304810904","status":"affected","versionType":"git"},{"version":"10caabdaad5ace85577a453da97d1f8d3b944427","lessThan":"52c795af04441d76f565c4634f893e5b553df2ae","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.3","status":"affected"},{"version":"0","lessThan":"5.3","status":"unaffected","versionType":"semver"},{"version":"5.4.226","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.158","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.82","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.12","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0a2d73a77060c3cbdc6e801cd5d979d674cd404b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0d2f9d95d9fbe993f3c4bafb87d59897b0325aff","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/372eb550faa0757349040fd43f59483cbfdb2c0b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/e6d2d26a49c3a9cd46b232975e45236304810904","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/52c795af04441d76f565c4634f893e5b553df2ae","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49025.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49025","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00248,"epssPercentile":0.16317,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49025","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49025","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49025","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49025","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}