CVE-2025-40240
published high CVSS 3.1 · 7.5sctp: avoid NULL dereference when chunk data buffer is missing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux90017accff61ae89283ad9a51f9ac46ca01633fb to < 61cda2777b07d27459f5cac5a047c3edf9c8a1a9 · 90017accff61ae89283ad9a51f9ac46ca01633fb to < 08165c296597075763130919f2aae59b5822f016 · 90017accff61ae89283ad9a51f9ac46ca01633fb to < 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f · 90017accff61ae89283ad9a51f9ac46ca01633fb to < 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71 · 90017accff61ae89283ad9a51f9ac46ca01633fb to < cb9055ba30306ede4ad920002233d0659982f1cb · 90017accff61ae89283ad9a51f9ac46ca01633fb to < 7a832b0f99be19df608cb75c023f8027b1789bd1 · 90017accff61ae89283ad9a51f9ac46ca01633fb to < 89b465b54227c245ddc7cc9ed822231af21123ef · 90017accff61ae89283ad9a51f9ac46ca01633fb to < 441f0647f7673e0e64d4910ef61a5fb8f16bfb82 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.8 (affected) · 0 to < 4.8 (unaffected · semver) · 5.4.301 through 5.4.* (unaffected · semver) · 5.10.246 through 5.10.* (unaffected · semver) · 5.15.196 through 5.15.* (unaffected · semver) · 6.1.158 through 6.1.* (unaffected · semver) · 6.6.115 through 6.6.* (unaffected · semver) · 6.12.56 through 6.12.* (unaffected · semver) · 6.17.6 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2026-112 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-094 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-114 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.27.1.el10_1 | ALSA-2026:0453 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.27.1.el10_1 | ALSA-2026:0453 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1297 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1495 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.92.1.rt7.433.el8_10 | ALSA-2026:0443 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.92.1.el8_10 | ALSA-2026:0444 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.20.1.el9_7 | ALSA-2026:0445 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - The bug is in the SCTP packet input path (`sctp_rcv` → `sctp_inq_push` → `sctp_assoc_bh_rcv` → `sctp_inq_pop`), processing chunk data supplied by a peer over IP; the vulnerable component is bound to the network stack and is driven entirely by received SCTP packets, including from a container/veth peer on the other side of a security boundary. AC:L - The trigger is a re-read of `skb_shinfo(skb)->frag_list` on a shared/cloned GSO skb, and the attacker controls both sides — generating the large GSO SCTP packets and the concurrent clone/consumer that mutates the shared shinfo — which is exactly the pattern syzbot reproduced for the sibling bug in the same lines of `sctp_inq_pop()`. PR:N - `sctp_inq_pop()` runs before any chunk is validated by the state machine — OOTB packets and INIT chunks from a completely unauthenticated peer reach it, and no capability or credential check exists anywhere on the `sctp_rcv()` path. UI:N - Processing happens automatically in softirq/backlog context as soon as the packets are received; no victim action of any kind is needed. S:U - The NULL dereference faults inside the kernel's own SCTP receive processing; no hypervisor, IOMMU, or sandbox boundary is crossed. C:N - The fault is a read of an unmapped low address (`NULL->dev`) that immediately oopses; no attacker-controlled memory is read back or returned to userspace. I:N - Nothing is written — the bug is a read of a NULL pointer field, so no kernel memory is modified and no control-flow hijack primitive is produced. A:H - The path first hits `WARN_ON()` (an immediate panic on `panic_on_warn=1` systems, common on hardened/cloud kernels) and then dereferences NULL, producing a kernel oops in softirq/backlog context that kills SCTP receive processing and typically brings down the machine; it is repeatable by simply resending traffic.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 90017accff61ae89283ad9a51f9ac46ca01633fb to < 61cda2777b07d27459f5cac5a047c3edf9c8a1a9 (affected · git)90017accff61ae89283ad9a51f9ac46ca01633fb to < 08165c296597075763130919f2aae59b5822f016 (affected · git)90017accff61ae89283ad9a51f9ac46ca01633fb to < 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f (affected · git)90017accff61ae89283ad9a51f9ac46ca01633fb to < 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71 (affected · git)90017accff61ae89283ad9a51f9ac46ca01633fb to < cb9055ba30306ede4ad920002233d0659982f1cb (affected · git)90017accff61ae89283ad9a51f9ac46ca01633fb to < 7a832b0f99be19df608cb75c023f8027b1789bd1 (affected · git)90017accff61ae89283ad9a51f9ac46ca01633fb to < 89b465b54227c245ddc7cc9ed822231af21123ef (affected · git)90017accff61ae89283ad9a51f9ac46ca01633fb to < 441f0647f7673e0e64d4910ef61a5fb8f16bfb82 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.8 (affected)0 to < 4.8 (unaffected · semver)5.4.301 through 5.4.* (unaffected · semver)5.10.246 through 5.10.* (unaffected · semver)5.15.196 through 5.15.* (unaffected · semver)6.1.158 through 6.1.* (unaffected · semver)6.6.115 through 6.6.* (unaffected · semver)6.12.56 through 6.12.* (unaffected · semver)6.17.6 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f
- https://git.kernel.org/stable/c/08165c296597075763130919f2aae59b5822f016
- https://git.kernel.org/stable/c/441f0647f7673e0e64d4910ef61a5fb8f16bfb82
- https://git.kernel.org/stable/c/4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71
- https://git.kernel.org/stable/c/61cda2777b07d27459f5cac5a047c3edf9c8a1a9
- https://git.kernel.org/stable/c/7a832b0f99be19df608cb75c023f8027b1789bd1
- https://git.kernel.org/stable/c/89b465b54227c245ddc7cc9ed822231af21123ef
- https://git.kernel.org/stable/c/cb9055ba30306ede4ad920002233d0659982f1cb
Provider assertions
2Linux · cna
sctp: avoid NULL dereference when chunk data buffer is missing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1de701b41adcab6c4f8a38c00093a78f37810ab6513b40e00b405082839cbd62
- Ingested
- 23 Sep 2026, 08:48:04 UTC
- Source record
- Official CVE record