CVE-2022-49025

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

State
Published
Severity
7.8 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Aug 22, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 10caabdaad5ace85577a453da97d1f8d3b944427 to before 0a2d73a77060c3cbdc6e801cd5d979d674cd404bAffected
  • 10caabdaad5ace85577a453da97d1f8d3b944427 to before 0d2f9d95d9fbe993f3c4bafb87d59897b0325affAffected
  • 10caabdaad5ace85577a453da97d1f8d3b944427 to before 372eb550faa0757349040fd43f59483cbfdb2c0bAffected
  • 10caabdaad5ace85577a453da97d1f8d3b944427 to before e6d2d26a49c3a9cd46b232975e45236304810904Affected
  • 10caabdaad5ace85577a453da97d1f8d3b944427 to before 52c795af04441d76f565c4634f893e5b553df2aeAffected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.4.226 through 5.4.*Not affected
  • 5.10.158 through 5.10.*Not affected
  • 5.15.82 through 5.15.*Not affected
  • 6.0.12 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.