Aller au contenu
7.8 Élevée

CVE-2024-26898 In the Linux kernel, the following vulnerability has been resolved: aoe: fix the potential use-after-free problem in…

Description

In the Linux kernel, the following vulnerability has been resolved: aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts This patch is against CVE-2023-6270. The description of cve is: A flaw was found in the ATA over Ethernet (AoE) driver in the Linux kernel. The aoecmd_cfg_pkts() function improperly updates the refcnt on `struct net_device`, and a use-after-free can be triggered by racing between the free on the struct and the access through the `skbtxq` global queue. This could lead to a denial of service condition or potential code execution. In aoecmd_cfg_pkts(), it always calls dev_put(ifp) when skb initial code is finished. But the net_device ifp will still be used in later tx()->dev_queue_xmit() in kthread. Which means that the dev_put(ifp) should NOT be called in the success path of skb initial code in aoecmd_cfg_pkts(). Otherwise tx() may run into use-after-free because the net_device is freed. This patch removed the dev_put(ifp) in the success path in aoecmd_cfg_pkts(), and added dev_put() after skb xmit in tx().

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.9 premières → < 6.9 6.9
Linux 6.8 premières → < 6.8.2 6.8.2
Linux 6.7 premières → < 6.7.11 6.7.11
Linux 6.6 premières → < 6.6.23 6.6.23
Linux 6.1 premières → < 6.1.83 6.1.83
Linux 5.15 premières → < 5.15.153 5.15.153
Linux 5.10 premières → < 5.10.214 5.10.214
Linux 5.4 premières → < 5.4.273 5.4.273
Linux 4.19 premières → < 4.19.311 4.19.311
Afficher les 6 autres branches
Produit Versions touchées Corrigé en
Linux 2.6.22 Pas de correctif indiqué
linux_kernel Versions non publiées
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 3.1.0 → < 3.1.5 3.1.5

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE