# CVE-2023-52484: iommu/arm-smmu-v3: Fix soft lockup triggered by arm\_smmu\_mm\_invalidate\_range

> 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.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-02-29T05:43:14.502Z
- **Modified:** 2026-06-17T06:42:49.923Z

## Who should check

- Anyone running Linux \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< f5a604757aa8e37ea9c7011dc9da54fa1b30f29b; \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< f90f4c562003ac3d3b135c5a40a5383313f27264; \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< 3283a1bce9bbc978059f790b84f3c10c32492429; \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< d5afb4b47e13161b3f33904d45110f9e6463bad6
- Anyone running Linux 5.12

## Description

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

iommu/arm-smmu-v3: Fix soft lockup triggered by arm\_smmu\_mm\_invalidate\_range

When running an SVA case, the following soft lockup is triggered:
--------------------------------------------------------------------
watchdog: BUG: soft lockup - CPU\#244 stuck for 26s!
pstate: 83400009 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
pc : arm\_smmu\_cmdq\_issue\_cmdlist+0x178/0xa50
lr : arm\_smmu\_cmdq\_issue\_cmdlist+0x150/0xa50
sp : ffff8000d83ef290
x29: ffff8000d83ef290 x28: 000000003b9aca00 x27: 0000000000000000
x26: ffff8000d83ef3c0 x25: da86c0812194a0e8 x24: 0000000000000000
x23: 0000000000000040 x22: ffff8000d83ef340 x21: ffff0000c63980c0
x20: 0000000000000001 x19: ffff0000c6398080 x18: 0000000000000000
x17: 0000000000000000 x16: 0000000000000000 x15: ffff3000b4a3bbb0
x14: ffff3000b4a30888 x13: ffff3000b4a3cf60 x12: 0000000000000000
x11: 0000000000000000 x10: 0000000000000000 x9 : ffffc08120e4d6bc
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000048cfa
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 000000000000000a
x2 : 0000000080000000 x1 : 0000000000000000 x0 : 0000000000000001
Call trace:
 arm\_smmu\_cmdq\_issue\_cmdlist+0x178/0xa50
 \_\_arm\_smmu\_tlb\_inv\_range+0x118/0x254
 arm\_smmu\_tlb\_inv\_range\_asid+0x6c/0x130
 arm\_smmu\_mm\_invalidate\_range+0xa0/0xa4
 \_\_mmu\_notifier\_invalidate\_range\_end+0x88/0x120
 unmap\_vmas+0x194/0x1e0
 unmap\_region+0xb4/0x144
 do\_mas\_align\_munmap+0x290/0x490
 do\_mas\_munmap+0xbc/0x124
 \_\_vm\_munmap+0xa8/0x19c
 \_\_arm64\_sys\_munmap+0x28/0x50
 invoke\_syscall+0x78/0x11c
 el0\_svc\_common.constprop.0+0x58/0x1c0
 do\_el0\_svc+0x34/0x60
 el0\_svc+0x2c/0xd4
 el0t\_64\_sync\_handler+0x114/0x140
 el0t\_64\_sync+0x1a4/0x1a8
--------------------------------------------------------------------

Note that since 6.6-rc1 the arm\_smmu\_mm\_invalidate\_range above is renamed
to "arm\_smmu\_mm\_arch\_invalidate\_secondary\_tlbs", yet the problem remains.

The commit 06ff87bae8d3 ("arm64: mm: remove unused functions and variable
protoypes") fixed a similar lockup on the CPU MMU side. Yet, it can occur
to SMMU too, since arm\_smmu\_mm\_arch\_invalidate\_secondary\_tlbs() is called
typically next to MMU tlb flush function, e.g.
	tlb\_flush\_mmu\_tlbonly {
		tlb\_flush {
			\_\_flush\_tlb\_range {
				// check MAX\_TLBI\_OPS
			}
		}
		mmu\_notifier\_arch\_invalidate\_secondary\_tlbs {
			arm\_smmu\_mm\_arch\_invalidate\_secondary\_tlbs {
				// does not check MAX\_TLBI\_OPS
			}
		}
	}

Clone a CMDQ\_MAX\_TLBI\_OPS from the MAX\_TLBI\_OPS in tlbflush.h, since in an
SVA case SMMU uses the CPU page table, so it makes sense to align with the
tlbflush code. Then, replace per-page TLBI commands with a single per-asid
TLBI command, if the request size hits this threshold.

## Affected and fixed versions

- Linux: \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< f5a604757aa8e37ea9c7011dc9da54fa1b30f29b; \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< f90f4c562003ac3d3b135c5a40a5383313f27264; \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< 3283a1bce9bbc978059f790b84f3c10c32492429; \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< d5afb4b47e13161b3f33904d45110f9e6463bad6 (cvelist)
- Linux: 5.12 (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-2023-52484. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-52484.md
Affected: Linux >= 51d113c3be09ff5b916576b1109daf413549cacc, < f5a604757aa8e37ea9c7011dc9da54fa1b30f29b; >= 51d113c3be09ff5b916576b1109daf413549cacc, < f90f4c562003ac3d3b135c5a40a5383313f27264; >= 51d113c3be09ff5b916576b1109daf413549cacc, < 3283a1bce9bbc978059f790b84f3c10c32492429; >= 51d113c3be09ff5b916576b…
Fixed in: Linux 3283a1bce9bbc978059f790b84f3c10c32492429

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-2023-52484 being exploited?

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

### How serious is CVE-2023-52484?

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

### Which versions are affected by CVE-2023-52484?

Linux \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< f5a604757aa8e37ea9c7011dc9da54fa1b30f29b; \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< f90f4c562003ac3d3b135c5a40a5383313f27264; \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< 3283a1bce9bbc978059f790b84f3c10c32492429; \>= 51d113c3be09ff5b916576b1109daf413549cacc, \< d5afb4b47e13161b3f33904d45110f9e6463bad6; Linux 5.12.

### Is there a fix for CVE-2023-52484?

Yes. Fixed in Linux 3283a1bce9bbc978059f790b84f3c10c32492429. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-52484?

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/f5a604757aa8e37ea9c7011dc9da54fa1b30f29b>
- patch: <https://git.kernel.org/stable/c/f90f4c562003ac3d3b135c5a40a5383313f27264>
- patch: <https://git.kernel.org/stable/c/3283a1bce9bbc978059f790b84f3c10c32492429>
- patch: <https://git.kernel.org/stable/c/d5afb4b47e13161b3f33904d45110f9e6463bad6>

## 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-2023-52484>

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