dmaengine: fix use-after-free in dma_chan_put() and dma_release_channel() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.18 % · centile 7 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: fix use-after-free in dma_chan_put() and dma_release_channel() When dma_device_put() drops the last reference on chan->device->ref, dma_device_release() runs and may free the dma_device along with its channels. dma_chan_put() then still reads chan->device->owner via dma_chan_to_owner() for the trailing module_put(). KASAN catches it: slab-use-after-free in dma_chan_put+0x3e6/0x4c0 Read of size 8 by task insmod/6319 Freed by task 6319: kfree+0x225/0x470 dma_chan_put+0x395/0x4c0 dmaengine_put+0xf8/0x160 Cache the module owner in dma_chan_put() before the put so the trailing module_put() does not need chan->device.
Références
- https://git.kernel.org/stable/c/b92c502595336a3cc5bb7a060170891366745a5d
- https://git.kernel.org/stable/c/855187a88bdf762c46b6849307597e3e02bfc1d9
- https://git.kernel.org/stable/c/c9780b601438137494b407eb4301bb3de2587ac9
- https://git.kernel.org/stable/c/07eb075b60d565a5e465a1945a80cc62807492ad
- https://git.kernel.org/stable/c/9319dd64d5cdef851841c091f30424faa2284c31
- https://git.kernel.org/stable/c/6cf31716b77a71c0d634106f4f3951377b8dc6dc
- https://git.kernel.org/stable/c/02bd02c585293634b213b142cba63cbf77891f6b
- https://git.kernel.org/stable/c/e873c74132f0c5f1452816cd9bb26208f0bba1e1
Références européennes
- ENISA EUVD · EUVD-2026-93328
- GCVE · GCVE-0-2026-98343
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1374 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 8ad342a863590b24ce77681b7e081363fb3333f7 < b92c502595336a3cc5bb7a060170891366745a5d ; affected 8ad342a863590b24ce77681b7e081363fb3333f7 < 855187a88bdf762c46b6849307597e3e02bfc1d9 ; affected 8ad342a863590b24ce77681b7e081363fb3333f7 < c9780b601438137494b407eb4301bb3de2587ac9 ; affected 8ad342a863590b24ce77681b7e081363fb3333f7 < 07eb075b60d565a5e465a1945a80cc62807492ad ; affected 8ad342a863590b24ce77681b7e081363fb3333f7 < 9319dd64d5cdef851841c091f30424faa2284c31 ; affected 8ad342a863590b24ce77681b7e081363fb3333f7 < 6cf31716b77a71c0d634106f4f3951377b8dc6dc |
| Linux · Linux | affected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |