# CVE-2024-56568: iommu/arm-smmu: Defer probe of clients after smmu device bound

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

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.21% (percentile 6, 2026-11-26)
- **CWE:** CWE-362, CWE-476
- **Published:** 2024-12-27T14:23:11.733Z
- **Modified:** 2026-06-17T08:12:26.023Z

## Who should check

- Anyone running Linux \>= 021bb8420d44cf56102d44fca9af628625e75482, \< c2527d07c7e9cda2c6165d5edccf74752baac1b0; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< dc02407ea952e20c544a078a6be2e6f008327973; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< f8f794f387ad21c4696e5cd0626cb6f8a5f6aea5; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< 4a9485918a042e3114890dfbe19839a1897f8b2c; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< 5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< 229e6ee43d2a160a1592b83aad620d6027084aad
- Anyone running Linux 4.9

## Description

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

iommu/arm-smmu: Defer probe of clients after smmu device bound

Null pointer dereference occurs due to a race between smmu
driver probe and client driver probe, when of\_dma\_configure()
for client is called after the iommu\_device\_register() for smmu driver
probe has executed but before the driver\_bound() for smmu driver
has been called.

Following is how the race occurs:

T1:Smmu device probe		T2: Client device probe

really\_probe()
arm\_smmu\_device\_probe()
iommu\_device\_register()
					really\_probe()
					platform\_dma\_configure()
					of\_dma\_configure()
					of\_dma\_configure\_id()
					of\_iommu\_configure()
					iommu\_probe\_device()
					iommu\_init\_device()
					arm\_smmu\_probe\_device()
					arm\_smmu\_get\_by\_fwnode()
						driver\_find\_device\_by\_fwnode()
						driver\_find\_device()
						next\_device()
						klist\_next()
						    /\* null ptr
						       assigned to smmu \*/
					/\* null ptr dereference
					   while smmu-\>streamid\_mask \*/
driver\_bound()
	klist\_add\_tail()

When this null smmu pointer is dereferenced later in
arm\_smmu\_probe\_device, the device crashes.

Fix this by deferring the probe of the client device
until the smmu device has bound to the arm smmu driver.

\[will: Add comment\]

## Affected and fixed versions

- Linux: \>= 021bb8420d44cf56102d44fca9af628625e75482, \< c2527d07c7e9cda2c6165d5edccf74752baac1b0; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< dc02407ea952e20c544a078a6be2e6f008327973; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< f8f794f387ad21c4696e5cd0626cb6f8a5f6aea5; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< 4a9485918a042e3114890dfbe19839a1897f8b2c; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< 5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< 229e6ee43d2a160a1592b83aad620d6027084aad (cvelist)
- Linux: 4.9 (cvelist)

## Mitigation

- Upgrade Linux to 229e6ee43d2a160a1592b83aad620d6027084aad or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-56568.md
Affected: Linux >= 021bb8420d44cf56102d44fca9af628625e75482, < c2527d07c7e9cda2c6165d5edccf74752baac1b0; >= 021bb8420d44cf56102d44fca9af628625e75482, < dc02407ea952e20c544a078a6be2e6f008327973; >= 021bb8420d44cf56102d44fca9af628625e75482, < f8f794f387ad21c4696e5cd0626cb6f8a5f6aea5; >= 021bb8420d44cf56102d44f…
Fixed in: Linux 4a9485918a042e3114890dfbe19839a1897f8b2c, Linux 5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8, Linux 229e6ee43d2a160a1592b83aad620d6027084aad

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-2024-56568 being exploited?

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

### How serious is CVE-2024-56568?

Medium: CVSS 4.7 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-56568?

Linux \>= 021bb8420d44cf56102d44fca9af628625e75482, \< c2527d07c7e9cda2c6165d5edccf74752baac1b0; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< dc02407ea952e20c544a078a6be2e6f008327973; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< f8f794f387ad21c4696e5cd0626cb6f8a5f6aea5; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< 4a9485918a042e3114890dfbe19839a1897f8b2c; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< 5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8; \>= 021bb8420d44cf56102d44fca9af628625e75482, \< 229e6ee43d2a160a1592b83aad620d6027084aad; Linux 4.9.

### Is there a fix for CVE-2024-56568?

Yes. Fixed in Linux 4a9485918a042e3114890dfbe19839a1897f8b2c, Linux 5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8, Linux 229e6ee43d2a160a1592b83aad620d6027084aad. Upgrade Linux to 229e6ee43d2a160a1592b83aad620d6027084aad or later.

### How do I check if I'm affected by CVE-2024-56568?

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/c2527d07c7e9cda2c6165d5edccf74752baac1b0>
- patch: <https://git.kernel.org/stable/c/dc02407ea952e20c544a078a6be2e6f008327973>
- patch: <https://git.kernel.org/stable/c/f8f794f387ad21c4696e5cd0626cb6f8a5f6aea5>
- patch: <https://git.kernel.org/stable/c/4a9485918a042e3114890dfbe19839a1897f8b2c>
- patch: <https://git.kernel.org/stable/c/5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8>
- patch: <https://git.kernel.org/stable/c/229e6ee43d2a160a1592b83aad620d6027084aad>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## 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-2024-56568>

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