ALSA: pcm: oss: Fix setup list UAF on proc write error (Linux Linux)

CVE-2026-64001
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: oss: Fix setup list UAF on proc write error snd_pcm_oss_proc_write() links a newly allocated setup entry into the OSS setup list before duplicating the task name. If the task-name allocation fails, the error path frees the already linked entry and leaves setup_list pointing at freed memory. A later OSS device open can then walk the stale list entry in snd_pcm_oss_look_for_setup() and dereference freed memory. Allocate the task name and initialize the setup entry before publishing the entry on setup_list. Also fetch the initial proc read iterator only after taking setup_mutex, so all setup_list traversal follows the same list lifetime rules.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

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:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 060d77b9c04acd7aef60790398a53f731db8c8fe < d9df965284abde27ba6bfbdfc8407697cf6802f1 ; affected 060d77b9c04acd7aef60790398a53f731db8c8fe < 8be4efd0dc0093eb7a02ad1aac936bca2a1f04ce ; affected 060d77b9c04acd7aef60790398a53f731db8c8fe < e13922bb97b4e6f94f8ac02d034f2d4bd65eeb3c ; affected 060d77b9c04acd7aef60790398a53f731db8c8fe < be387230dc22d870afd0e5d35912b07c2bc323bd ; affected 060d77b9c04acd7aef60790398a53f731db8c8fe < 4cc54bdd54b337e77115be5b55577d1c58608eae
Linux · Linuxaffected 2.6.17 ; unaffected 0 < 2.6.17 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.93 ≤ 6.12.* ; unaffected 6.18.35 ≤ 6.18.* ; unaffected 7.0.12 ≤ 7.0.*

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