CVE-2022-49426: iommu/arm-smmu-v3-sva: Fix mm use-after-free
In the Linux kernel, the following vulnerability has been resolved:
iommu/arm-smmu-v3-sva: Fix mm use-after-free
We currently call arm64mmcontextput() 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.18.5-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.192-2Fixed in 6.12.107-1Fixed in 6.12.117-1Fixed in 7.3.4-1Fixed in 7.3.5-1 - Compensating control
In iommu/arm-smmu-v3-sva, call mmgrab()/mmdrop() to hold a reference to the mm and ensure it is freed only after the ASID is unpinned.
Event History
Frequently Asked Questions
What is the impact of CVE-2022-49426?
CVE-2022-49426 can lead to a use-after-free vulnerability in the Linux kernel, potentially causing system crashes or security breaches.
Which versions of the Linux Kernel are affected by CVE-2022-49426?
CVE-2022-49426 affects Linux Kernel versions from 5.11 to 5.15.46, from 5.16 to 5.17.14, and from 5.18 to 5.18.3.
How can I resolve CVE-2022-49426 in my system?
To fix CVE-2022-49426, upgrade your Linux kernel to a version that includes the patch for this vulnerability.
What type of vulnerability is CVE-2022-49426 classified as?
CVE-2022-49426 is classified as a use-after-free vulnerability in the Linux kernel's IOMMU subsystem.
Is CVE-2022-49426 a serious threat to Linux systems?
Yes, CVE-2022-49426 is considered a serious threat as it may allow an attacker to execute arbitrary code or crash the system.