Saagar Jha
(replying to Saagar Jha)
2 replies
iximeow
(replying to Saagar Jha)
@saagar the thing that's really funny to me is that there are two different ways you get heap writes *and* because the mallocs are not M_CANFAIL if your crafted elf is large enough the kernel can't alloc a pin list you can get a kernel panic...
Saagar Jha
(replying to iximeow)
Dark Sage Torunka :verified:
(replying to Saagar Jha)
@saagar What does the OpenBSD patch try to do, anyway? I'm curious.
Saagar Jha
(replying to Dark Sage Torunka :verified:)
Saagar Jha
(replying to Saagar Jha)
Saagar Jha
(replying to Saagar Jha)
Saagar Jha
(replying to Saagar Jha)
Dark Sage Torunka :verified:
(replying to Saagar Jha)
@saagar I suspect OpenBSD plans to change its libc to not have that kind of gadget and instead have a separate wrapper per syscall. They can do that because OpenBSD does NOT make any KABI promises whatsoever (unlike Linux).
This is also why Go keeps breaking on OpenBSD. I suspect that might also be part of their threat model...
Saagar Jha
(replying to Dark Sage Torunka :verified:)
Saagar Jha
(replying to Saagar Jha)
Dark Sage Torunka :verified:
(replying to Saagar Jha)
@saagar 2033: OpenBSD now requires all applications provide a control flow graph of the entire binary and validates it against the stack trace at every libc call