All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2026-99583: sctp: hold shkey across socket migration
@ 2026-11-20  5:49 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2026-11-20  5:49 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

From: Greg Kroah-Hartman <gregkh@kernel.org>

Description
===========

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

sctp: hold shkey across socket migration

sctp_sock_migrate() transfers queued DATA skbs from the old socket to the
new one. skb_orphan() invokes sctp_wfree() during that transfer and drops
the skb-owned shared-key reference.

If userspace has removed that key from the association, this can be the
final reference. The following sctp_set_owner_w() then dereferences the
freed chunk->shkey while trying to take the new owner reference.

Take a temporary shared-key reference before orphaning the skb and release
it after the new owner has taken its reference. This preserves the selected
authentication key throughout the ownership transfer.

Bug found and triaged by OpenAI Security Research and
validated by Trail of Bits.

The Linux kernel CVE team has assigned CVE-2026-99583 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 4.17 with commit 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 and fixed in 6.12.118 with commit bea7f19a12e68a670c7173aac1c52de12fd615e9
	Issue introduced in 4.17 with commit 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 and fixed in 6.18.64 with commit 79e6577cada6a2d956042e3342ac2b2122ead6b0
	Issue introduced in 4.17 with commit 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 and fixed in 7.3.5 with commit 9875dda4a2dbbbe259cd5f88f19d87b8721a98d0
	Issue introduced in 4.17 with commit 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 and fixed in 7.4-rc1 with commit ad1320865b1826ffa2e81e37c49535751e81335c

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-99583
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	net/sctp/socket.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/bea7f19a12e68a670c7173aac1c52de12fd615e9
	https://git.kernel.org/stable/c/79e6577cada6a2d956042e3342ac2b2122ead6b0
	https://git.kernel.org/stable/c/9875dda4a2dbbbe259cd5f88f19d87b8721a98d0
	https://git.kernel.org/stable/c/ad1320865b1826ffa2e81e37c49535751e81335c

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-20  5:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20  5:49 CVE-2026-99583: sctp: hold shkey across socket migration Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.