ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.18 % · centile 8 ()
- É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: ASoC: SOF: ipc3-control: Fix heap overflow in bytes_ext put/get The ipc_control_data buffer is allocated as kzalloc(max_size), where max_size covers the entire struct sof_ipc_ctrl_data including its flexible array payload. However, the bounds checks in bytes_ext_put and _bytes_ext_get compared user data lengths against max_size directly, ignoring that cdata->data sits at an offset of sizeof(struct sof_ipc_ctrl_data) bytes into the allocation. This allowed writing up to sizeof(struct sof_ipc_ctrl_data) bytes past the end of the heap buffer from unprivileged userspace via the ALSA TLV kcontrol interface, and similarly allowed over-reading adjacent heap data on the get path. Fix all bounds checks to subtract sizeof(*cdata) from max_size so they reflect the actual space available at the cdata->data offset. Also fix the error-path restore in bytes_ext_put which wrote to cdata->data instead of cdata, causing the same overflow.
Références
- https://git.kernel.org/stable/c/af4b437a463ac0482ba705434a44da06783778e6
- https://git.kernel.org/stable/c/1adde1941bba7b0d7104b86ed819d48d81cb0ad9
- https://git.kernel.org/stable/c/eaa67e139c9217099e2a7b717aeeb46c65de3494
- https://git.kernel.org/stable/c/121577383b5cf221e86581e0f2bcca4c66f17469
- https://git.kernel.org/stable/c/f4933e1d11b97b6a0951648b7c3e53850e1b33a9
- https://git.kernel.org/stable/c/fd46668d538993218eea19c6925c868ac0f2630c
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-59161
- GCVE · GCVE-0-2026-72262
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1334 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1288 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1231 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1202 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1164 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 67ec2a091630c28ea8d05db2bd7178a05b04b7e6 < af4b437a463ac0482ba705434a44da06783778e6 ; affected 67ec2a091630c28ea8d05db2bd7178a05b04b7e6 < 1adde1941bba7b0d7104b86ed819d48d81cb0ad9 ; affected 67ec2a091630c28ea8d05db2bd7178a05b04b7e6 < eaa67e139c9217099e2a7b717aeeb46c65de3494 ; affected 67ec2a091630c28ea8d05db2bd7178a05b04b7e6 < 121577383b5cf221e86581e0f2bcca4c66f17469 ; affected 67ec2a091630c28ea8d05db2bd7178a05b04b7e6 < f4933e1d11b97b6a0951648b7c3e53850e1b33a9 ; affected 67ec2a091630c28ea8d05db2bd7178a05b04b7e6 < fd46668d538993218eea19c6925c868ac0f2630c |
| Linux · Linux | affected 5.18 ; unaffected 0 < 5.18 ; unaffected 6.1.184 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.* ; unaffected 6.12.97 ≤ 6.12.* ; unaffected 6.18.40 ≤ 6.18.* |
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 |