KernelScan.io

HIGH Introduced in 4.11

sctp StreamReset Deref

CVE-2026-89477

CVSS 7.5 / 10.0 NVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

KernelScan AI7.5HIGH

01

In the Linux kernel, the following vulnerability has been resolved: sctp: fix NULL deref on untransmitted RECONF completion sctp_process_strreset_outreq(), sctp_process_strreset_addstrm_out() and sctp_process_strreset_resp() complete a pending stream reconfiguration request by stopping the reconf timer on the transport it was sent on: t = asoc->strreset_chunk->transport; if (timer_delete(&t->reconf_timer)) sctp_transport_put(t); chunk->transport is assigned by __sctp_packet_append_chunk() when the chunk is appended to an outbound packet, and sctp_outq_flush_ctrl() arms the reconf timer at that same point. A request already published in asoc->strreset_chunk but not yet transmitted has neither, so completing it dereferences NULL. Two ways to get there. sctp_send_asconf_del_ip() sets asoc->src_out_of_asoc_ok without sending anything when the address being removed is the association's last one, and sctp_outq_flush_ctrl() then leaves every non-ASCONF control chunk queued; as only sctp_process_asconf_ack() clears that flag, it persists. An unprivileged process that removes such an address and then asks for a stream reset panics the kernel from softirq. A peer needs neither ASCONF nor local help: sctp_cmd_interpreter() uncorks the outqueue only once the whole packet has been processed, so a reply built while walking a RECONF chunk stays untransmitted for the rest of that walk, and one RECONF chunk carrying [Incoming SSN Reset Request, Outgoing SSN Reset Request, Response] -- or two RECONF chunks in one packet -- reaches the same dereference. KASAN: null-ptr-deref in range [0x00000000000001e8-0x00000000000001ef] RIP: 0010:timer_delete+0x67/0x110 Call Trace: <IRQ> sctp_process_strreset_addstrm_out (net/sctp/stream.c:832) sctp_sf_do_reconf (net/sctp/sm_statefuns.c:4212) sctp_do_sm (net/sctp/sm_sideeffect.c:1172) sctp_assoc_bh_rcv (net/sctp/associola.c:1044) sctp_rcv (net/sctp/input.c:243) ip_local_deliver (net/ipv4/ip_input.c:262) process_backlog (net/core/dev.c:6680) </IRQ> A response can only acknowledge a request that was actually sent, so do not match asoc->strreset_chunk while chunk->transport is NULL. Guarding the lookup covers all three completion sites.

02

Engine v0.6.0

Risk summary

An unprivileged local process or a remote SCTP peer can trigger a kernel panic by exploiting a NULL pointer dereference in the SCTP stream reconfiguration completion path. The bug occurs when a pending reconfiguration request has been queued but not yet transmitted, leaving its transport pointer unset. Any system using SCTP is at risk; no special privileges are required.

Affectednet/sctp/stream.c (SCTP stream reconfiguration)

Vulnerability analysis

An SCTP stream reconfiguration request can be queued for transmission before it has actually been sent over the network. At that point, the kernel data structure that tracks the network path for the request has not yet been filled in. If the protocol tries to act on that request before transmission — which can happen when a remote peer sends a malformed reconfiguration chunk, or when a local process removes the association's last network address and then asks for a stream reset — the kernel dereferences an unset pointer while stopping a timer in interrupt context, causing a panic. The fix prevents the protocol from matching a request that has not yet been assigned a network path, which blocks the unsafe dereference everywhere it could occur. An unprivileged local process using standard SCTP sockets can trigger this, as can a remote SCTP peer by sending a single crafted packet without needing any local assistance.

03

BranchIntroducedFixed inPatch commit
mainline4.117.3-rc12db9bfa3e27b
5.154.115.15.22153141db97968
6.14.116.1.18868891125af5a
6.64.116.6.157b2d6d873b4df
6.124.116.12.10977ea60f2d240
6.184.116.18.5025419f516ea8
7.24.117.2.40ee697defc05
5.104.115.10.27079ff751311e8
cip/6.124.116.12.111-cip3277ea60f2d240