NONE · 0

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_en...

Vulnerability 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).

References

FAQ

What is CVE-2025-40331?

CVE-2025-40331 is a documented vulnerability. 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_en...

How severe is CVE-2025-40331?

CVSS scoring is not yet available for CVE-2025-40331. Check NVD for updates.

Is there a patch for CVE-2025-40331?

Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.