CVE-2022-48894

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48894
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48894.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48894
Downstream
Published
2024-08-21T06:10:26.515Z
Modified
2025-12-04T11:32:25.631906Z
Summary
iommu/arm-smmu-v3: Don't unregister on shutdown
Details

In the Linux kernel, the following vulnerability has been resolved:

iommu/arm-smmu-v3: Don't unregister on shutdown

Similar to SMMUv2, this driver calls iommudeviceunregister() from the shutdown path, which removes the IOMMU groups with no coordination whatsoever with their users - shutdown methods are optional in device drivers. This can lead to NULL pointer dereferences in those drivers' DMA API calls, or worse.

Instead of calling the full armsmmudeviceremove() from armsmmudeviceshutdown(), let's pick only the relevant function call - armsmmudevicedisable() - more or less the reverse of armsmmudevicereset() - and call just that from the shutdown path.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48894.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
57365a04c92126525a58bf7a1599ddfa832415e9
Fixed
ead3e6c79479890444c777fd329afc125fecde48
Fixed
32ea2c57dc216b6ad8125fa680d31daa5d421c95

Affected versions

v6.*

v6.0
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.2-rc1
v6.2-rc2
v6.2-rc3

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.7