UAF in sctp_reset_clear_pending in TSAN run of web-platform test webrtc/RTCDataChannel-close.html
Categories
(Core :: WebRTC: Networking, defect)
Tracking
()
People
(Reporter: jesup, Assigned: bwc)
References
()
Details
(Keywords: csectype-uaf, sec-high, Whiteboard: [adv-main108-][adv-esr102.7-])
Attachments
(1 file)
6.61 KB,
text/plain
|
Details |
UAF in sctp_reset_clear_pending during a TSAN run. No patches that should affect this. The only change that even theoretically could affect it was reversing the list of cleanup in the testharness.js for wpt tests.
It was freed when we called SendOutgoingStreamReset() which did a usrsctp_setsockopt() which ended up freeing this data.
It's not a race between conninput() and the setsockopt(), since both were called on the same thread.
Reporter | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
![]() |
||
Comment 2•2 years ago
|
||
incorrect |
This may be solved by switching to Google's new lib once they feel confident about shipping it. TBD on level of effort to integrate with that. We'll figure that in in Q4.
![]() |
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Hey Byron -- Is this likely to be addressed by the sctp library update? If not, is there anything we can investigate here, or is this stalled? Thanks!
![]() |
||
Comment 4•2 years ago
|
||
Closing this out, please file a new bug if we see it again.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
Bug 1795697 grafts cleanly to ESR102. Given that it was rated sec-high, should we consider doing the backport still? It'd be too late for 102.6esr at this point, but we could possibly do so for 102.7.
Assignee | ||
Comment 7•2 years ago
|
||
Let me run some tests; this code is a bit deadlock-prone.
Comment 8•2 years ago
•
|
||
FYI, we're not going to be able to get this backported to ESR in time for next week's release, but we're aiming to do so for 102.7.
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Advisory for 102.7 ESR uplift will also go in 1795697 and reuse the advisory Tom wrote there
Updated•2 years ago
|
Description
•