Get the kernel out of this business
Get the kernel out of this business
Posted Jun 7, 2025 9:51 UTC (Sat) by quotemstr (subscriber, #45331)Parent article: Slowing the flow of core-dump-related CVEs
Crash dumping is something userspace can do all by itself --- consider breakpad and crashpad. Wire up a signal handler; make direct system calls to fork and execve a helper; ptrace your parent. Now you can dump the process without the kernel's help, the usual way, with normal privileges. The whole kernel-driven core dump mechanism is more trouble than it's worth. libc can provide a default handler that approximates what we have today if we really need it.
