CVE-2024-26898

aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts

HIGH
7.8
CVSS Score
Published: April 17, 2024 at 10:27 AM UTC
Updated: October 15, 2026 at 01:17 AM UTC
5 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 CPU 1518-4 Pn /dp MFP FirmwareSiplus S7-1500 CPU 1518-4 Pn /dp MFP Firmware

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.22 ≤ v < 4.19.3114.20 ≤ v < 5.4.2735.11 ≤ v < 5.15.1535.16 ≤ v < 6.1.835.5 ≤ v < 5.10.2146.2 ≤ v < 6.6.236.7 ≤ v < 6.7.116.8 ≤ v < 6.8.22.6.227562f876cd937562f876cd93800f2f8c89445f2a563590b24e09
Vendor states this is fixed in 079cba4f4e30 (fixed)
Vendor states this is fixed in 1a54aa506b3b (fixed)
Vendor states this is fixed in 1a54aa506b3b2f31496731039e49778f54eee881 (fixed)
Vendor states this is fixed in 74ca3ef68d2f (fixed)
Vendor states this is fixed in 74ca3ef68d2f449bc848c0a814cefc487bf755fa (fixed)
Vendor states this is fixed in 79cba4f4e307c69878226fdf5228c20aa1c969c (fixed)
Vendor states this is fixed in 7dd09fa80b07 (fixed)
Vendor states this is fixed in 7dd09fa80b0765ce68bfae92f4e2f395ccf0fba4 (fixed)
Vendor states this is fixed in a16fbb800646 (fixed)
Vendor states this is fixed in a16fbb80064634b254520a46395e36b87ca4731e (fixed)
Vendor states this is fixed in ad80c34944d7 (fixed)
Vendor states this is fixed in ad80c34944d7175fa1f5c7a55066020002921a99 (fixed)
Vendor states this is fixed in eb48680b0255 (fixed)
Vendor states this is fixed in eb48680b0255a9e8a9bdc93d6a55b11c31262e62 (fixed)
Vendor states this is fixed in f98364e92662 (fixed)
Vendor states this is fixed in f98364e926626c678fb4b9004b75cacf92ff0662 (fixed)
Vendor states this is fixed in faf0b4c5e00b (fixed)
Vendor states this is fixed in faf0b4c5e00bb680e8e43ac936df24d3f48c8e65 (fixed)
Vendor states this is fixed in 2.6.22 (unaffected)
Vendor states this is fixed in 4.19.311 (unaffected)
Vendor states this is fixed in 5.10.214 (unaffected)
Vendor states this is fixed in 5.15.153 (unaffected)
Vendor states this is fixed in 5.4.273 (unaffected)
Vendor states this is fixed in 6.1.83 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)
V3.1.0 ≤ v < V3.1.53.1.0
Affected range stops below V3.1.5, so it looks safe — our inference, not a vendor statement
V3.1.0 ≤ v < V3.1.53.1.0
Affected range stops below V3.1.5, so it looks safe — our inference, not a vendor statement
V3.1.0 ≤ v < V3.1.53.1.0
Affected range stops below V3.1.5, so it looks safe — our inference, not a vendor statement

References (13)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/079cba4f4e307c69878226fdf5228c20aa1c969c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1a54aa506b3b2f31496731039e49778f54eee881
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/74ca3ef68d2f449bc848c0a814cefc487bf755fa
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7dd09fa80b0765ce68bfae92f4e2f395ccf0fba4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a16fbb80064634b254520a46395e36b87ca4731e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ad80c34944d7175fa1f5c7a55066020002921a99
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb48680b0255a9e8a9bdc93d6a55b11c31262e62
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f98364e926626c678fb4b9004b75cacf92ff0662

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card