Artifacts Associated With Ticket ee1341ff89edd6c5
Ticket change [7ff012f319] (rid 234916) by aleteoryx on 2024-11-09 01:01:28:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-plain"
- comment initialized to:
Repro available at [https://gist.github.com/winrg/7fa3ac2a9b2b9f35bc4888ce0adaef46] I believe this happens because thread::send events get routed to the sub-interpreter instead of the main thread. Realistically this is not exploitable in most circumstances.
- foundin initialized to: "tested in 8.6.13, 8.6.15"
- is_private initialized to: "0"
- login: "aleteoryx"
- priority initialized to: "5 Medium"
- private_contact initialized to: "f1b08526abe45bf5e2e4fd8f848cb4cffa73bca6"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "aleteoryx"
- subsystem initialized to: "80. Thread Package"
- title initialized to:
Use-after-free if Thread is initialized in a sub-interpreter before the root
- type initialized to: "Bug"
Ticket change [612e9f2b98] (rid 234917) by aleteoryx on 2024-11-09 01:02:51:
- comment changed to:
Repro available at [https://gist.github.com/winrg/7fa3ac2a9b2b9f35bc4888ce0adaef46] In short, if Thread is initialized in a sub-interpreter, and said interpreter is deleted, then thread::send events will cause the thread to segfault. I believe this happens because thread::send events get routed to the deleted sub-interpreter instead of the main thread. Realistically this is not exploitable in most circumstances.
- login: "aleteoryx"
- mimetype: "text/plain"
- comment changed to:
Ticket change [8b437d8eb1] (rid 234918) by aleteoryx on 2024-11-09 01:04:55:
- foundin changed to: "tested in 8.6.13 (debian), 8.6.15 (magicsplat)"
- login: "aleteoryx"
- mimetype: "text/plain"
Ticket change [cf794aa7a8] (rid 234919) by juliannoble2 on 2024-11-09 03:42:58:
- icomment:
Reproduced the crash in magicsplat tcl9 with thread 3.0.0 Also crashes in my own Tcl9 build on windows.
- login: "juliannoble2"
- mimetype: "text/plain"
- icomment:
Ticket change [6a6baa29a1] (rid 235036) by sebres on 2024-11-13 14:12:44:
- closedate changed to: "2460628.09218124"
- closer changed to: "sebres"
- icomment:
Basically it is not an issue of tcl, but of [../thread|thread].<br/> Thus I'll close it here - further in [../thread/info/d4ba38d00d06ebba|[d4ba38d00d06ebba]].
- login: "sebres"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
Ticket change [a5c6f7dcf2] (rid 235046) by sebres on 2024-11-13 16:10:08:
- closedate changed to: "2460628.17370958"
- icomment:
JFYI, it is fixed now for all mainline branches (2.8+) in thread repository.
- login: "sebres"
- mimetype: "text/x-fossil-wiki"