sctp: account for chunk padding in sctp_init_cause()
NIST has received this entry but not started reviewing it.
In the Linux kernel, the following vulnerability has been resolved: sctp: account for chunk padding in sctp_init_cause() sctp_init_cause() accepts a chunk when skb_tailroom() can hold the cause header and the payload. sctp_addto_chunk() then writes 0-3 bytes of padding before that header so the chunk stays 4-byte aligned. The check does not include the padding, and the following skb_put() calls skb_over_panic() from softirq. Count the padding sctp_addto_chunk() is about to write. The cause length on the wire stays the header plus the payload. Found by LLM inspection, triggered and tested the fix.
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 8914f4bace3f3a56f14accb45f9f4b9456670b4a, before a076d745dca8a5f6535cc169e5a06d98beaf5fca; from 8914f4bace3f3a56f14accb45f9f4b9456670b4a, before 5d1362808bc4513d7fc0f4e8b83af4763e5cbce5; from 8914f4bace3f3a56f14accb45f9f4b9456670b4a, before c57df19f74cf5d92bb60c16ac55cdcfe3c81e2bc; from 8914f4bace3f3a56f14accb45f9f4b9456670b4a, before 25357a42cabb45d4083947ab3ef131946d9742a1; from 8914f4bace3f3a56f14accb45f9f4b9456670b4a, before 28fb74ed3118cd3f59e1b0a5bdba691a2a4c7ea3; from 8914f4bace3f3a56f14accb45f9f4b9456670b4a, before fb28092f5feec64f506f198f56d676ba752e700c; and 2 more | a076d745dca8a5f6535cc169e5a06d98beaf5fca; 5d1362808bc4513d7fc0f4e8b83af4763e5cbce5; c57df19f74cf5d92bb60c16ac55cdcfe3c81e2bc; 25357a42cabb45d4083947ab3ef131946d9742a1 |
| Linux Linux | Software | 4.18 | not recorded |
The 7.5 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 | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | None | The attacker does not need an account or password. |
| 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 | None | No data can be read. |
| Data changed | None | Nothing can be changed. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 3.9 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 3.6 | 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.