CVE-2024-26898: aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts
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().
Security readout for executives and security teams
Plain-English summary
A Linux ATA over Ethernet driver error can release a network-device object while queued transmission work still uses it. A local, low-privileged attacker may be able to crash the system and potentially execute code. Risk is concentrated on systems where the AoE driver is present and reachable, not every Linux installation equally.
Executive priority
Prioritize as high for exposed multi-user Linux systems using AoE, especially where untrusted local users or workloads exist. For systems without the driver or a reachable local attack path, urgency may be lower after verification. Establish affected inventory promptly, then apply supported kernel updates through normal change control.
Technical view
CVE-2024-26898 is a CWE-416 use-after-free in aoecmd_cfg_pkts(). The success path prematurely calls dev_put(ifp), while later queued transmission through tx() may dereference that net_device. The upstream correction retains the reference until transmission completes. The supplied CVSS 3.1 score is 7.8: local access, low privileges, no user interaction, and potentially complete confidentiality, integrity, and availability impact.
Likely exposure
Potentially affected Linux kernels include the supplied range from 2.6.22 through listed 6.x releases. Practical exposure depends on whether the ATA over Ethernet driver is available and used. The bundle does not establish exposure for specific distributions, configurations, appliances, or cloud environments; those require vendor and system-level verification.
Exploitation context
The supplied vector describes local, low-complexity exploitation requiring low privileges and no user interaction. A successful race could cause denial of service or potentially code execution. CISA KEV status is false, and the provided sources do not establish active exploitation or public weaponization. Treat code execution as a potential outcome, not confirmed exploitation.
Researcher notes
The record says this patch addresses CVE-2023-6270, indicating overlap that vulnerability databases may represent separately; deduplicate findings carefully. The decisive lifetime error is moving dev_put() from successful packet initialization to after transmission. The bundle supplies multiple stable-branch commits but does not map each commit to every listed version or distribution package.
Mitigation direction
Upgrade to a vendor-supported kernel containing the applicable cited stable fix.
Prioritize multi-user or otherwise untrusted systems where the AoE driver is enabled or used.
If immediate upgrading is impossible, consult distribution guidance for supported mitigations.
Avoid assuming a version is safe solely from the broad version list; verify vendor backports.
Validation and detection
Inventory running kernel versions across Linux hosts and appliances.
Determine whether the ATA over Ethernet driver is available, loaded, or operationally required.
Check distribution advisories and package changelogs for a backported CVE-2024-26898 fix.
Confirm the installed kernel contains the applicable stable patch or an equivalent vendor backport.
After remediation, verify hosts boot the updated kernel rather than retaining the vulnerable release.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-416: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
3ADP providers
14Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-416 · source CWE mapping
Use After Free
Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.