CVE-2022-49025

Source
https://cve.org/CVERecord?id=CVE-2022-49025
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49025.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49025
Downstream
Related
Published
2024-10-21T20:06:31.189Z
Modified
2026-03-20T12:22:06.548349Z
Summary
net/mlx5e: Fix use-after-free when reverting termination table
Details

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[numvportdests].termtbl which case a use-after-free when releasing the rule. Fix by resetting the assignment of termtbl to null.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49025.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
10caabdaad5ace85577a453da97d1f8d3b944427
Fixed
0a2d73a77060c3cbdc6e801cd5d979d674cd404b
Fixed
0d2f9d95d9fbe993f3c4bafb87d59897b0325aff
Fixed
372eb550faa0757349040fd43f59483cbfdb2c0b
Fixed
e6d2d26a49c3a9cd46b232975e45236304810904
Fixed
52c795af04441d76f565c4634f893e5b553df2ae

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49025.json"