VDB

CVE-2025-40187

CVE-2025-40187 PUBLISHED CVSS 7.5 HIGH

net/sctp: fix a null dereference in sctp_disposition sctp_sf_do_5_1D_ce()

Reported by linux · Published November 12, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12Amazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.55-74.119.amzn2023
kernel-libbpf-develAmazon Linux1:6.1.158-178.288.amzn2023
kernel6.12-libbpf-develAmazon Linux1:6.12.55-74.119.amzn2023
kernel-toolsAmazon Linux1:6.1.158-178.288.amzn2023
perf6.12Amazon Linux1:6.12.55-74.119.amzn2023
kernel-libbpf-staticAmazon Linux1:6.1.158-178.288.amzn2023
kernel-livepatch-6.12.55-74.119Amazon Linux1:1.0-0.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.55-74.119.amzn2023
kernel6.12-headersAmazon Linux1:6.12.55-74.119.amzn2023
kernel-modules-extraAmazon Linux1:6.1.158-178.288.amzn2023

8 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b, 30f6ebf65bc46161c5aaff1db2e6e7c76aa4a06b
LinuxLinux4.17, 0, 5.4.301
amazon:2023kernel6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel-tools0
amazon:2023perf6.120
amazon:2023kernel-libbpf-static0
amazon:2023kernel-livepatch-6.12.55-74.1190
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-headers0
amazon:2023kernel-modules-extra0
amazon:2023python3-perf6.120
amazon:2023kernel-livepatch-6.1.158-178.2880
amazon:2023kernel6.12-libbpf-static0
amazon:2023bpftool6.120
amazon:2023python3-perf0
amazon:2023kernel-headers0

…and 12 more

Timeline

  • Nov 10, 2025 CVE Published
  • Nov 12, 2025 Coalition ESS Score (4 in total, the first dated here)
  • Nov 13, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (135 in total, the first dated here)
  • Dec 15, 2025 CVE Updated
  • Mar 29, 2026 Distribution Patch (118 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-40187
vulnetix vdb fixes CVE-2025-40187

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40187/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›