CVE-2026-99583
published high CVSS 3.1 · 7.8sctp: hold shkey across socket migration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 38a38f86ea16bb4ebf3fa726f20cf6b147d83d11 · 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < a2f593b4dc5ebea19b31dc22abcf3354eb15f9d2 · 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 7fd041b9d125dc8351856a28fbe235a7867c161a · 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 4b72a7b4f439964229c9cb11f97e925b92030179 · 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < bea7f19a12e68a670c7173aac1c52de12fd615e9 · 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 79e6577cada6a2d956042e3342ac2b2122ead6b0 · 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 9875dda4a2dbbbe259cd5f88f19d87b8721a98d0 · 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < ad1320865b1826ffa2e81e37c49535751e81335c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.17 (affected) · 0 to < 4.17 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - sctp_sock_migrate() is reached only from sctp_accept() and sctp_do_peeloff() (getsockopt SCTP_SOCKOPT_PEELOFF). The shkey is freed when local setsockopt SCTP_AUTH_DELETE_KEY or a same-id SCTP_AUTH_KEY replace drops the list ref in sctp_auth_del_key_id()/sctp_auth_set_key(); no inbound SCTP chunk supplies that input. AC:L - The caller sends DATA so sctp_set_owner_w() holds chunk->shkey, deletes or replaces that key while the skb stays on out_chunk_list or the transmitted list, then peels off or accept()s. In that syscall, sctp_clear_owner_w() -> skb_orphan() -> sctp_wfree() frees the key and sctp_set_owner_w() uses chunk->shkey. PR:L - socket(IPPROTO_SCTP), SCTP_AUTH_SUPPORTED, SCTP_AUTH_KEY, SCTP_AUTH_DELETE_KEY, sendmsg, and SCTP_SOCKOPT_PEELOFF/accept() do not check capabilities. socket.c requires CAP_NET_BIND_SERVICE only to bind a privileged port, which this sequence does not do. UI:N - The attacker creates both endpoints, installs the auth key, queues the DATA chunk, removes the key, and calls peeloff or accept. No other principal has to act. S:U - The use-after-free corrupts the caller's kernel sctp_shared_key and adjacent slab memory. That is host-kernel privilege escalation in the same security domain, not a guest-to-host or IOMMU crossing. C:H - chunk->shkey stays set after sctp_auth_shkey_destroy(). Transmit reaches sctp_packet_bundle_auth(), which reads shkey->key_id, then sctp_auth_calculate_hmac() -> sctp_auth_asoc_create_secret() memcpy's ep_key->key->data for ep_key->key->len when the reclaimed key_id is not active. I:H - sctp_set_owner_w() calls sctp_auth_shkey_hold(), a refcount_inc on the freed sctp_shared_key. A later sctp_wfree() on that pointer calls sctp_auth_shkey_release(); if the reclaimed refcnt hits zero, sctp_auth_shkey_destroy() kfree's the object and sctp_auth_key_put() frees shkey->key. A:H - sctp_auth_shkey_hold() writes the freed shkey, and the transmit path dereferences shkey->key. A poisoned or reclaimed pointer faults in sctp_auth_asoc_set_secret()'s memcpy, and sctp_auth_shkey_destroy() BUG_ON's when key_list is not empty.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 38a38f86ea16bb4ebf3fa726f20cf6b147d83d11 (affected · git)1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < a2f593b4dc5ebea19b31dc22abcf3354eb15f9d2 (affected · git)1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 7fd041b9d125dc8351856a28fbe235a7867c161a (affected · git)1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 4b72a7b4f439964229c9cb11f97e925b92030179 (affected · git)1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < bea7f19a12e68a670c7173aac1c52de12fd615e9 (affected · git)1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 79e6577cada6a2d956042e3342ac2b2122ead6b0 (affected · git)1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < 9875dda4a2dbbbe259cd5f88f19d87b8721a98d0 (affected · git)1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 to < ad1320865b1826ffa2e81e37c49535751e81335c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.17 (affected)0 to < 4.17 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/38a38f86ea16bb4ebf3fa726f20cf6b147d83d11
- https://git.kernel.org/stable/c/4b72a7b4f439964229c9cb11f97e925b92030179
- https://git.kernel.org/stable/c/79e6577cada6a2d956042e3342ac2b2122ead6b0
- https://git.kernel.org/stable/c/7fd041b9d125dc8351856a28fbe235a7867c161a
- https://git.kernel.org/stable/c/9875dda4a2dbbbe259cd5f88f19d87b8721a98d0
- https://git.kernel.org/stable/c/a2f593b4dc5ebea19b31dc22abcf3354eb15f9d2
- https://git.kernel.org/stable/c/ad1320865b1826ffa2e81e37c49535751e81335c
- https://git.kernel.org/stable/c/bea7f19a12e68a670c7173aac1c52de12fd615e9
Provider assertions
1Linux · cna
sctp: hold shkey across socket migration
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 62abbbe3fe6e24e4395172424e5fabbfdb71708e598b3de515fdbb0be6051716
- Ingested
- 23 Nov 2026, 14:37:12 UTC
- Source record
- Official CVE record