sctp: avoid NULL dereference when chunk data buffer is missing
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 90017accff61ae89283ad9a51f9ac46ca01633fb · < 7a832b0f99be19df608cb75c023f8027b1789bd1| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
sctp: avoid NULL dereference when chunk data buffer is missing
chunk->skb pointer is dereferenced in the if-block where it's supposed to be NULL only.
chunk->skb can only be NULL if chunk->head_skb is not. Check for frag_list instead and do it just before replacing chunk->skb. We're sure that otherwise chunk->skb is non-NULL because of outer if() condition.
From the CVE record · Linux
The Linux kernel’s SCTP code can dereference a NULL chunk data buffer pointer, potentially causing a crash. The input does not specify how this condition can be triggered or whether authentication or user interaction is required.
Anyone running the Linux kernel should check whether their version includes the SCTP fix; affected versions are not specified.