fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
<kerneltoast> fche, lemme change the question
<kerneltoast> you see these FREE_IF_WORKs? https://sourceware.org/git/?p=systemtap.git;a=blob;f=runtime/stp_utrace.c;h=9cc9102228ac3e626c395bc3ba568adf94acf464;hb=HEAD#l765
<kerneltoast> why isn't there one for utrace_syscall_entry_work
<fche> i am HUMBLED that you would think that .... see above
<fche> sorry, I don't know.
<kerneltoast> drat
<kerneltoast> so there might be two bugs
<kerneltoast> either a freed struct utrace was pulled from the hashlists or utrace_syscall_entry_work needed to be cancelled
<kerneltoast> maybe those are both issues
<kerneltoast> fche, here's the panic if you're curious: https://gist.github.com/kerneltoast/b344c0a770a1d24dd8613df07136ad81
<fche> don't want to see, but can't look away
<kerneltoast> ahahaha
<fche> yeah that looks consistent with your diagnosis
<kerneltoast> nothin like digging through asm in ghidra...
<kerneltoast> what's your gut feeling
<kerneltoast> is this just rt being rt
<kerneltoast> or is your gut feeling that you ate too many beans for lunch
<fche> yeah it does look as though cancellation was not done properly
khaled has quit [Ping timeout: 246 seconds]
khaled has joined #systemtap
khaled has quit [Quit: Konversation terminated!]
orivej_ has quit [Ping timeout: 256 seconds]
hpt has joined #systemtap
orivej has joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
derek088_ has joined #systemtap
derek088_ has quit [Remote host closed the connection]
derek088_ has joined #systemtap
derek0883 has quit [Ping timeout: 272 seconds]
derek088_ has quit [Remote host closed the connection]
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
orivej has joined #systemtap
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
fdalleau_away is now known as fdalleau
orivej has quit [Ping timeout: 260 seconds]
khaled has joined #systemtap
hassan64 has joined #systemtap
hpt has quit [Remote host closed the connection]
hassan64 has quit [Quit: Ping timeout (120 seconds)]
hassan64 has joined #systemtap
hpt has joined #systemtap
hpt has quit [Ping timeout: 256 seconds]
hassan64 has quit [Quit: Connection closed]
hassan64 has joined #systemtap
mjw has joined #systemtap
orivej has joined #systemtap
hassan64 has quit [Quit: Connection closed]
tromey has joined #systemtap
amerey has joined #systemtap
amerey_ has joined #systemtap
amerey has quit [Ping timeout: 240 seconds]
ggherdov has quit [Ping timeout: 240 seconds]
kerneltoast has quit [Read error: Connection reset by peer]
gavinguo___ has quit [Read error: Connection reset by peer]
gavinguo___ has joined #systemtap
kerneltoast has joined #systemtap
khaled has quit [Quit: Konversation terminated!]
ggherdov has joined #systemtap
khaled has joined #systemtap
khaled has quit [Remote host closed the connection]
khaled has joined #systemtap
derek0883 has joined #systemtap
kerneltoast has quit [Read error: Connection reset by peer]
derek088_ has joined #systemtap
derek0883 has quit [Ping timeout: 264 seconds]
derek088_ has quit [Ping timeout: 264 seconds]
derek0883 has joined #systemtap
kerneltoast has joined #systemtap
kerneltoast has quit [Read error: Connection reset by peer]
derek0883 has quit [Remote host closed the connection]
kerneltoast has joined #systemtap
derek0883 has joined #systemtap
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
<kerneltoast> yo fche
<kerneltoast> sprinkling in a cancel didn't fix it
<kerneltoast> struct utrace needs refcounts
<kerneltoast> and i'll add the cancels too
derek0883 has quit [Remote host closed the connection]
fdalleau is now known as fdalleau_away
<fche> we've gone from 'hey rcu not needed; freed not needed' to 'aw man need full refcounting'
tromey has quit [Quit: ERC (IRC client for Emacs 27.1)]
derek0883 has joined #systemtap
<kerneltoast> fche, the pre-rcu code suffered from uaf
<kerneltoast> it ain't my fault
<kerneltoast> i leaned on the existing utrace lifetime and my code exposed the uaf :)
amerey_ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #systemtap
mjw has quit [Quit: Leaving]
derek0883 has quit [Remote host closed the connection]
derek0883 has joined #systemtap
orivej has quit [Ping timeout: 244 seconds]