sctp: hold shkey across socket migration
NIST has received this entry but not started reviewing it.
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.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 2 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Linux Linux | Software | from 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9, before 38a38f86ea16bb4ebf3fa726f20cf6b147d83d11; from 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9, before a2f593b4dc5ebea19b31dc22abcf3354eb15f9d2; from 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9, before 7fd041b9d125dc8351856a28fbe235a7867c161a; from 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9, before 4b72a7b4f439964229c9cb11f97e925b92030179; from 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9, before bea7f19a12e68a670c7173aac1c52de12fd615e9; from 1b1e0bc9947427ae58bbe7de0ce9cfd591b589b9, before 79e6577cada6a2d956042e3342ac2b2122ead6b0; and 2 more | 38a38f86ea16bb4ebf3fa726f20cf6b147d83d11; a2f593b4dc5ebea19b31dc22abcf3354eb15f9d2; 7fd041b9d125dc8351856a28fbe235a7867c161a; 4b72a7b4f439964229c9cb11f97e925b92030179 |
| Linux Linux | Software | 4.17 | not recorded |
The 7.8 severity score (high) from the company that reported it, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | On the machine | The attacker needs access to the computer itself, for example a login or a file they can get you to open. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 1.8 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
NIST lists 8 sources for this flaw, none tagged as a vendor patch.