{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-89440",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-11T19:38:34.703Z",
        "datePublished": "2026-09-11T19:43:09.402Z",
        "dateUpdated": "2026-10-19T08:46:49.770Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-19T08:46:49.770Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmmc: via-sdmmc: stop card-detect handling on probe failure\n\nrequest_irq() registers the SD card-detect interrupt and the probe enables\nit before mmc_add_host() runs. If mmc_add_host() fails, the error path only\nunmaps the registers and returns: the interrupt stays registered, so the\nhandler keeps running against the host once it is freed. via_sdc_isr()\ndereferences sdhost and its MMIO base and schedules carddet_work, which\nvia_sdc_card_detect() also runs against freed memory through its\ncontainer_of() dereference.\n\nAdd a probe-error path that disables and frees the interrupt and cancels\ncarddet_work before unmapping. carddet_work can re-enable the device\ninterrupt via via_reset_pcictrl(), which restores PCIINTCTRL, so mask it\nagain after cancelling the work.\n\nThis issue was found by an in-house static analysis tool and confirmed by\nmanual code review."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The leftover IRQ use-after-free is in the VIA VT9530 PCI SD/MMC host probe path (via_sd_probe enabling via_sdc_isr before mmc_add_host) on systems that already have this onboard/PCI reader; it is not reached by network packets or USB hotplug.\nAC:L - The driver arms the shared card-detect IRQ before mmc_add_host(); a failed add leaves via_sdc_isr registered against freed sdhost indefinitely, so a local attacker who induces device_add failure (memory pressure/reprobe) and reclaims the host slab does not depend on an uncontrolled race.\nPR:L - An unprivileged local user on a machine with this PCI reader can be present when probe fails and then spray the heap while the dangling shared IRQ fires; capability-gated PCI sysfs unbind is not required for the UAF itself, so PR:L is the higher-severity defensible bar.\nUI:N - No victim action such as inserting an SD card, mounting media, or opening a file is required; after failed probe the leftover ISR and carddet_work run from hardware or shared interrupts without another user's involvement.\nS:U - The use-after-free corrupts kernel heap and IRQ/workqueue state inside the host OS; this is standard in-kernel memory corruption, not a VM escape, IOMMU/DMA isolation bypass, or other cross-authority breakout.\nC:H - via_sdc_isr spin_locks and dereferences the freed via_crdr_mmc_host (MMIO bases and status registers) and may queue carddet_work that recovers the same object via container_of(), a kernel UAF that enables arbitrary disclosure via slab reuse.\nI:H - The same UAF lets a reclaimed host object supply lock, MMIO, and work pointers used for MMIO writes, work scheduling, and via_reset_pcictrl, enabling heap spraying and control-flow hijack rather than a crash-only outcome.\nA:H - IRQ-context dereference of freed sdhost after iounmap and devm mmc_free_host causes a kernel oops or panic even without full exploitation, so availability impact is High."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/mmc/host/via-sdmmc.c"
                    ],
                    "versions": [
                        {
                            "version": "63400da6cd37a9793c19bb6aed7131b58b975a04",
                            "lessThan": "5bb5327b92aae17e91c7228953c350a6ee3c94e8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0959cc1685eb19774300d43ef25e318b457b156b",
                            "lessThan": "d045596706d1b25d38af4a79980b017639fea9d1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ba91b413983a9235792523c6b9f7ba2586c4d75d",
                            "lessThan": "806409f12fdb14c9e4c56a64494c9b75f356cd49",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e4e46fb61e3bb4628170810d3f2b996b709b90d9",
                            "lessThan": "dde5b9c91e9fc64e54a2f186d3ae95868b4dbb02",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e4e46fb61e3bb4628170810d3f2b996b709b90d9",
                            "lessThan": "efe7f25dd27e35063477b4b0e7eed3675669fd99",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e4e46fb61e3bb4628170810d3f2b996b709b90d9",
                            "lessThan": "2550f89589caad7402d618d7dffc038582c94b6b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e4e46fb61e3bb4628170810d3f2b996b709b90d9",
                            "lessThan": "c2b8a624911999399cc14822fec3e35032b3cee4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e4e46fb61e3bb4628170810d3f2b996b709b90d9",
                            "lessThan": "088eaa92fcebaa6b957ccf9635afdf39643a577d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "076bcd2c93e16b05c10564e299d6e5d26a766d00",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "12b8e81b77c05c658efd9cde3585bbd65ae39b59",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "95025a8dd0ec015872f6c16473fe04d6264e68ca",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "f59ef2a47a228e51322ad76752a55a8917c56e38",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0ec94795114edc7e24ec71849dce42bfa61dafa3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.10.163",
                            "lessThan": "5.10.270",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.86",
                            "lessThan": "5.15.221",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.2",
                            "lessThan": "6.1.188",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.9.337",
                            "lessThan": "4.10",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.303",
                            "lessThan": "4.15",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.270",
                            "lessThan": "4.20",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.229",
                            "lessThan": "5.5",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.16",
                            "lessThan": "6.1",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/mmc/host/via-sdmmc.c"
                    ],
                    "versions": [
                        {
                            "version": "6.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.270",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.221",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.188",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.157",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.109",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.50",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.4",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10.163",
                                    "versionEndExcluding": "5.10.270"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.15.86",
                                    "versionEndExcluding": "5.15.221"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.2",
                                    "versionEndExcluding": "6.1.188"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.6.157"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.12.109"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.18.50"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "7.2.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "7.3"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.9.337"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.14.303"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.19.270"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.4.229"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.0.16"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/5bb5327b92aae17e91c7228953c350a6ee3c94e8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d045596706d1b25d38af4a79980b017639fea9d1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/806409f12fdb14c9e4c56a64494c9b75f356cd49"
                },
                {
                    "url": "https://git.kernel.org/stable/c/dde5b9c91e9fc64e54a2f186d3ae95868b4dbb02"
                },
                {
                    "url": "https://git.kernel.org/stable/c/efe7f25dd27e35063477b4b0e7eed3675669fd99"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2550f89589caad7402d618d7dffc038582c94b6b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c2b8a624911999399cc14822fec3e35032b3cee4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/088eaa92fcebaa6b957ccf9635afdf39643a577d"
                }
            ],
            "title": "mmc: via-sdmmc: stop card-detect handling on probe failure",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}