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

CVE-2022-49025
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 16 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 10caabdaad5ace85577a453da97d1f8d3b944427 < 0a2d73a77060c3cbdc6e801cd5d979d674cd404b ; affected 10caabdaad5ace85577a453da97d1f8d3b944427 < 0d2f9d95d9fbe993f3c4bafb87d59897b0325aff ; affected 10caabdaad5ace85577a453da97d1f8d3b944427 < 372eb550faa0757349040fd43f59483cbfdb2c0b ; affected 10caabdaad5ace85577a453da97d1f8d3b944427 < e6d2d26a49c3a9cd46b232975e45236304810904 ; affected 10caabdaad5ace85577a453da97d1f8d3b944427 < 52c795af04441d76f565c4634f893e5b553df2ae
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.226 ≤ 5.4.* ; unaffected 5.10.158 ≤ 5.10.* ; unaffected 5.15.82 ≤ 5.15.* ; unaffected 6.0.12 ≤ 6.0.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD