CVE-2025-40331
High
Description
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).
SeverityHigh
CVSS7.8
Exploit probability—
Product
Linux
PublishedDec 9, 2025
First seenDec 9, 2025
How to fix
Update
- Linux Linuxb106a68df0650b694b254427cd9250c04500edd3, 3006959371007fc2eae4a078f823c680fa52de1a, 72e3fea68eac8d088e44c3dd954e843478e9240e, 584307275b2048991b2e8984962189b6cc0a9b85, c9119f243d9c0da3c3b5f577a328de3e7ffd1b42, 2fe08fcaacb7eb019fa9c81db39b2214de216677, 89eac1e150dbd42963e13d23828cb8c4e0763196, 95aef86ab231f047bb8085c70666059b58f53c09 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux Linux | 8f840e47f190cbe61a96945c13e9551048d42cef ≤ v < b106a68df0650b694b254427cd9250c04500edd3, 8f840e47f190cbe61a96945c13e9551048d42cef ≤ v < 3006959371007fc2eae4a078f823c680fa52de1a, 8f840e47f190cbe61a96945c13e9551048d42cef ≤ v < 72e3fea68eac8d088e44c3dd954e843478e9240e, 8f840e47f190cbe61a96945c13e9551048d42cef ≤ v < 584307275b2048991b2e8984962189b6cc0a9b85, 8f840e47f190cbe61a96945c13e9551048d42cef ≤ v < c9119f243d9c0da3c3b5f577a328de3e7ffd1b42, 8f840e47f190cbe61a96945c13e9551048d42cef ≤ v < 2fe08fcaacb7eb019fa9c81db39b2214de216677, 8f840e47f190cbe61a96945c13e9551048d42cef ≤ v < 89eac1e150dbd42963e13d23828cb8c4e0763196, 8f840e47f190cbe61a96945c13e9551048d42cef ≤ v < 95aef86ab231f047bb8085c70666059b58f53c09, 4.7 | b106a68df0650b694b254427cd9250c04500edd3, 3006959371007fc2eae4a078f823c680fa52de1a, 72e3fea68eac8d088e44c3dd954e843478e9240e, 584307275b2048991b2e8984962189b6cc0a9b85, c9119f243d9c0da3c3b5f577a328de3e7ffd1b42, 2fe08fcaacb7eb019fa9c81db39b2214de216677, 89eac1e150dbd42963e13d23828cb8c4e0763196, 95aef86ab231f047bb8085c70666059b58f53c09 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.