{"api_version":"1","generated_at":"2026-09-12T00:34:10+00:00","cve":"CVE-2026-80556","urls":{"html":"https://cve.report/CVE-2026-80556","api":"https://cve.report/api/cve/CVE-2026-80556.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-80556","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-80556"},"summary":{"title":"mmc: atmel-mci: Fix use-after-free in atmci_remove due to race condition","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: atmel-mci: Fix use-after-free in atmci_remove due to race condition\n\nIn atmci_probe, &host->bh_work is bound with atmci_work_func, and\natmci_interrupt, atmci_timeout_timer and atmci_dma_complete can all\nqueue this work on system_bh_wq.\n\nIf we remove the module, atmci_remove makes cleanup and the memory\nallocated for host with devm_kzalloc() is released after the remove\ncallback returns, while the work mentioned above may still be pending\nor running. The sequence of operations that may lead to a UAF bug is\nas follows:\n\nCPU0                                      CPU1\n\n                                          | atmci_interrupt\n                                          | queue_work(system_bh_wq,\n                                          |            &host->bh_work)\natmci_remove                              |\natmci_cleanup_slot(...)                   |\natmci_writel(host, ATMCI_IDR, ~0UL)       |\ntimer_delete_sync(&host->timer)           |\ndma_release_channel(host->dma.chan)       |\nfree_irq(platform_get_irq(pdev, 0), host) |\n                                          | atmci_work_func\n                                          | // use host\n// devm resources released after          |\n// remove returns, host is freed          |\n                                          | // use host (use-after-free)\n\nFix it by canceling the work after all the sources that can schedule\nit (IRQ handler, timeout timer and DMA completion callback) have been\nstopped, and before proceeding with the remaining cleanup in\natmci_remove.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-26 15:17:10","updated_at":"2026-08-27 06:17:39"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/22aecf6c4721727a2f724ca0438bc7d4b609bf3f","name":"https://git.kernel.org/stable/c/22aecf6c4721727a2f724ca0438bc7d4b609bf3f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c125ee35a49a0518521b52b27631eef061b8719a","name":"https://git.kernel.org/stable/c/c125ee35a49a0518521b52b27631eef061b8719a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b5060ff2f5460795a3e9f7cdf5052aa42f96ff81","name":"https://git.kernel.org/stable/c/b5060ff2f5460795a3e9f7cdf5052aa42f96ff81","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7599a73ff66d195a908f5d88b427933a9fb1c02a","name":"https://git.kernel.org/stable/c/7599a73ff66d195a908f5d88b427933a9fb1c02a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-80556","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80556","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7d2be0749a59096a334c94dc48f43294193cb8ed 22aecf6c4721727a2f724ca0438bc7d4b609bf3f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7d2be0749a59096a334c94dc48f43294193cb8ed b5060ff2f5460795a3e9f7cdf5052aa42f96ff81 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7d2be0749a59096a334c94dc48f43294193cb8ed 7599a73ff66d195a908f5d88b427933a9fb1c02a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7d2be0749a59096a334c94dc48f43294193cb8ed c125ee35a49a0518521b52b27631eef061b8719a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.27","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.27 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.105 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.46 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.10 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"80556","cve":"CVE-2026-80556","epss":"0.001250000","percentile":"0.024770000","score_date":"2026-08-27","updated_at":"2026-08-28 00:03:39"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/mmc/host/atmel-mci.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"22aecf6c4721727a2f724ca0438bc7d4b609bf3f","status":"affected","version":"7d2be0749a59096a334c94dc48f43294193cb8ed","versionType":"git"},{"lessThan":"b5060ff2f5460795a3e9f7cdf5052aa42f96ff81","status":"affected","version":"7d2be0749a59096a334c94dc48f43294193cb8ed","versionType":"git"},{"lessThan":"7599a73ff66d195a908f5d88b427933a9fb1c02a","status":"affected","version":"7d2be0749a59096a334c94dc48f43294193cb8ed","versionType":"git"},{"lessThan":"c125ee35a49a0518521b52b27631eef061b8719a","status":"affected","version":"7d2be0749a59096a334c94dc48f43294193cb8ed","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/mmc/host/atmel-mci.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.27"},{"lessThan":"2.6.27","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.105","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.46","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.105","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.46","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.10","versionStartIncluding":"2.6.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"2.6.27","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: atmel-mci: Fix use-after-free in atmci_remove due to race condition\n\nIn atmci_probe, &host->bh_work is bound with atmci_work_func, and\natmci_interrupt, atmci_timeout_timer and atmci_dma_complete can all\nqueue this work on system_bh_wq.\n\nIf we remove the module, atmci_remove makes cleanup and the memory\nallocated for host with devm_kzalloc() is released after the remove\ncallback returns, while the work mentioned above may still be pending\nor running. The sequence of operations that may lead to a UAF bug is\nas follows:\n\nCPU0                                      CPU1\n\n                                          | atmci_interrupt\n                                          | queue_work(system_bh_wq,\n                                          |            &host->bh_work)\natmci_remove                              |\natmci_cleanup_slot(...)                   |\natmci_writel(host, ATMCI_IDR, ~0UL)       |\ntimer_delete_sync(&host->timer)           |\ndma_release_channel(host->dma.chan)       |\nfree_irq(platform_get_irq(pdev, 0), host) |\n                                          | atmci_work_func\n                                          | // use host\n// devm resources released after          |\n// remove returns, host is freed          |\n                                          | // use host (use-after-free)\n\nFix it by canceling the work after all the sources that can schedule\nit (IRQ handler, timeout timer and DMA completion callback) have been\nstopped, and before proceeding with the remaining cleanup in\natmci_remove."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - The UAF is in atmci_remove() platform-driver teardown (rmmod/sysfs unbind) while atmci_work_func() runs from IRQ/DMA/timer-driven work queued via local /dev/mmcblk* block I/O; there is no network, Bluetooth, or remote protocol path into this driver.\nAC:L - This is a classic removal-vs-workqueue race where the attacker controls both sides: concurrent mmcblk read/write (or SDIO traffic) schedules bh_work via atmci_interrupt/atmci_dma_complete/atmci_timeout_timer while timing driver unbind/rmmod, and can retry rapidly to win reliably.\nPR:L - Per CNA driver-removal UAF precedent, an unprivileged local user with /dev/mmcblk* access can drive the IRQ/DMA/timer side via block I/O while teardown occurs (admin unbind, rmmod, or automated reload during maintenance/reboot); init-namespace root is not the minimum privilege bar.\nUI:N - No victim interaction is required; the attacker performs mmcblk I/O themselves (or sustains SDIO/MMC activity) and coordinates or piggybacks on driver removal without needing another user to mount media or click anything.\nS:U - Impact is kernel heap corruption and privilege escalation within the same kernel security boundary on the Atmel/Microchip embedded host; this is not a VM escape, IOMMU bypass, or cross-authority sandbox breakout.\nC:H - atmci_work_func() dereferences the freed atmel_mci host (locks, mrq/data pointers, MMIO via host->regs); this kernel heap UAF enables arbitrary read primitives through controlled reuse of the freed structure.\nI:H - The UAF work handler performs MMIO writes (atmci_writel), manipulates mmc_request state, and invokes stop_transfer callbacks on attacker-influenced freed memory, enabling heap spraying and arbitrary kernel write/control-flow hijack.\nA:H - Use-after-free in atmci_work_func() during driver removal can cause immediate kernel oops/panic from dereferencing freed host memory, and successful exploitation can crash or hang the system even when not leveraged for code execution."}]}],"providerMetadata":{"dateUpdated":"2026-08-27T05:01:44.585Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/22aecf6c4721727a2f724ca0438bc7d4b609bf3f"},{"url":"https://git.kernel.org/stable/c/b5060ff2f5460795a3e9f7cdf5052aa42f96ff81"},{"url":"https://git.kernel.org/stable/c/7599a73ff66d195a908f5d88b427933a9fb1c02a"},{"url":"https://git.kernel.org/stable/c/c125ee35a49a0518521b52b27631eef061b8719a"}],"title":"mmc: atmel-mci: Fix use-after-free in atmci_remove due to race condition","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-80556","datePublished":"2026-08-26T14:37:23.573Z","dateReserved":"2026-08-26T14:34:25.767Z","dateUpdated":"2026-08-27T05:01:44.585Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-26 15:17:10","lastModifiedDate":"2026-08-27 06:17:39","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"80556","Ordinal":"1","Title":"mmc: atmel-mci: Fix use-after-free in atmci_remove due to race c","CVE":"CVE-2026-80556","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"80556","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: atmel-mci: Fix use-after-free in atmci_remove due to race condition\n\nIn atmci_probe, &host->bh_work is bound with atmci_work_func, and\natmci_interrupt, atmci_timeout_timer and atmci_dma_complete can all\nqueue this work on system_bh_wq.\n\nIf we remove the module, atmci_remove makes cleanup and the memory\nallocated for host with devm_kzalloc() is released after the remove\ncallback returns, while the work mentioned above may still be pending\nor running. The sequence of operations that may lead to a UAF bug is\nas follows:\n\nCPU0                                      CPU1\n\n                                          | atmci_interrupt\n                                          | queue_work(system_bh_wq,\n                                          |            &host->bh_work)\natmci_remove                              |\natmci_cleanup_slot(...)                   |\natmci_writel(host, ATMCI_IDR, ~0UL)       |\ntimer_delete_sync(&host->timer)           |\ndma_release_channel(host->dma.chan)       |\nfree_irq(platform_get_irq(pdev, 0), host) |\n                                          | atmci_work_func\n                                          | // use host\n// devm resources released after          |\n// remove returns, host is freed          |\n                                          | // use host (use-after-free)\n\nFix it by canceling the work after all the sources that can schedule\nit (IRQ handler, timeout timer and DMA completion callback) have been\nstopped, and before proceeding with the remaining cleanup in\natmci_remove.","Type":"Description","Title":"mmc: atmel-mci: Fix use-after-free in atmci_remove due to race c"}]}}}