CVE-2022-49025

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

HIGH
7.8
CVSS Score
Published: October 21, 2024 at 08:06 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.825.16 ≤ v < 6.0.125.3 ≤ v < 5.10.1585.3 ≤ v < 5.15.825.3 ≤ v < 5.4.2265.3 ≤ v < 6.0.125.3 ≤ v < 6.15.5 ≤ v < 5.10.15810caabdaad5ace85577a453da97d1f8d3b9444276.1 rc16.1 rc26.1 rc36.1 rc46.1 rc56.1 rc66.1 rc7
Vendor states this is fixed in 0a2d73a77060c3cbdc6e801cd5d979d674cd404b (fixed)
Vendor states this is fixed in 0d2f9d95d9fbe993f3c4bafb87d59897b0325aff (fixed)
Vendor states this is fixed in 372eb550faa0757349040fd43f59483cbfdb2c0b (fixed)
Vendor states this is fixed in 52c795af04441d76f565c4634f893e5b553df2ae (fixed)
Vendor states this is fixed in e6d2d26a49c3a9cd46b232975e45236304810904 (fixed)
Vendor states this is fixed in 5.10.158 (unaffected)
Vendor states this is fixed in 5.15.82 (unaffected)
Vendor states this is fixed in 5.3 (unaffected)
Vendor states this is fixed in 5.4.226 (unaffected)
Vendor states this is fixed in 6.0.12 (unaffected)
Vendor states this is fixed in 6.1 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0a2d73a77060c3cbdc6e801cd5d979d674cd404b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0d2f9d95d9fbe993f3c4bafb87d59897b0325aff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/372eb550faa0757349040fd43f59483cbfdb2c0b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/52c795af04441d76f565c4634f893e5b553df2ae
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e6d2d26a49c3a9cd46b232975e45236304810904

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card