Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's SCTP (Stream Control Transmission Protocol) implementation can lead to a time-of-check to time-of-use (TOCTOU) race condition, causing an out-of-bounds write. This issue arises in the 'sctp_diag_dump' function, which does not properly manage socket locks. If the address list expands between the allocation of a buffer and its subsequent use, the function may write beyond the intended boundaries, potentially leading to memory corruption.
Exploitation of this vulnerability can cause memory corruption by allowing writes outside the allocated buffer bounds, which could lead to undefined behavior or the introduction of other vulnerabilities, such as arbitrary code execution.
The vulnerability can be reproduced by invoking the 'sctp_diag_dump' function without holding the appropriate socket lock. This can be done by triggering a diagnostic dump of SCTP endpoints while simultaneously modifying the address list, causing it to grow between the buffer allocation and the write operation. The lack of synchronization allows the function to exceed the allocated buffer limits, leading to an out-of-bounds write.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched. Instructions for downloading the updated kernel can be found on the official Linux kernel website.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.