CVE-2025-40240
JSON

7.5high

sctp: avoid NULL dereference when chunk data buffer is missing

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.95% (higher than 60% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: sctp: evitar la desreferenciación NULL cuando falta el búfer de datos del chunk El puntero chunk -> skb es desreferenciado en el bloque if donde se supone que solo debe ser NULL. chunk -> skb solo puede ser NULL si chunk -> head_skb no lo es. Comprobar frag_list en su lugar y hacerlo justo antes de reemplazar chunk -> skb. Estamos seguros de que de lo contrario chunk -> skb no es NULL debido a la condición if() externa.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40240 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-40240 changed 2026-10-19Public domain