CVE-2025-40187: net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()
In the Linux kernel, the following vulnerability has been resolved:
net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()
If new_asoc->peer.adaptation_ind=0 and sctp_ulpevent_make_authkey=0
and sctp_ulpevent_make_authkey() returns 0, then the variable
ai_ev remains zero and the zero will be dereferenced
in the sctp_ulpevent_free() function.
Security readout for executives and security teams
Plain-English summary
A flaw in the Linux kernel’s SCTP networking code can dereference a null event pointer under specific association conditions, potentially crashing the system. The supplied CVSS assessment rates it 7.5 because an unauthenticated network actor may cause loss of availability; no confidentiality or integrity impact is identified.
Executive priority
Prioritize internet-facing or business-critical Linux systems using SCTP. Treat remediation as an availability-protection task: validate actual SCTP exposure, obtain distribution-specific fixed packages, and patch promptly. Systems without SCTP exposure may be scheduled through normal risk-based maintenance after verification.
Technical view
During SCTP association processing in sctp_sf_do_5_1D_ce(), particular adaptation-indication and authentication-key event conditions can leave ai_ev null. The code subsequently passes that null pointer to sctp_ulpevent_free(), causing a kernel null-pointer dereference. Linux stable commits are supplied for multiple maintained kernel branches.
Likely exposure
Exposure is most relevant to systems running affected Linux kernels where SCTP is present and network-reachable. The bundle lists versions beginning with 4.17 and several later version markers, but its flattened version data does not clearly express every fixed range. Distribution backports must be checked separately.
Exploitation context
The network-accessible, low-complexity, unauthenticated CVSS vector supports denial-of-service risk. The bundle marks this CVE as absent from KEV and provides no evidence of active exploitation or public weaponization.
Researcher notes
The supplied description appears internally inconsistent around sctp_ulpevent_make_authkey, but the core failure is clear: ai_ev can remain null and later be freed. Exact affected-to-fixed ranges are not reliably recoverable from the flattened version list; inspect the CVE record and applicable stable-branch commit or distribution advisory.
Mitigation direction
Apply the appropriate vendor kernel update containing the relevant Linux stable fix.
Check distribution advisories for backported fixes rather than relying only on upstream version numbers.
Until patched, reduce unnecessary network exposure of SCTP according to vendor operational guidance.
Schedule any required reboot so the corrected kernel becomes active.
Validation and detection
Record each system’s running kernel version, not only its installed package version.
Determine whether SCTP is present, used, and reachable from untrusted networks.
Verify the vendor kernel includes a backport matching the applicable stable fix commit.
After maintenance, confirm systems booted into the corrected kernel.
Review kernel logs for SCTP-related null dereferences or unexplained availability events.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2025-40187 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
0ADP providers
9Source links
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.