VDB

CVE-2024-26898

CVE-2024-26898 PUBLISHED CVSS 7.8 HIGH

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

Reported by linux · Published April 17, 2024

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinuxfaf0b4c5e00b, f98364e92662, ad80c34944d7, a16fbb800646, 7dd09fa80b07, 74ca3ef68d2f, 1a54aa506b3b, 079cba4f4e30

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux7562f876cd93800f2f8c89445f2a563590b24e09, 7562f876cd93800f2f8c89445f2a563590b24e09, 7562f876cd93800f2f8c89445f2a563590b24e09
LinuxLinux2.6.22, 0, 4.19.311
linuxlinux_kernel7562f876cd93, 7562f876cd93, 7562f876cd93
amazon:2023kernel-headers0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2perf0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2023kernel-modules-extra0
linuxlinux_kernel2.6.22, 2.6.22, 2.6.22
amazon:2kernel-tools-devel0
amazon:2kernel-livepatch-4.14.343-259.5620
amazon:2023kernel-tools-devel0
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.1.84-99.1690
amazon:2023kernel-devel0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
LinuxLinux7562f876cd93800f2f8c89445f2a563590b24e09, 2.6.22, 0
amazon:2kernel-headers0
amazon:2023kernel0

…and 11 more

Timeline

  • Apr 17, 2024 CVE Published
  • Apr 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (28 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 15, 2026 Security Advisory (255 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (198 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26898
vulnetix vdb fixes CVE-2024-26898

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26898/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›