CVE-2025-40240

HighCVSS 7.5/10Last modified Oct 19, 2026

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.

Metrics

CVSS 3.1 7.5/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

VendorProductVersions
LinuxLinux>= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 61cda2777b07d27459f5cac5a047c3edf9c8a1a9; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 08165c296597075763130919f2aae59b5822f016; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < cb9055ba30306ede4ad920002233d0659982f1cb; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 7a832b0f99be19df608cb75c023f8027b1789bd1; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 89b465b54227c245ddc7cc9ed822231af21123ef; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 441f0647f7673e0e64d4910ef61a5fb8f16bfb82
LinuxLinux4.8

References

Timeline

Published
Dec 4, 2025
Last modified
Oct 19, 2026
NVD status
Deferred

Related CVEs from 2025

CVE-2025-402417.8In the Linux kernel, the following vulnerability has been resolved: erofs: fix crafted invalid cases for encoded extents Robert recently rCVE-2025-402427.0In the Linux kernel, the following vulnerability has been resolved: gfs2: Fix unlikely race in gdlm_put_lock In gdlm_put_lock(), there is CVE-2025-402437.8In the Linux kernel, the following vulnerability has been resolved: hfs: fix KMSAN uninit-value issue in hfs_find_set_zero_bits() The syzbCVE-2025-402447.8In the Linux kernel, the following vulnerability has been resolved: hfsplus: fix KMSAN uninit-value issue in __hfsplus_ext_cache_extent() CVE-2025-402457.8In the Linux kernel, the following vulnerability has been resolved: nios2: ensure that memblock.current_limit is set when setting pfn limitCVE-2025-40246In the Linux kernel, the following vulnerability has been resolved: xfs: fix out of bounds memory read error in symlink repair xfs/286 proCVE-2025-40247In the Linux kernel, the following vulnerability has been resolved: drm/msm: Fix pgtable prealloc error path The following splat was reporCVE-2025-402487.8In the Linux kernel, the following vulnerability has been resolved: vsock: Ignore signal/timeout on connect() if already established DurinCVE-2025-402497.8In the Linux kernel, the following vulnerability has been resolved: gpio: cdev: make sure the cdev fd is still active before emitting eventCVE-2025-40259.8A vulnerability classified as critical was found in itsourcecode Placement Management System 1.0. Affected by this vulnerability is an unknoCVE-2025-402507.8In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Clean up only new IRQ glue on request_irq() failure The mlx5CVE-2025-402515.5In the Linux kernel, the following vulnerability has been resolved: devlink: rate: Unset parent pointer in devl_rate_nodes_destroy The fun
CVE-2025-40240: High severity, CVSS 7.5 | Vulnix