1. Accueil
  2. Vulnérabilités
  3. CVE-2024-49982

CVE-2024-49982

aoe: fix the potential use-after-free problem in more places

Publiée le 21 oct. 2024 · modifiée le 15 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 40/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: aoe: fix the potential use-after-free problem in more places For fixing CVE-2023-6270, f98364e92662 ("aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts") makes tx() calling dev_put() instead of doing in aoecmd_cfg_pkts(). It avoids that the tx() runs into use-after-free. Then Nicolai Stange found more places in aoe have potential use-after-free problem with tx(). e.g. revalidate(), aoecmd_ata_rw(), resend(), probe() and aoecmd_cfg_rsp(). Those functions also use aoenet_xmit() to push packet to tx queue. So they should also use dev_hold() to increase the refcnt of skb->dev. On the other hand, moving dev_put() to tx() causes that the refcnt of skb->dev be reduced to a negative value, because corresponding dev_hold() are not called in revalidate(), aoecmd_ata_rw(), resend(), probe(), and aoecmd_cfg_rsp(). This patch fixed this issue.

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

Produits et versions affectés

Linux (19 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux de 4.19.311 (inclus) à 4.19.323 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.4.273 (inclus) à 5.4.285 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.10.214 (inclus) à 5.10.227 (exclu) — CNA (éditeur ou attributeur)
Linux de 5.15.153 (inclus) à 5.15.168 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.1.83 (inclus) à 6.1.113 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.6.23 (inclus) à 6.6.55 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.7.11 (inclus) à 6.8 (exclu) — CNA (éditeur ou attributeur)
Linux de 6.8.2 (inclus) à 6.9 (exclu) — CNA (éditeur ou attributeur)
Linux 6.9 — CNA (éditeur ou attributeur)
Linux kernel de 5.10.214 (inclus) à 5.10.227 (exclu) — NVD
Linux kernel de 5.15.153 (inclus) à 5.15.168 (exclu) — NVD
Linux kernel de 6.1.83 (inclus) à 6.1.113 (exclu) — NVD
Linux kernel de 6.6.23 (inclus) à 6.6.55 (exclu) — NVD
Linux kernel de 6.7.11 (inclus) à 6.8.2 (exclu) — NVD
Linux kernel de 6.9 (inclus) à 6.10.14 (exclu) — NVD
Linux kernel de 6.11 (inclus) à 6.11.3 (exclu) — NVD
Linux kernel 4.19.311 — NVD
Linux kernel 5.4.273 — NVD
Linux kernel 6.12 — 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:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-416 · Corruption mémoire

Comment sont obtenues et calculées ces données