iommu/arm-smmu-v3-sva: Fix mm use-after-free (Linux Linux)

CVE-2022-49426
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.29 % · percentile 21 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: iommu/arm-smmu-v3-sva: Fix mm use-after-free We currently call arm64_mm_context_put() without holding a reference to the mm, which can result in use-after-free. Call mmgrab()/mmdrop() to ensure the mm only gets freed after we unpinned the ASID.

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:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 32784a9562fb0518b12e9797ee2aec52214adf6f < fc90f13ea0dcd960e5002d204fa55cec4e0db2fa ; affected 32784a9562fb0518b12e9797ee2aec52214adf6f < e3cbbdbff8a4db5d053c53fd71be62ccccdb52b0 ; affected 32784a9562fb0518b12e9797ee2aec52214adf6f < 9aa215450888cf29af0c479e14a712dc6b0c506c ; affected 32784a9562fb0518b12e9797ee2aec52214adf6f < cbd23144f7662b00bcde32a938c4a4057e476d68
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.46 ≤ 5.15.* ; unaffected 5.17.14 ≤ 5.17.* ; unaffected 5.18.3 ≤ 5.18.* ; unaffected 5.19 ≤ *

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