CVE-2025-40240 Details
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.
A vulnerability in the Linux kernel's SCTP (Stream Control Transmission Protocol) implementation can lead to a NULL pointer dereference. This issue occurs in the chunk data processing, where the chunk's skb (socket buffer) pointer is accessed in a conditional block that should only allow a NULL value under specific circumstances. The vulnerability arises because chunk->skb can be NULL only if chunk->head_skb is not. The problem can be reproduced by checking for the frag_list just before updating chunk->skb, ensuring that it is not NULL, as guaranteed by the outer conditional check.
Users can upgrade to the latest stable version of the Linux kernel where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 4, 2025CISA-ADP
Assessed Jun 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/08165c296597075763130919f2aae59b5822f016 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/441f0647f7673e0e64d4910ef61a5fb8f16bfb82 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/61cda2777b07d27459f5cac5a047c3edf9c8a1a9 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/7a832b0f99be19df608cb75c023f8027b1789bd1 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/89b465b54227c245ddc7cc9ed822231af21123ef | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cb9055ba30306ede4ad920002233d0659982f1cb | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 4, 2025 | New CVE Received | kernel.org |
Volerion