What’s Vulnerable › Vulnerabilities

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

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.158, 5.15.82, 5.4.226, 6.0.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49025 or the next vulnerability affects your stack