CVE-2025-40240

published 4 Dec 2025 · updated 5 Aug 2026

sctp: avoid NULL dereference when chunk data buffer is missing

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f, Kernel 08165c296597075763130919f2aae59b5822f016, Kernel 441f0647f7673e0e64d4910ef61a5fb8f16bfb82 and 5 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.8, >=90017accff61ae89283ad9a51f9ac46ca01633fb <03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f, >=90017accff61ae89283ad9a51f9ac46ca01633fb <08165c296597075763130919f2aae59b5822f016, >=90017accff61ae89283ad9a51f9ac46ca01633fb <441f0647f7673e0e64d4910ef61a5fb8f16bfb82, >=90017accff61ae89283ad9a51f9ac46ca01633fb <4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71, >=90017accff61ae89283ad9a51f9ac46ca01633fb <61cda2777b07d27459f5cac5a047c3edf9c8a1a9, >=90017accff61ae89283ad9a51f9ac46ca01633fb <7a832b0f99be19df608cb75c023f8027b1789bd1, >=90017accff61ae89283ad9a51f9ac46ca01633fb <89b465b54227c245ddc7cc9ed822231af21123ef, >=90017accff61ae89283ad9a51f9ac46ca01633fb <cb9055ba30306ede4ad920002233d0659982f1cb03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f, 08165c296597075763130919f2aae59b5822f016, 441f0647f7673e0e64d4910ef61a5fb8f16bfb82, 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71, 61cda2777b07d27459f5cac5a047c3edf9c8a1a9, 7a832b0f99be19df608cb75c023f8027b1789bd1, 89b465b54227c245ddc7cc9ed822231af21123ef, cb9055ba30306ede4ad920002233d0659982f1cb

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40240 severity on Zeptric[![CVE-2025-40240](https://zeptric.io/badge/cve/CVE-2025-40240.svg)](https://zeptric.io/cve/CVE-2025-40240)