CVE-2024-56568
iommu/arm-smmu: Defer probe of clients after smmu device bound
Mitigation
- Upgrade Linux to 229e6ee43d2a160a1592b83aad620d6027084aad or later.
Who should check
- Anyone running Linux >= 021bb8420d44cf56102d44fca9af628625e75482, < c2527d07c7e9cda2c6165d5edccf74752baac1b0; >= 021bb8420d44cf56102d44fca9af628625e75482, < dc02407ea952e20c544a078a6be2e6f008327973; >= 021bb8420d44cf56102d44fca9af628625e75482, < f8f794f387ad21c4696e5cd0626cb6f8a5f6aea5; >= 021bb8420d44cf56102d44fca9af628625e75482, < 4a9485918a042e3114890dfbe19839a1897f8b2c; >= 021bb8420d44cf56102d44fca9af628625e75482, < 5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8; >= 021bb8420d44cf56102d44fca9af628625e75482, < 229e6ee43d2a160a1592b83aad620d6027084aad
- Anyone running Linux 4.9
Vulnerability facts
- Affected
- Linux >= 021bb8420d44cf56102d44fca9af628625e75482, < c2527d07c7e9cda2c6165d5edccf74752baac1b0; >= 021bb8420d44cf56102d44fca9af628625e75482, < dc02407ea952e20c544a078a6be2e6f008327973; >= 021bb8420d44cf56102d44fca9af628625e75482, < f8f794f387ad21c4696e5cd0626cb6f8a5f6aea5; >= 021bb8420d44cf56102d44fca9af628625e75482, < 4a9485918a042e3114890dfbe19839a1897f8b2c; >= 021bb8420d44cf56102d44fca9af628625e75482, < 5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8; >= 021bb8420d44cf56102d44fca9af628625e75482, < 229e6ee43d2a160a1592b83aad620d6027084aad; Linux 4.9
- Fixed in
- Linux 4a9485918a042e3114890dfbe19839a1897f8b2c, Linux 5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8, Linux 229e6ee43d2a160a1592b83aad620d6027084aad
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- CWE
- CWE-362, CWE-476
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 021bb8420d44cf56102d44fca9af628625e75482, < c2527d07c7e9cda2c6165d5edccf74752baac1b0; >= 021bb8420d44cf56102d44fca9af628625e75482, < dc02407ea952e20c544a078a6be2e6f008327973; >= 021bb8420d44cf56102d44fca9af628625e75482, < f8f794f387ad21c4696e5cd0626cb6f8a5f6aea5; >= 021bb8420d44cf56102d44fca9af628625e75482, < 4a9485918a042e3114890dfbe19839a1897f8b2c; >= 021bb8420d44cf56102d44fca9af628625e75482, < 5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8; >= 021bb8420d44cf56102d44fca9af628625e75482, < 229e6ee43d2a160a1592b83aad620d6027084aad | — | cvelist |
| Linux | 4.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/c2527d07c7e9cda2c6165d5edccf74752baac1b0
- https://git.kernel.org/stable/c/dc02407ea952e20c544a078a6be2e6f008327973
- https://git.kernel.org/stable/c/f8f794f387ad21c4696e5cd0626cb6f8a5f6aea5
- https://git.kernel.org/stable/c/4a9485918a042e3114890dfbe19839a1897f8b2c
- https://git.kernel.org/stable/c/5018696b19bc6c021e934a8a59f4b1dd8c0ac9f8
- https://git.kernel.org/stable/c/229e6ee43d2a160a1592b83aad620d6027084aad
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.