{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99583","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.423Z","datePublished":"2026-11-20T05:49:14.231Z","dateUpdated":"2026-11-22T11:09:04.861Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-22T11:09:04.861Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsctp: hold shkey across socket migration\n\nsctp_sock_migrate() transfers queued DATA skbs from the old socket to the\nnew one. skb_orphan() invokes sctp_wfree() during that transfer and drops\nthe skb-owned shared-key reference.\n\nIf userspace has removed that key from the association, this can be the\nfinal reference. The following sctp_set_owner_w() then dereferences the\nfreed chunk->shkey while trying to take the new owner reference.\n\nTake a temporary shared-key reference before orphaning the skb and release\nit after the new owner has taken its reference. This preserves the selected\nauthentication key throughout the ownership transfer.\n\nBug found and triaged by OpenAI Security Research and\nvalidated by Trail of Bits."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/socket.c"],"versions":[{"version":"1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9","lessThan":"bea7f19a12e68a670c7173aac1c52de12fd615e9","status":"affected","versionType":"git"},{"version":"1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9","lessThan":"79e6577cada6a2d956042e3342ac2b2122ead6b0","status":"affected","versionType":"git"},{"version":"1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9","lessThan":"9875dda4a2dbbbe259cd5f88f19d87b8721a98d0","status":"affected","versionType":"git"},{"version":"1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9","lessThan":"ad1320865b1826ffa2e81e37c49535751e81335c","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/sctp/socket.c"],"versions":[{"version":"4.17","status":"affected"},{"version":"0","lessThan":"4.17","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/bea7f19a12e68a670c7173aac1c52de12fd615e9"},{"url":"https://git.kernel.org/stable/c/79e6577cada6a2d956042e3342ac2b2122ead6b0"},{"url":"https://git.kernel.org/stable/c/9875dda4a2dbbbe259cd5f88f19d87b8721a98d0"},{"url":"https://git.kernel.org/stable/c/ad1320865b1826ffa2e81e37c49535751e81335c"}],"title":"sctp: hold shkey across socket migration","x_generator":{"engine":"bippy-1.2.0"}}}}