Skip to content

0.12.0-rc2

Pre-release
Pre-release
Compare
Choose a tag to compare
@LucaGuerra LucaGuerra released this 28 Jul 08:38
· 14 commits to release/0.12.x since this release
fix(modern_bpf): fix NULL dereference in signal_deliver filler

The `signal_deliver` filler can be called with info=NULL
(`SEND_SIG_NOINFO`). Despite all I've been led to believe with eBPF,
this does cause an actual NULL dereference in the kernel,
promptly killing the machine (as the offending thread dies while
holding the spinlock in get_signal).

So let's check the pointer before we dereference it.

Signed-off-by: Grzegorz Nosek <[email protected]>
Co-Authored-By: Andrea Terzolo <[email protected]>