A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
sctp: fix a TOCTOU race in SCTP_CMD_TIMER_START
The SCTP_CMD_TIMER_START handler checks timer_pending() before calling timer_reduce(). The timer can expire and detach between these operations, causing timer_reduce() to rearm the timer without taking the association reference required for the newly armed timer.
The timer callback later unconditionally drops its association reference, which can leave the association reference count unbalanced and result in use-after-free during association teardown.
Use the return value of timer_reduce() to determine whether the timer was actually armed. Take the association reference only when timer_reduce() successfully starts a new timer, closing the race between checking the timer state and rearming it.
This issue was reported by Nico Yip (@_cyeaa_) working with TrendAI Zero Day Initiative.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Linux linux kernel
Weakness type
References
- git.kernel.org /stable/c/00b841bac10230c557be6b38efc48508198fe23e
- git.kernel.org /stable/c/09e7f9290d63178f56095d5c18fb9f9470153db5
- git.kernel.org /stable/c/2188569e7e1b0bc3f3b557dc97ab7a02befc11c8
- git.kernel.org /stable/c/3205a20f837f5b1f009427ac3d9f706bf8a6fbec
- git.kernel.org /stable/c/3d698d1e6c8bc41e3e1707777a016f1bdd07842d
- git.kernel.org /stable/c/755d70ca845fd9b87c7b338ae6ae832b08cd0005
- git.kernel.org /stable/c/cbf2df9aac4202f9fb0b361a7fe8c79b29fad92c
- git.kernel.org /stable/c/e42ba56281ca3ae2dcb3558bebee9a1c9a4831d9
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning