ALSA: pcmtest: handle multiple wraps in random capture fill (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.21 % · centile 11 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: pcmtest: handle multiple wraps in random capture fill The random capture helpers assume that the data generated for one timer tick wraps the DMA ring at most once. However, b_rw describes 200 ms of audio because the timer runs at 5 Hz, so it can be several times larger than a small ring. For 48 kHz, S16_LE, four-channel capture with a 512-frame buffer, the DMA ring is 4096 bytes while one tick generates 76800 bytes. After filling the 4096-byte tail, the existing code issues a second 72704-byte write from the ring base, writing 68608 bytes beyond the ring. Both interleaved and non-interleaved capture are affected. KASAN reports the first write into the adjacent free page as a use-after-free in the random-byte generator. The underlying defect is an out-of-bounds write from the live DMA ring, not a stale DMA allocation. Split each random write repeatedly at the interleaved ring or per-channel block boundary. Keep the hardware-pointer update exactly once after the complete logical write. The issue reproduced on three of three clean boots. With this change, the same vulnerable geometry completed six times without a sanitizer finding. Boundary, pattern-fill, no-timer, open/close, and module-reload controls also completed normally. snd-pcmtest is a test driver, and selecting random fill requires an administrator-controlled module parameter. The written values come from the kernel random generator; no privilege escalation or attacker-controlled write primitive was demonstrated.
Références
- https://git.kernel.org/stable/c/31b98cff13e17c6060342dfee73b4aeb2e383b16
- https://git.kernel.org/stable/c/8f8555e03bb2596b0d521c5b95c72cbd76e7d9af
- https://git.kernel.org/stable/c/5cb07a5941b1e3dbe655110618869a81af68907e
- https://git.kernel.org/stable/c/76319a56f069bb950d9cebbc1a291cbfa94a1c1f
- https://git.kernel.org/stable/c/6541871e8e63e721733cd120af4d9cd22c5ef62f
Références européennes
- ENISA EUVD · EUVD-2026-130157
- GCVE · GCVE-0-2026-99483
Avis du CERT-FR
- CERTFR-2026-AVI-1639 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 315a3d57c64c55901d6fe5a5eef3b3e51d215381 < 31b98cff13e17c6060342dfee73b4aeb2e383b16 affectée : ≥ 315a3d57c64c55901d6fe5a5eef3b3e51d215381 < 8f8555e03bb2596b0d521c5b95c72cbd76e7d9af affectée : ≥ 315a3d57c64c55901d6fe5a5eef3b3e51d215381 < 5cb07a5941b1e3dbe655110618869a81af68907e affectée : ≥ 315a3d57c64c55901d6fe5a5eef3b3e51d215381 < 76319a56f069bb950d9cebbc1a291cbfa94a1c1f affectée : ≥ 315a3d57c64c55901d6fe5a5eef3b3e51d215381 < 6541871e8e63e721733cd120af4d9cd22c5ef62f Autres versions : non affectée |
| Linux · Linux | affectée : 6.5 non affectée : ≥ 0 < 6.5 non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.117 ≤ 6.12.* non affectée : ≥ 6.18.61 ≤ 6.18.* non affectée : ≥ 7.3.2 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * Autres versions : affectée |
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 |