CVE-2025-40331
sctp: Prevent TOCTOU out-of-bounds write
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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).
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.7
References 8
git.kernel.org
- stable/c/b106a68df0650b694b254427cd9250c04500edd3
- stable/c/3006959371007fc2eae4a078f823c680fa52de1a
- stable/c/72e3fea68eac8d088e44c3dd954e843478e9240e
- stable/c/584307275b2048991b2e8984962189b6cc0a9b85
- stable/c/c9119f243d9c0da3c3b5f577a328de3e7ffd1b42
- stable/c/2fe08fcaacb7eb019fa9c81db39b2214de216677
- stable/c/89eac1e150dbd42963e13d23828cb8c4e0763196
- stable/c/95aef86ab231f047bb8085c70666059b58f53c09