CVE-2025-40240
sctp: avoid NULL dereference when chunk data buffer is missing
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.8
References 8
git.kernel.org
- stable/c/61cda2777b07d27459f5cac5a047c3edf9c8a1a9
- stable/c/08165c296597075763130919f2aae59b5822f016
- stable/c/03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f
- stable/c/4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71
- stable/c/cb9055ba30306ede4ad920002233d0659982f1cb
- stable/c/7a832b0f99be19df608cb75c023f8027b1789bd1
- stable/c/89b465b54227c245ddc7cc9ed822231af21123ef
- stable/c/441f0647f7673e0e64d4910ef61a5fb8f16bfb82