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

sctp: fix use-after-free of cached ASCONF chunk

addip_last_asconf caches the outstanding outbound ASCONF chunk. The normal
ASCONF-ACK completion path releases the chunk and clears the pointer.

However, sctp_asconf_queue_teardown() releases the cached chunk without
clearing addip_last_asconf. During peer restart handling,
sctp_sf_do_dupcook_a() queues SCTP_CMD_PURGE_ASCONF_QUEUE, which invokes
sctp_asconf_queue_teardown() while the association remains alive and leaves
the pointer dangling.

A delayed authenticated ASCONF-ACK can then reach sctp_sf_do_asconf_ack(),
which accesses the stale chunk and passes it to sctp_process_asconf_ack(),
causing a use-after-free and a second release.

Clearing the pointer exposes a race with T4 expiry. Peer restart handling
queues the timer stop before the purge, but SCTP_CMD_TIMER_STOP uses
timer_delete(), which does not wait for a callback already running on
another CPU. Such a callback can reach sctp_sf_t4_timer_expire() after
the purge and dereference NULL.

Clear addip_last_asconf after releasing the cached chunk, and make
sctp_sf_t4_timer_expire() consume a stale T4 expiry if no outstanding
ASCONF remains.
Published: 2026-08-22
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel the SCTP transport layer contains a use‑after‑free bug that is triggered when an outstanding ASCONF chunk is cached but not cleared after a queue teardown. The stale pointer is later dereferenced during an authenticated ASCONF‑ACK, allowing an attacker to read or overwrite kernel memory. This memory corruption can lead to arbitrary code execution in kernel mode, granting the attacker root privileges. The bug also introduces a NULL‑pointer dereference race via the T4 timer, potentially causing a denial‑of‑service by crashing the kernel.

Affected Systems

All Linux kernel implementations that use SCTP are potentially affected, regardless of distribution. The fix is applied in the mainline kernel through a series of commits, but no specific stable release is named in the advisory, so systems running a kernel that has not incorporated these patches remain vulnerable.

Risk and Exploitability

The CVSS score is not publicly available and the EPSS score is missing, but the absence of a KEV listing does not diminish the severity of kernel memory corruption. An attacker can initiate the flaw by sending crafted SCTP packets over an established or restart‑induced association, which is an external vector. Due to the need to manipulate SCTP state, the attack requires network visibility and some protocol knowledge. Overall risk is high because a successful exploit would grant unrestricted kernel access, and exploitation is plausible with existing network traffic.

Generated by OpenCVE AI on August 22, 2026 at 16:27 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the SCTP use‑after‑free fix from the mainline commits (e.g., kernel version ≥ 6.7).
  • If the system cannot update the kernel immediately, backport the provided patch commit to the current kernel and rebuild the image.
  • Disable SCTP functionality in the kernel or block SCTP traffic at the firewall if the protocol is not required for legitimate workloads.

Generated by OpenCVE AI on August 22, 2026 at 16:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 16:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: sctp: fix use-after-free of cached ASCONF chunk addip_last_asconf caches the outstanding outbound ASCONF chunk. The normal ASCONF-ACK completion path releases the chunk and clears the pointer. However, sctp_asconf_queue_teardown() releases the cached chunk without clearing addip_last_asconf. During peer restart handling, sctp_sf_do_dupcook_a() queues SCTP_CMD_PURGE_ASCONF_QUEUE, which invokes sctp_asconf_queue_teardown() while the association remains alive and leaves the pointer dangling. A delayed authenticated ASCONF-ACK can then reach sctp_sf_do_asconf_ack(), which accesses the stale chunk and passes it to sctp_process_asconf_ack(), causing a use-after-free and a second release. Clearing the pointer exposes a race with T4 expiry. Peer restart handling queues the timer stop before the purge, but SCTP_CMD_TIMER_STOP uses timer_delete(), which does not wait for a callback already running on another CPU. Such a callback can reach sctp_sf_t4_timer_expire() after the purge and dereference NULL. Clear addip_last_asconf after releasing the cached chunk, and make sctp_sf_t4_timer_expire() consume a stale T4 expiry if no outstanding ASCONF remains.
Title sctp: fix use-after-free of cached ASCONF chunk
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-22T15:31:39.810Z

Reserved: 2026-08-15T05:44:03.918Z

Link: CVE-2026-74587

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:30.830

Modified: 2026-08-22T16:16:30.830

Link: CVE-2026-74587

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T16:45:03Z

Weaknesses