Skip to main content
Vulnerability Database/CVE-2026-98130

CVE-2026-98130: Linux Kernel SCTP Race Condition Vulnerability

CVE-2026-98130 is a race condition flaw in the Linux kernel SCTP timer handling that can cause use-after-free errors during association teardown. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98130 Overview

CVE-2026-98130 is a time-of-check to time-of-use (TOCTOU) race condition in the Linux kernel's Stream Control Transmission Protocol (SCTP) implementation. The flaw resides in the SCTP_CMD_TIMER_START handler, which checks timer_pending() before invoking timer_reduce(). Between these two operations, the timer can expire and detach, causing timer_reduce() to rearm the timer without acquiring the required association reference.

The timer callback later unconditionally drops its association reference, leaving the reference count unbalanced. This imbalance can trigger a use-after-free during SCTP association teardown. The vulnerability was reported by Nico Yip (@cyeaa) working with TrendAI Zero Day Initiative.

Critical Impact

An unbalanced association reference count can lead to a use-after-free during SCTP association teardown, potentially enabling kernel memory corruption and arbitrary code execution over the network.

Affected Products

  • Linux kernel SCTP subsystem (upstream)
  • Linux stable kernel branches prior to the referenced fix commits
  • Linux distributions shipping affected kernel versions with SCTP enabled

Discovery Timeline

  • Vulnerability reported by Nico Yip (@cyeaa) in coordination with TrendAI Zero Day Initiative
  • 2026-09-25 - CVE-2026-98130 published to NVD
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-98130

Vulnerability Analysis

The defect is a classic TOCTOU race in kernel timer management. The SCTP_CMD_TIMER_START handler first calls timer_pending() to determine whether the SCTP timer is already armed. If the handler observes the timer as pending, it assumes the association reference is already held and skips acquiring a new one before calling timer_reduce().

Between the check and the subsequent call, the timer can expire on another CPU and detach. When timer_reduce() then runs, it rearms a timer that is no longer backed by the previously held association reference. The timer callback eventually fires and unconditionally calls sctp_association_put(), decrementing a reference that was never taken.

The net result is an association reference count that drifts below its correct value. During teardown, the association can be freed while other code paths still hold pointers to it. Subsequent access produces a use-after-free [CWE-416] in kernel memory, with network-reachable triggering conditions.

Root Cause

The root cause is non-atomic coordination between the pending-check and the rearm operation. The handler trusts the earlier timer_pending() result to decide reference ownership, but the kernel's per-CPU timer wheel can transition the timer out of the pending state concurrently. The fix uses the return value of timer_reduce() to determine whether the call actually armed a new timer and takes the association reference only in that case.

Attack Vector

Exploitation requires an attacker able to interact with an SCTP endpoint on the target system and to influence timer scheduling on an existing association. Because SCTP is reachable over the network, the attack vector is remote. Successful exploitation of the resulting use-after-free can lead to kernel memory corruption, information disclosure, or privilege escalation on the host.

No public proof-of-concept is listed in the referenced data. For technical details, review the upstream fix in the Linux stable tree at the commits 00b841ba, 2188569e, 3d698d1e, and e42ba562.

Detection Methods for CVE-2026-98130

Indicators of Compromise

  • Kernel oops or panic traces referencing sctp_association_put, sctp_association_free, or SCTP timer callbacks such as sctp_generate_t3_rtx_event.
  • KASAN use-after-free reports naming struct sctp_association or related SCTP timer structures.
  • Unexpected SCTP connection resets or socket errors correlated with kernel log warnings on reference counting.

Detection Strategies

  • Inventory running kernel versions across Linux hosts and compare against the fixed commits in the stable tree.
  • Enable KASAN and lockdep in test and staging kernels to surface SCTP reference-count anomalies before production exposure.
  • Correlate dmesg output and syslog events for SCTP-related warnings on hosts exposing SCTP services such as telecom signaling gateways.

Monitoring Recommendations

  • Monitor inbound SCTP traffic volumes and association churn on hosts where SCTP is enabled, especially carrier-grade and SIGTRAN workloads.
  • Alert on repeated kernel crashes or reboots on SCTP-handling nodes.
  • Forward kernel logs to a centralized analytics platform and search for SCTP timer and reference-count messages.

How to Mitigate CVE-2026-98130

Immediate Actions Required

  • Apply the stable kernel update that includes the referenced SCTP fix commits as soon as vendor builds are available.
  • Disable the SCTP module on systems that do not require it by blocklisting sctp in /etc/modprobe.d/.
  • Restrict network reachability of SCTP ports to trusted peers using firewall rules and network segmentation.

Patch Information

The upstream fix changes SCTP_CMD_TIMER_START to use the return value of timer_reduce() to decide whether a new timer was actually armed, and only then takes the association reference. The patch is distributed across stable branches in commits 00b841ba, 2188569e, 3d698d1e, and e42ba562. Rebuild and reboot into a patched kernel to apply the fix.

Workarounds

  • Blocklist the sctp kernel module on hosts that do not require SCTP connectivity.
  • Apply host-based or perimeter firewall rules to drop SCTP traffic from untrusted sources.
  • Where SCTP is required, limit exposure to a dedicated management network and monitor for anomalous association behavior.
bash
# Disable SCTP module loading until a patched kernel is deployed
echo "install sctp /bin/true" | sudo tee /etc/modprobe.d/disable-sctp.conf
sudo rmmod sctp 2>/dev/null || true

# Verify the module is no longer loaded
lsmod | grep -i sctp

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.