# CVE-2022-48895: iommu/arm-smmu: Don't unregister on shutdown

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-08-21T06:10:27.612Z
- **Modified:** 2026-06-17T05:16:33.103Z

## Who should check

- Anyone running Linux \>= 57365a04c92126525a58bf7a1599ddfa832415e9, \< a1b9c7b1978aacf4b2f33e34bde1e2bb80b8497a; \>= 57365a04c92126525a58bf7a1599ddfa832415e9, \< ce31e6ca68bd7639bd3e5ef97be215031842bbab
- Anyone running Linux 6.1

## Description

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

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

Michael Walle says he noticed the following stack trace while performing
a shutdown with "reboot -f". He suggests he got "lucky" and just hit the
correct spot for the reboot while there was a packet transmission in
flight.

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000098
CPU: 0 PID: 23 Comm: kworker/0:1 Not tainted 6.1.0-rc5-00088-gf3600ff8e322 \#1930
Hardware name: Kontron KBox A-230-LS (DT)
pc : iommu\_get\_dma\_domain+0x14/0x20
lr : iommu\_dma\_map\_page+0x9c/0x254
Call trace:
 iommu\_get\_dma\_domain+0x14/0x20
 dma\_map\_page\_attrs+0x1ec/0x250
 enetc\_start\_xmit+0x14c/0x10b0
 enetc\_xmit+0x60/0xdc
 dev\_hard\_start\_xmit+0xb8/0x210
 sch\_direct\_xmit+0x11c/0x420
 \_\_dev\_queue\_xmit+0x354/0xb20
 ip6\_finish\_output2+0x280/0x5b0
 \_\_ip6\_finish\_output+0x15c/0x270
 ip6\_output+0x78/0x15c
 NF\_HOOK.constprop.0+0x50/0xd0
 mld\_sendpack+0x1bc/0x320
 mld\_ifc\_work+0x1d8/0x4dc
 process\_one\_work+0x1e8/0x460
 worker\_thread+0x178/0x534
 kthread+0xe0/0xe4
 ret\_from\_fork+0x10/0x20
Code: d503201f f9416800 d503233f d50323bf (f9404c00)
---\[ end trace 0000000000000000 \]---
Kernel panic - not syncing: Oops: Fatal exception in interrupt

This appears to be reproducible when the board has a fixed IP address,
is ping flooded from another host, and "reboot -f" is used.

The following is one more manifestation of the issue:

$ reboot -f
kvm: exiting hardware virtualization
cfg80211: failed to load regulatory.db
arm-smmu 5000000.iommu: disabling translation
sdhci-esdhc 2140000.mmc: Removing from iommu group 11
sdhci-esdhc 2150000.mmc: Removing from iommu group 12
fsl-edma 22c0000.dma-controller: Removing from iommu group 17
dwc3 3100000.usb: Removing from iommu group 9
dwc3 3110000.usb: Removing from iommu group 10
ahci-qoriq 3200000.sata: Removing from iommu group 2
fsl-qdma 8380000.dma-controller: Removing from iommu group 20
platform f080000.display: Removing from iommu group 0
etnaviv-gpu f0c0000.gpu: Removing from iommu group 1
etnaviv etnaviv: Removing from iommu group 1
caam\_jr 8010000.jr: Removing from iommu group 13
caam\_jr 8020000.jr: Removing from iommu group 14
caam\_jr 8030000.jr: Removing from iommu group 15
caam\_jr 8040000.jr: Removing from iommu group 16
fsl\_enetc 0000:00:00.0: Removing from iommu group 4
arm-smmu 5000000.iommu: Blocked unknown Stream ID 0x429; boot with "arm-smmu.disable\_bypass=0" to allow, but this may have security implications
arm-smmu 5000000.iommu:         GFSR 0x80000002, GFSYNR0 0x00000002, GFSYNR1 0x00000429, GFSYNR2 0x00000000
fsl\_enetc 0000:00:00.1: Removing from iommu group 5
arm-smmu 5000000.iommu: Blocked unknown Stream ID 0x429; boot with "arm-smmu.disable\_bypass=0" to allow, but this may have security implications
arm-smmu 5000000.iommu:         GFSR 0x80000002, GFSYNR0 0x00000002, GFSYNR1 0x00000429, GFSYNR2 0x00000000
arm-smmu 5000000.iommu: Blocked unknown Stream ID 0x429; boot with "arm-smmu.disable\_bypass=0" to allow, but this may have security implications
arm-smmu 5000000.iommu:         GFSR 0x80000002, GFSYNR0 0x00000000, GFSYNR1 0x00000429, GFSYNR2 0x00000000
fsl\_enetc 0000:00:00.2: Removing from iommu group 6
fsl\_enetc\_mdio 0000:00:00.3: Removing from iommu group 8
mscc\_felix 0000:00:00.5: Removing from iommu group 3
fsl\_enetc 0000:00:00.6: Removing from iommu group 7
pcieport 0001:00:00.0: Removing from iommu group 18
arm-smmu 5000000.iommu: Blocked unknown Stream ID 0x429; boot with "arm-smmu.disable\_bypass=0" to allow, but this may have security implications
arm-smmu 5000000.iommu:         GFSR 0x00000002, GFSYNR0 0x00000000, GFSYNR1 0x00000429, GFSYNR2 0x00000000
pcieport 0002:00:00.0: Removing from iommu group 19
Unable to handle kernel NULL pointer dereference at virtual address 00000000000000a8
pc : iommu\_get\_dma\_domain+0x14/0x20
lr : iommu\_dma\_unmap\_page+0x38/0xe0
Call trace:
 iommu\_get\_dma\_domain+0x14/0x20
 dma\_unmap\_page\_attrs+0x38/0x1d0
 en
---truncated---

## Affected and fixed versions

- Linux: \>= 57365a04c92126525a58bf7a1599ddfa832415e9, \< a1b9c7b1978aacf4b2f33e34bde1e2bb80b8497a; \>= 57365a04c92126525a58bf7a1599ddfa832415e9, \< ce31e6ca68bd7639bd3e5ef97be215031842bbab (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48895. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48895.md
Affected: Linux >= 57365a04c92126525a58bf7a1599ddfa832415e9, < a1b9c7b1978aacf4b2f33e34bde1e2bb80b8497a; >= 57365a04c92126525a58bf7a1599ddfa832415e9, < ce31e6ca68bd7639bd3e5ef97be215031842bbab; Linux 6.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48895 being exploited?

There is no confirmed exploitation: CVE-2022-48895 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48895?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48895?

Linux \>= 57365a04c92126525a58bf7a1599ddfa832415e9, \< a1b9c7b1978aacf4b2f33e34bde1e2bb80b8497a; \>= 57365a04c92126525a58bf7a1599ddfa832415e9, \< ce31e6ca68bd7639bd3e5ef97be215031842bbab; Linux 6.1.

### Is there a fix for CVE-2022-48895?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-48895?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a1b9c7b1978aacf4b2f33e34bde1e2bb80b8497a>
- patch: <https://git.kernel.org/stable/c/ce31e6ca68bd7639bd3e5ef97be215031842bbab>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48895>

HTML: <https://flawdb.com/CVE-2022-48895> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48895>
