# CVE-2022-49025: net/mlx5e: Fix use-after-free when reverting termination table

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-10-21 · Modified: 2026-08-05
- Aliases: SUSE-SU-2025:1114-1, SUSE-SU-2025:1121-1, UBUNTU-CVE-2022-49025, DEBIAN-CVE-2022-49025
- Record: https://cvemate.com/vulnerability/CVE-2022-49025 · JSON: https://cvemate.com/vulnerability/CVE-2022-49025/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

net/mlx5e: Fix use-after-free when reverting termination table

When having multiple dests with termination tables and second one
or afterwards fails the driver reverts usage of term tables but
doesn't reset the assignment in attr->dests[num_vport_dests].termtbl
which case a use-after-free when releasing the rule.
Fix by resetting the assignment of termtbl to null.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.248%, percentile 17.175%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 115)

- debian linux (Debian): \< 6.0.12-1
- ubuntu linux (Ubuntu): \< 5.4.0-144.161 \| \< 5.15.0-67.74
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 5.4.0-1097.105 \| \< 5.15.0-1031.35
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1031.35~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1097.105~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 5.4.0-1099.107+fips1 \| All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.4.0-1104.110 \| \< 5.15.0-1034.41
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.15 (Ubuntu): \< 5.15.0-1034.41~20.04.1
- ubuntu linux-azure-5.19 (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/0a2d73a77060c3cbdc6e801cd5d979d674cd404b>
- <https://git.kernel.org/stable/c/0d2f9d95d9fbe993f3c4bafb87d59897b0325aff>
- <https://git.kernel.org/stable/c/372eb550faa0757349040fd43f59483cbfdb2c0b>
- <https://git.kernel.org/stable/c/e6d2d26a49c3a9cd46b232975e45236304810904>
- <https://git.kernel.org/stable/c/52c795af04441d76f565c4634f893e5b553df2ae>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20251114-1/>
- <https://bugzilla.suse.com/1233023>
- <https://www.suse.com/security/cve/CVE-2022-49025>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20251121-1/>
- <https://ubuntu.com/security/CVE-2022-49025>
- <https://www.cve.org/CVERecord?id=CVE-2022-49025>
- <https://git.kernel.org/linus/52c795af04441d76f565c4634f893e5b553df2ae>
- <https://security-tracker.debian.org/tracker/CVE-2022-49025>

---

Data as of 2026-12-06T05:30:48.320Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
