Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-40240

HIGH 7.5EPSS 60%

sctp: avoid NULL dereference when chunk data buffer is missing

Mitigation

  • Upgrade Linux to 441f0647f7673e0e64d4910ef61a5fb8f16bfb82 or later.

Who should check

  • Anyone running Linux >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 61cda2777b07d27459f5cac5a047c3edf9c8a1a9; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 08165c296597075763130919f2aae59b5822f016; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < cb9055ba30306ede4ad920002233d0659982f1cb; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 7a832b0f99be19df608cb75c023f8027b1789bd1; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 89b465b54227c245ddc7cc9ed822231af21123ef; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 441f0647f7673e0e64d4910ef61a5fb8f16bfb82
  • Anyone running Linux 4.8

Vulnerability facts

Affected
Linux >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 61cda2777b07d27459f5cac5a047c3edf9c8a1a9; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 08165c296597075763130919f2aae59b5822f016; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < cb9055ba30306ede4ad920002233d0659982f1cb; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 7a832b0f99be19df608cb75c023f8027b1789bd1; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 89b465b54227c245ddc7cc9ed822231af21123ef; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 441f0647f7673e0e64d4910ef61a5fb8f16bfb82; Linux 4.8
Fixed in
Linux 61cda2777b07d27459f5cac5a047c3edf9c8a1a9, Linux 08165c296597075763130919f2aae59b5822f016, Linux 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f, Linux 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71, Linux 7a832b0f99be19df608cb75c023f8027b1789bd1, Linux 89b465b54227c245ddc7cc9ed822231af21123ef, Linux 441f0647f7673e0e64d4910ef61a5fb8f16bfb82
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.95% chance of exploitation in 30 days (percentile 60, 2026-11-26)
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Linux>= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 61cda2777b07d27459f5cac5a047c3edf9c8a1a9; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 08165c296597075763130919f2aae59b5822f016; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < cb9055ba30306ede4ad920002233d0659982f1cb; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 7a832b0f99be19df608cb75c023f8027b1789bd1; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 89b465b54227c245ddc7cc9ed822231af21123ef; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 441f0647f7673e0e64d4910ef61a5fb8f16bfb82—cvelist
Linux4.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-40240. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-40240.md
Affected: Linux >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 61cda2777b07d27459f5cac5a047c3edf9c8a1a9; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 08165c296597075763130919f2aae59b5822f016; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f; >= 90017accff61ae89283ad9a…
Fixed in: Linux 61cda2777b07d27459f5cac5a047c3edf9c8a1a9, Linux 08165c296597075763130919f2aae59b5822f016, Linux 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f, Linux 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71, Linux 7a832b0f99be19df608cb75c023f8027b1789bd1, Linux 89b465b54227c245ddc7cc9ed822231af21123ef, Linux 441f0…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-40240 being exploited?

There is no confirmed exploitation: CVE-2025-40240 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.95% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-40240?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-40240?

Linux >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 61cda2777b07d27459f5cac5a047c3edf9c8a1a9; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 08165c296597075763130919f2aae59b5822f016; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < cb9055ba30306ede4ad920002233d0659982f1cb; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 7a832b0f99be19df608cb75c023f8027b1789bd1; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 89b465b54227c245ddc7cc9ed822231af21123ef; >= 90017accff61ae89283ad9a51f9ac46ca01633fb, < 441f0647f7673e0e64d4910ef61a5fb8f16bfb82; Linux 4.8.

Is there a fix for CVE-2025-40240?

Yes. Fixed in Linux 61cda2777b07d27459f5cac5a047c3edf9c8a1a9, Linux 08165c296597075763130919f2aae59b5822f016, Linux 03e80a4b04ef1fb2c61dd63216ab8d3a5dcb196f, Linux 4f6da435fb5d8a21cbf8cae5ca5a2ba0e1012b71, Linux 7a832b0f99be19df608cb75c023f8027b1789bd1, Linux 89b465b54227c245ddc7cc9ed822231af21123ef, Linux 441f0647f7673e0e64d4910ef61a5fb8f16bfb82. Upgrade Linux to 441f0647f7673e0e64d4910ef61a5fb8f16bfb82 or later.

How do I check if I'm affected by CVE-2025-40240?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors