# CVE-2026-80556: mmc: atmel-mci: Fix use-after-free in atmci\_remove due to race condition

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.17% (percentile 4, 2026-11-28)
- **Published:** 2026-08-26T14:37:23.573Z
- **Modified:** 2026-08-27T06:17:39.387Z

## Who should check

- Anyone running Linux \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< 22aecf6c4721727a2f724ca0438bc7d4b609bf3f; \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< b5060ff2f5460795a3e9f7cdf5052aa42f96ff81; \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< 7599a73ff66d195a908f5d88b427933a9fb1c02a; \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< c125ee35a49a0518521b52b27631eef061b8719a
- Anyone running Linux 2.6.27

## Description

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

mmc: atmel-mci: Fix use-after-free in atmci\_remove due to race condition

In atmci\_probe, &host-\>bh\_work is bound with atmci\_work\_func, and
atmci\_interrupt, atmci\_timeout\_timer and atmci\_dma\_complete can all
queue this work on system\_bh\_wq.

If we remove the module, atmci\_remove makes cleanup and the memory
allocated for host with devm\_kzalloc() is released after the remove
callback returns, while the work mentioned above may still be pending
or running. The sequence of operations that may lead to a UAF bug is
as follows:

CPU0                                      CPU1

                                          \| atmci\_interrupt
                                          \| queue\_work(system\_bh\_wq,
                                          \|            &host-\>bh\_work)
atmci\_remove                              \|
atmci\_cleanup\_slot(...)                   \|
atmci\_writel(host, ATMCI\_IDR, ~0UL)       \|
timer\_delete\_sync(&host-\>timer)           \|
dma\_release\_channel(host-\>dma.chan)       \|
free\_irq(platform\_get\_irq(pdev, 0), host) \|
                                          \| atmci\_work\_func
                                          \| // use host
// devm resources released after          \|
// remove returns, host is freed          \|
                                          \| // use host (use-after-free)

Fix it by canceling the work after all the sources that can schedule
it (IRQ handler, timeout timer and DMA completion callback) have been
stopped, and before proceeding with the remaining cleanup in
atmci\_remove.

## Affected and fixed versions

- Linux: \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< 22aecf6c4721727a2f724ca0438bc7d4b609bf3f; \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< b5060ff2f5460795a3e9f7cdf5052aa42f96ff81; \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< 7599a73ff66d195a908f5d88b427933a9fb1c02a; \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< c125ee35a49a0518521b52b27631eef061b8719a (cvelist)
- Linux: 2.6.27 (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-2026-80556. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-80556.md
Affected: Linux >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 22aecf6c4721727a2f724ca0438bc7d4b609bf3f; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < b5060ff2f5460795a3e9f7cdf5052aa42f96ff81; >= 7d2be0749a59096a334c94dc48f43294193cb8ed, < 7599a73ff66d195a908f5d88b427933a9fb1c02a; >= 7d2be0749a59096a334c94d…
Fixed in: Linux 22aecf6c4721727a2f724ca0438bc7d4b609bf3f, Linux 7599a73ff66d195a908f5d88b427933a9fb1c02a

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-2026-80556 being exploited?

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

### How serious is CVE-2026-80556?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-80556?

Linux \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< 22aecf6c4721727a2f724ca0438bc7d4b609bf3f; \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< b5060ff2f5460795a3e9f7cdf5052aa42f96ff81; \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< 7599a73ff66d195a908f5d88b427933a9fb1c02a; \>= 7d2be0749a59096a334c94dc48f43294193cb8ed, \< c125ee35a49a0518521b52b27631eef061b8719a; Linux 2.6.27.

### Is there a fix for CVE-2026-80556?

Yes. Fixed in Linux 22aecf6c4721727a2f724ca0438bc7d4b609bf3f, Linux 7599a73ff66d195a908f5d88b427933a9fb1c02a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-80556?

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

- other: <https://git.kernel.org/stable/c/22aecf6c4721727a2f724ca0438bc7d4b609bf3f>
- other: <https://git.kernel.org/stable/c/b5060ff2f5460795a3e9f7cdf5052aa42f96ff81>
- other: <https://git.kernel.org/stable/c/7599a73ff66d195a908f5d88b427933a9fb1c02a>
- other: <https://git.kernel.org/stable/c/c125ee35a49a0518521b52b27631eef061b8719a>

## 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-2026-80556>

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