← CVE Intelligence

CVE-2022-49025

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 10caabdaad5ace85577a453da97d1f8d3b944427 before 0a2d73a77060c3cbdc6e801cd5d979d674cd404b; affected 10caabdaad5ace85577a453da97d1f8d3b944427 before 0d2f9d95d9fbe993f3c4bafb87d59897b0325aff; affected 10caabdaad5ace85577a453da97d1f8d3b944427 before 372eb550faa0757349040fd43f59483cbfdb2c0b; affected 10caabdaad5ace85577a453da97d1f8d3b944427 before e6d2d26a49c3a9cd46b232975e45236304810904; affected 10caabdaad5ace85577a453da97d1f8d3b944427 before 52c795af04441d76f565c4634f893e5b553df2ae
Linux / Linuxaffected 5.3; unaffected 0 before 5.3; unaffected 5.4.226 through 5.4.*; unaffected 5.10.158 through 5.10.*; unaffected 5.15.82 through 5.15.*; unaffected 6.0.12 through 6.0.*; unaffected 6.1 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.