PT-2025-49784 · Linux+3 · Linux Kernel+3
CVE-2025-40331
·
Published
2025-01-01
·
Updated
2026-07-18
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel contains a time-of-check to time-of-use (TOCTOU) issue that can lead to an out-of-bounds write. This occurs in the
sctp diag dump() function, which calls sctp for each endpoint() and sctp ep dump(). The issue arises when the address list grows between the time the buffer is allocated and the time data is written to it, without the sock lock being held.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Time Of Check To Time Of Use
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linuxmint
Linux Kernel
Ubuntu