# CVE-2025-40240: sctp: avoid NULL dereference when chunk data buffer is missing

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 60% of CVEs (2026-11-30)
- Published: 2025-12-04T15:31:29.715Z
- Modified: 2026-10-19T19:10:00.130Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 90017accff61ae89283ad9a51f9ac46ca01633fb before 61cda2777b07d27459f5cac5a047c3edf9c8a1a9; from 90017accff61ae89283ad9a51f9ac46ca01633fb before 08165c296597075763130919f2aae59b5822f016; from 90017accff61ae89283ad9a51f9ac46ca01633fb before 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f; from 90017accff61ae89283ad9a51f9ac46ca01633fb before 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71; from 90017accff61ae89283ad9a51f9ac46ca01633fb before cb9055ba30306ede4ad920002233d0659982f1cb; from 90017accff61ae89283ad9a51f9ac46ca01633fb before 7a832b0f99be19df608cb75c023f8027b1789bd1; from 90017accff61ae89283ad9a51f9ac46ca01633fb before 89b465b54227c245ddc7cc9ed822231af21123ef; from 90017accff61ae89283ad9a51f9ac46ca01633fb before 441f0647f7673e0e64d4910ef61a5fb8f16bfb82; 4.8 (not affected: before 4.8; from 5.4.301 up to 5.4.*; from 5.10.246 up to 5.10.*; from 5.15.196 up to 5.15.*; from 6.1.158 up to 6.1.*; from 6.6.115 up to 6.6.*; from 6.12.56 up to 6.12.*; from 6.17.6 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/61cda2777b07d27459f5cac5a047c3edf9c8a1a9>
- <https://git.kernel.org/stable/c/08165c296597075763130919f2aae59b5822f016>
- <https://git.kernel.org/stable/c/03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f>
- <https://git.kernel.org/stable/c/4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71>
- <https://git.kernel.org/stable/c/cb9055ba30306ede4ad920002233d0659982f1cb>
- <https://git.kernel.org/stable/c/7a832b0f99be19df608cb75c023f8027b1789bd1>
- <https://git.kernel.org/stable/c/89b465b54227c245ddc7cc9ed822231af21123ef>
- <https://git.kernel.org/stable/c/441f0647f7673e0e64d4910ef61a5fb8f16bfb82>

## Sources

- CVE List: [CVE-2025-40240](https://www.cve.org/CVERecord?id=CVE-2025-40240), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-40240](https://nvd.nist.gov/vuln/detail/CVE-2025-40240), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40240 · Whole record: https://cve.day/CVE-2025-40240.json · Rebuilt by cve.day 2026-11-25T22:59:08.269Z
