Use After Free in Linux
CVE-2022-49025
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 16.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 10caabdaad5ace85577a453da97d1f8d3b944427, 5.3, 0
- Linux Kernel — versions 6.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/0a2d73a77060c3cbdc6e801cd5d979d674cd404b (Patch)
- git.kernel.org/stable/c/0d2f9d95d9fbe993f3c4bafb87d59897b0325aff (Patch)
- git.kernel.org/stable/c/372eb550faa0757349040fd43f59483cbfdb2c0b (Patch)
- git.kernel.org/stable/c/e6d2d26a49c3a9cd46b232975e45236304810904 (Patch)
- git.kernel.org/stable/c/52c795af04441d76f565c4634f893e5b553df2ae (Patch)