mmc: via-sdmmc: cancel card-detect work on remove
Summary
| CVE | CVE-2026-89441 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-11 20:19:24 UTC |
| Updated | 2026-09-11 20:19:24 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
mmc: via-sdmmc: cancel card-detect work on remove
Disabling the device interrupt and freeing the IRQ prevents new card-detect
work from being queued, but carddet_work already queued by the handler can
still run after via_sd_remove() returns. via_sdc_card_detect() recovers the
host through container_of() and dereferences its MMIO base; once remove()
returns the host can be freed, so that work would touch freed memory.
Cancel carddet_work after freeing the IRQ and before cancelling
finish_bh_work, which the card-detect handler can also queue. carddet_work
can re-enable the interrupt through via_reset_pcictrl(); mask it again
afterwards.
This issue was found by an in-house static analysis tool and confirmed by
manual code review. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected f0bf7f61b8405224bc52fc9a3ccd167a68126e00 f7ff3027ef004a331ef911a4886f12bc2e996037 git |
Not specified |
| CNA |
Linux |
Linux |
affected f0bf7f61b8405224bc52fc9a3ccd167a68126e00 eaca730c6f5e3609df62a0469fb789235a93d276 git |
Not specified |
| CNA |
Linux |
Linux |
affected f0bf7f61b8405224bc52fc9a3ccd167a68126e00 57e5d877f898d5e5c9d672a77bb6bdd24f0d9bf5 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2.6.31 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 2.6.31 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.50 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.4 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/f7ff3027ef004a331ef911a4886f12bc2e996037 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/57e5d877f898d5e5c9d672a77bb6bdd24f0d9bf5 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/eaca730c6f5e3609df62a0469fb789235a93d276 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.