Skip to main content
Network Thinking Solutions Logo

CVE-2025-40331

In the Linux kernel, the following vulnerability has been resolved: sctp: Prevent TOCTOU out-of-bounds write For the following path not holding the sock lock, sctp_diag_dump() -> sctp_for_each_endpoint() -> sctp_ep_dump() make sure not to exceed bounds in case the address list has grown between buffer allocation (time-of-check) and write (time-of-use).

All CVEs
CVE-2025-40331Published 12/9/2025

In the Linux kernel, the following vulnerability has been resolved: sctp: Prevent TOCTOU out-of-bounds write For the following path not holding the sock lock, sctp_diag_dump() -> sctp_for_each_endpoint() -> sctp_ep_dump() make sure not to exceed bounds in case the address list has grown between buffer allocation (time-of-check) and write (time-of-use).

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: sctp: Prevent TOCTOU out-of-bounds write For the following path not holding the sock lock, sctp_diag_dump() -> sctp_for_each_endpoint() -> sctp_ep_dump() make sure not to exceed bounds in case the address list has grown between buffer allocation (time-of-check) and write (time-of-use).

Published
12/9/2025
Last modified
10/14/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < b106a68df0650b694b254427cd9250c04500edd3

Verify advisory

Source
Linux
Linux
≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 3006959371007fc2eae4a078f823c680fa52de1a

Verify advisory

Source
Linux
Linux
≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 72e3fea68eac8d088e44c3dd954e843478e9240e

Verify advisory

Source
Linux
Linux
≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 584307275b2048991b2e8984962189b6cc0a9b85

Verify advisory

Source
Linux
Linux
≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < c9119f243d9c0da3c3b5f577a328de3e7ffd1b42

Verify advisory

Source
Linux
Linux
≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 2fe08fcaacb7eb019fa9c81db39b2214de216677

Verify advisory

Source
Linux
Linux
≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 89eac1e150dbd42963e13d23828cb8c4e0763196

Verify advisory

Source
Linux
Linux
≥ 8f840e47f190cbe61a96945c13e9551048d42cef, < 95aef86ab231f047bb8085c70666059b58f53c09

Verify advisory

Source
Linux
Linux
4.7

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.