# CVE-2026-98548: sctp: discard the rest of the packet on a stale-cookie error

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 0.73% (percentile 50, 2026-11-26)
- **Published:** 2026-10-18T15:18:16.510Z
- **Modified:** 2026-10-24T14:16:46.943Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c0af3fd150fdc43821df3bb77e5ec74faf4dfc7a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 854c053c71459f8db7ef07db9cfa4eec5f5206f2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 965e21ea16acb394d5e5801998ca9b0adc669665; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1cd246b214dc9acf4e2f11d58c035e1e672fe7d2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d68c9287b3ca0d6faadc61fbcb18d1a6b5493321; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ec23855274a73906b02f0d124fefd9cb3c008b1d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6df536c5acbc0abd6f119d02e24f4a2ed97707f4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4498467a8af06cfa3d71cb04bd7c4170dec8f449
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

sctp: discard the rest of the packet on a stale-cookie error

When an association is in COOKIE-ECHOED state and the peer sends a
bundled \[ERROR(Stale Cookie)\]\[DATA\] packet from one of its non-primary
addresses, processing the ERROR chunk takes the non-fatal stale-cookie
retry path sctp\_sf\_do\_5\_2\_6\_stale(), which queues
SCTP\_CMD\_DEL\_NON\_PRIMARY while keeping the association alive.
sctp\_cmd\_del\_non\_primary() removes every non-primary transport -
including the very transport this packet arrived on, which is still
referenced by the receive lookup and shared by all chunks of the
packet via chunk-\>transport.

sctp\_assoc\_rm\_peer() does redirect asoc-\>peer.last\_data\_from away from
the removed transport, but right afterwards the bundled DATA chunk
makes sctp\_assoc\_bh\_rcv() re-register
asoc-\>peer.last\_data\_from = chunk-\>transport unconditionally, undoing
the redirection with the just-removed transport.

Once the packet is done, the receive reference is dropped and the
transport is RCU-freed, while the surviving association keeps the
dangling last\_data\_from.  A later FWD-TSN (or the delayed SACK timer)
makes sctp\_gen\_sack() dereference it (-\>param\_flags and friends), and
sctp\_make\_sack()/sctp\_outq\_select\_transport() may write to the freed
object and link it into the live transport list.  This is a
use-after-free triggerable by any malicious SCTP peer (or a local
unprivileged user acting as one) with no capabilities required:

  BUG: KASAN: slab-use-after-free in sctp\_do\_sm+0x498a/0x5660
  Read of size 4 at addr ffff88800e1e356c by task poc/115
  Call Trace: sctp\_do\_sm \<- sctp\_assoc\_bh\_rcv \<- sctp\_inq\_push \<-
              sctp\_rcv \<- ip\_protocol\_deliver\_rcu \<- ip\_rcv
  Allocated: sctp\_transport\_new \<- sctp\_assoc\_add\_peer \<-
             sctp\_process\_init (INIT-ACK processing)
  Freed: kfree \<- sctp\_transport\_destroy\_rcu \<- rcu\_core
         (call\_rcu queued by sctp\_transport\_put at end of sctp\_rcv)
  The buggy address is located 364 bytes inside of freed 1024-byte
  region \[ffff88800e1e3400, ffff88800e1e3800), cache kmalloc-1k

Note that commit 03a9d10ecf71 ("sctp: drop a chunk if its transport
was removed") only covers the window between the receive lookup and
the chunk processing (e.g. an ASCONF DEL-IP racing the socket backlog);
here the transport is removed \*while\* the packet is being processed,
by an earlier chunk of the same packet, so the drop in sctp\_inq\_push()
does not reach this path.  Verified with the bundled \[ERROR(Stale
Cookie)\]\[DATA\] + FWD-TSN reproducer: the KASAN report above still
fires with that commit applied, and is gone with this patch on top.

Fix it by discarding the rest of the packet on this path, as suggested
by Xin.  After the stale-cookie ERROR has sent the association back to
COOKIE-WAIT and removed the non-primary transports, the remaining
chunks of the packet can only run against the restarted handshake
while referencing the removed arrival transport through
chunk-\>transport: besides the last\_data\_from registration above,
sctp\_cmd\_setup\_t2() and the sctp\_make\_\*() reply builders would also
copy that pointer into association-lifetime state that
sctp\_assoc\_rm\_peer() has already sanitized.  Let the peer retransmit
them, in line with what sctp\_inq\_push() does for chunks whose
transport was removed before processing.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c0af3fd150fdc43821df3bb77e5ec74faf4dfc7a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 854c053c71459f8db7ef07db9cfa4eec5f5206f2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 965e21ea16acb394d5e5801998ca9b0adc669665; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1cd246b214dc9acf4e2f11d58c035e1e672fe7d2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d68c9287b3ca0d6faadc61fbcb18d1a6b5493321; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ec23855274a73906b02f0d124fefd9cb3c008b1d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6df536c5acbc0abd6f119d02e24f4a2ed97707f4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4498467a8af06cfa3d71cb04bd7c4170dec8f449 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 4498467a8af06cfa3d71cb04bd7c4170dec8f449 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98548.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c0af3fd150fdc43821df3bb77e5ec74faf4dfc7a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 854c053c71459f8db7ef07db9cfa4eec5f5206f2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 965e21ea16acb394d5e5801998ca9b0adc669665; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 854c053c71459f8db7ef07db9cfa4eec5f5206f2, Linux 965e21ea16acb394d5e5801998ca9b0adc669665, Linux 1cd246b214dc9acf4e2f11d58c035e1e672fe7d2, Linux 6df536c5acbc0abd6f119d02e24f4a2ed97707f4, Linux 4498467a8af06cfa3d71cb04bd7c4170dec8f449

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-2026-98548 being exploited?

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

### How serious is CVE-2026-98548?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-98548?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c0af3fd150fdc43821df3bb77e5ec74faf4dfc7a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 854c053c71459f8db7ef07db9cfa4eec5f5206f2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 965e21ea16acb394d5e5801998ca9b0adc669665; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1cd246b214dc9acf4e2f11d58c035e1e672fe7d2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< d68c9287b3ca0d6faadc61fbcb18d1a6b5493321; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ec23855274a73906b02f0d124fefd9cb3c008b1d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6df536c5acbc0abd6f119d02e24f4a2ed97707f4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4498467a8af06cfa3d71cb04bd7c4170dec8f449; Linux 2.6.12.

### Is there a fix for CVE-2026-98548?

Yes. Fixed in Linux 854c053c71459f8db7ef07db9cfa4eec5f5206f2, Linux 965e21ea16acb394d5e5801998ca9b0adc669665, Linux 1cd246b214dc9acf4e2f11d58c035e1e672fe7d2, Linux 6df536c5acbc0abd6f119d02e24f4a2ed97707f4, Linux 4498467a8af06cfa3d71cb04bd7c4170dec8f449. Upgrade Linux to 4498467a8af06cfa3d71cb04bd7c4170dec8f449 or later.

### How do I check if I'm affected by CVE-2026-98548?

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

- other: <https://git.kernel.org/stable/c/c0af3fd150fdc43821df3bb77e5ec74faf4dfc7a>
- other: <https://git.kernel.org/stable/c/854c053c71459f8db7ef07db9cfa4eec5f5206f2>
- other: <https://git.kernel.org/stable/c/965e21ea16acb394d5e5801998ca9b0adc669665>
- other: <https://git.kernel.org/stable/c/1cd246b214dc9acf4e2f11d58c035e1e672fe7d2>
- other: <https://git.kernel.org/stable/c/d68c9287b3ca0d6faadc61fbcb18d1a6b5493321>
- other: <https://git.kernel.org/stable/c/ec23855274a73906b02f0d124fefd9cb3c008b1d>
- other: <https://git.kernel.org/stable/c/6df536c5acbc0abd6f119d02e24f4a2ed97707f4>
- other: <https://git.kernel.org/stable/c/4498467a8af06cfa3d71cb04bd7c4170dec8f449>

## 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-2026-98548>

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