Linux
sctp: fix addr_wq_timer race in sctp_free_addr_wq()
In the Linux kernel, the following vulnerability has been resolved: sctp: fix addr_wq_timer race in sctp_free_addr_wq() sctp_free_addr_wq() previously removed addr_wq_timer using timer_delete() while holding addr_wq_lock. However, timer_delete() does not guarantee that a currently running timer handler has completed. This allows a race with sctp_addr_wq_timeout_handler(), where the handler may still run after addr_waitq has been freed, acquire addr_wq_lock, and access freed memory, leading to a use-after-free. Fix this by calling timer_shutdown_sync() before taking addr_wq_lock. This guarantees that any in-flight timer handler has finished and prevents the timer from being re-armed during teardown, making subsequent cleanup safe.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4db67e808640e3934d82ce61ee8e2e89fd877ba8, < fb6117713abef8646fdbf58256532451bcf26c47
- >= 4db67e808640e3934d82ce61ee8e2e89fd877ba8, < 5098308ad72f83f3b1a48c247dddab1695114bae
- >= 4db67e808640e3934d82ce61ee8e2e89fd877ba8, < d49eff15261dd62e4fa3a316c26cb1f537a60464
- >= 4db67e808640e3934d82ce61ee8e2e89fd877ba8, < a8323fb2ab6cd6978f359daeed6688e0cadf32ba
- >= 4db67e808640e3934d82ce61ee8e2e89fd877ba8, < c3e5cac47519d77ad36b9c03a1df1536aaa0c4a1
- >= 4db67e808640e3934d82ce61ee8e2e89fd877ba8, < 976c19de0f22a857ba0112f39635f8fd7a257568
Fixed in fb6117713abef8646fdbf58256532451bcf26c47, 5098308ad72f83f3b1a48c247dddab1695114bae, d49eff15261dd62e4fa3a316c26cb1f537a60464, a8323fb2ab6cd6978f359daeed6688e0cadf32ba, c3e5cac47519d77ad36b9c03a1df1536aaa0c4a1, 976c19de0f22a857ba0112f39635f8fd7a257568
- 3.7
Fixed in 0, 6.1.191, 6.6.160, 6.12.114, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to fb6117713abef8646fdbf58256532451bcf26c47 or 5098308ad72f83f3b1a48c247dddab1695114bae or d49eff15261dd62e4fa3a316c26cb1f537a60464 or a8323fb2ab6cd6978f359daeed6688e0cadf32ba or c3e5cac47519d77ad36b9c03a1df1536aaa0c4a1 or 976c19de0f22a857ba0112f39635f8fd7a257568 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.