ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3() (Linux Linux)

CVE-2025-38249
HIGH 7.1

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 8 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3() In snd_usb_get_audioformat_uac3(), the length value returned from snd_usb_ctl_msg() is used directly for memory allocation without validation. This length is controlled by the USB device. The allocated buffer is cast to a uac3_cluster_header_descriptor and its fields are accessed without verifying that the buffer is large enough. If the device returns a smaller than expected length, this leads to an out-of-bounds read. Add a length check to ensure the buffer is large enough for uac3_cluster_header_descriptor.

Faiblesses (CWE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/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 9a2fe9b801f585baccf8352d82839dcd54b300cf < 24ff7d465c4284529bbfa207757bffb6f44b6403 ; affected 9a2fe9b801f585baccf8352d82839dcd54b300cf < 2dc1c3edf67abd30c757f8054a5da61927cdda21 ; affected 9a2fe9b801f585baccf8352d82839dcd54b300cf < c3fb926abe90d86f5e3055e0035f04d9892a118b ; affected 9a2fe9b801f585baccf8352d82839dcd54b300cf < 6eb211788e1370af52a245d4d7da35c374c7b401 ; affected 9a2fe9b801f585baccf8352d82839dcd54b300cf < 74fcb3852a2f579151ce80b9ed96cd916ba0d5d8 ; affected 9a2fe9b801f585baccf8352d82839dcd54b300cf < 0ee87c2814deb5e42921281116ac3abcb326880b
Linux · Linuxaffected 4.17 ; unaffected 0 < 4.17 ; unaffected 5.4.296 ≤ 5.4.* ; unaffected 5.10.240 ≤ 5.10.* ; unaffected 5.15.187 ≤ 5.15.* ; unaffected 6.1.143 ≤ 6.1.*

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