# CVE-2024-26898: aoe: fix the potential use-after-free problem in aoecmd\_cfg\_pkts

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.42% (percentile 28, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2024-04-17T10:27:48.466Z
- **Modified:** 2026-10-15T01:17:30.550Z

## Who should check

- Anyone running Linux \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< ad80c34944d7175fa1f5c7a55066020002921a99; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 1a54aa506b3b2f31496731039e49778f54eee881; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< faf0b4c5e00bb680e8e43ac936df24d3f48c8e65; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 7dd09fa80b0765ce68bfae92f4e2f395ccf0fba4; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 74ca3ef68d2f449bc848c0a814cefc487bf755fa; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< eb48680b0255a9e8a9bdc93d6a55b11c31262e62; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 079cba4f4e307c69878226fdf5228c20aa1c969c; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< a16fbb80064634b254520a46395e36b87ca4731e; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< f98364e926626c678fb4b9004b75cacf92ff0662
- Anyone running Linux 2.6.22

## 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 and fixed versions

- Linux: \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< ad80c34944d7175fa1f5c7a55066020002921a99; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 1a54aa506b3b2f31496731039e49778f54eee881; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< faf0b4c5e00bb680e8e43ac936df24d3f48c8e65; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 7dd09fa80b0765ce68bfae92f4e2f395ccf0fba4; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 74ca3ef68d2f449bc848c0a814cefc487bf755fa; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< eb48680b0255a9e8a9bdc93d6a55b11c31262e62; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 079cba4f4e307c69878226fdf5228c20aa1c969c; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< a16fbb80064634b254520a46395e36b87ca4731e; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< f98364e926626c678fb4b9004b75cacf92ff0662 (cvelist)
- Linux: 2.6.22 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26898. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26898.md
Affected: Linux >= 7562f876cd93800f2f8c89445f2a563590b24e09, < ad80c34944d7175fa1f5c7a55066020002921a99; >= 7562f876cd93800f2f8c89445f2a563590b24e09, < 1a54aa506b3b2f31496731039e49778f54eee881; >= 7562f876cd93800f2f8c89445f2a563590b24e09, < faf0b4c5e00bb680e8e43ac936df24d3f48c8e65; >= 7562f876cd93800f2f8c894…
Fixed in: Linux 1a54aa506b3b2f31496731039e49778f54eee881, Linux 7dd09fa80b0765ce68bfae92f4e2f395ccf0fba4, Linux 74ca3ef68d2f449bc848c0a814cefc487bf755fa, Linux 079cba4f4e307c69878226fdf5228c20aa1c969c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26898 being exploited?

There is no confirmed exploitation: CVE-2024-26898 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.42% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26898?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-26898?

Linux \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< ad80c34944d7175fa1f5c7a55066020002921a99; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 1a54aa506b3b2f31496731039e49778f54eee881; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< faf0b4c5e00bb680e8e43ac936df24d3f48c8e65; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 7dd09fa80b0765ce68bfae92f4e2f395ccf0fba4; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 74ca3ef68d2f449bc848c0a814cefc487bf755fa; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< eb48680b0255a9e8a9bdc93d6a55b11c31262e62; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< 079cba4f4e307c69878226fdf5228c20aa1c969c; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< a16fbb80064634b254520a46395e36b87ca4731e; \>= 7562f876cd93800f2f8c89445f2a563590b24e09, \< f98364e926626c678fb4b9004b75cacf92ff0662; Linux 2.6.22.

### Is there a fix for CVE-2024-26898?

Yes. Fixed in Linux 1a54aa506b3b2f31496731039e49778f54eee881, Linux 7dd09fa80b0765ce68bfae92f4e2f395ccf0fba4, Linux 74ca3ef68d2f449bc848c0a814cefc487bf755fa, Linux 079cba4f4e307c69878226fdf5228c20aa1c969c. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26898?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/ad80c34944d7175fa1f5c7a55066020002921a99>
- patch: <https://git.kernel.org/stable/c/1a54aa506b3b2f31496731039e49778f54eee881>
- patch: <https://git.kernel.org/stable/c/faf0b4c5e00bb680e8e43ac936df24d3f48c8e65>
- patch: <https://git.kernel.org/stable/c/7dd09fa80b0765ce68bfae92f4e2f395ccf0fba4>
- patch: <https://git.kernel.org/stable/c/74ca3ef68d2f449bc848c0a814cefc487bf755fa>
- patch: <https://git.kernel.org/stable/c/eb48680b0255a9e8a9bdc93d6a55b11c31262e62>
- patch: <https://git.kernel.org/stable/c/079cba4f4e307c69878226fdf5228c20aa1c969c>
- patch: <https://git.kernel.org/stable/c/a16fbb80064634b254520a46395e36b87ca4731e>
- patch: <https://git.kernel.org/stable/c/f98364e926626c678fb4b9004b75cacf92ff0662>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26898>

HTML: <https://flawdb.com/CVE-2024-26898> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26898>
