CVE-2024-26898
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | faf0b4c5e00b, f98364e92662, ad80c34944d7, a16fbb800646, 7dd09fa80b07, 74ca3ef68d2f, 1a54aa506b3b, 079cba4f4e30 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7562f876cd93800f2f8c89445f2a563590b24e09, 7562f876cd93800f2f8c89445f2a563590b24e09, 7562f876cd93800f2f8c89445f2a563590b24e09 |
| Linux | Linux | 2.6.22, 0, 4.19.311 |
| linux | linux_kernel | 7562f876cd93, 7562f876cd93, 7562f876cd93 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2 | perf | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | kernel-modules-extra | 0 |
| linux | linux_kernel | 2.6.22, 2.6.22, 2.6.22 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | kernel-livepatch-4.14.343-259.562 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-livepatch-6.1.84-99.169 | 0 |
| amazon:2023 | kernel-devel | 0 |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 |
| Linux | Linux | 7562f876cd93800f2f8c89445f2a563590b24e09, 2.6.22, 0 |
| amazon:2 | kernel-headers | 0 |
| amazon:2023 | kernel | 0 |
…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