1. Accueil
  2. Vulnérabilités
  3. CVE-2022-49772

CVE-2022-49772

ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()

Publiée le 1 mai 2025 · modifiée le 5 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Faible 25/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open() snd_usbmidi_output_open() has a check of the NULL port with snd_BUG_ON(). snd_BUG_ON() was used as this shouldn't have happened, but in reality, the NULL port may be seen when the device gives an invalid endpoint setup at the descriptor, hence the driver skips the allocation. That is, the check itself is valid and snd_BUG_ON() should be dropped from there. Otherwise it's confusing as if it were a real bug, as recently syzbot stumbled on it.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (9 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux 4.15 — CNA (éditeur ou attributeur)
Linux kernel avant 4.9.334 (exclu) — NVD
Linux kernel de 4.10 (inclus) à 4.14.300 (exclu) — NVD
Linux kernel de 4.15 (inclus) à 4.19.267 (exclu) — NVD
Linux kernel de 4.20 (inclus) à 5.4.225 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.156 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.80 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 6.0.10 (exclu) — NVD
Linux kernel 6.1 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
NVD-CWE-noinfo · Non classé

Comment sont obtenues et calculées ces données