sctp: hold shkey across socket migration
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel bea7f19a12e68a670c7173aac1c52de12fd615e9, Kernel 79e6577cada6a2d956042e3342ac2b2122ead6b0, Kernel 9875dda4a2dbbbe259cd5f88f19d87b8721a98d0 and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 <bea7f19a12e68a670c7173aac1c52de12fd615e9, >=1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 <79e6577cada6a2d956042e3342ac2b2122ead6b0, >=1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 <9875dda4a2dbbbe259cd5f88f19d87b8721a98d0, >=1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9 <ad1320865b1826ffa2e81e37c49535751e81335c, =4.17 | bea7f19a12e68a670c7173aac1c52de12fd615e9, 79e6577cada6a2d956042e3342ac2b2122ead6b0, 9875dda4a2dbbbe259cd5f88f19d87b8721a98d0, ad1320865b1826ffa2e81e37c49535751e81335c |
| linux-kernel: Kernel | >=6.13.0 <6.18.64, >=6.19.0 <7.3.5, >=4.17.0 <6.12.118 | 6.18.64, 7.3.5, 6.12.118 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket