mmc: via-sdmmc: cancel card-detect work on remove (Linux Linux)

CVE-2026-89441
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 3 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected f0bf7f61b8405224bc52fc9a3ccd167a68126e00 < 28e8e9e1f3bdb75b611ea14c39775455528c4012 ; affected f0bf7f61b8405224bc52fc9a3ccd167a68126e00 < a32603f9b4dd0a1c3ea5845eec7c95f5f8741b3d ; affected f0bf7f61b8405224bc52fc9a3ccd167a68126e00 < 3ee1b5c8618a26811840bf9f45cb3120dac1e273 ; affected f0bf7f61b8405224bc52fc9a3ccd167a68126e00 < 55d71c70f11d9f92c7d2653774001e98cb509deb ; affected f0bf7f61b8405224bc52fc9a3ccd167a68126e00 < 0a3c70191868fb007c03ff79693ad4e4b3fdcbb8 ; affected f0bf7f61b8405224bc52fc9a3ccd167a68126e00 < f7ff3027ef004a331ef911a4886f12bc2e996037
Linux · Linuxaffected 2.6.31 ; unaffected 0 < 2.6.31 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD