[RFC] Toward Shareable POSIX Signals

Florian Weimer fweimer@redhat.com
Sat Mar 10 07:56:00 GMT 2018


On 03/09/2018 09:25 PM, Rich Felker wrote:
> This is a very bad idea. Introspective crash logging/reporting is a
> huge gift to attackers. If an attacker has compromised a process in a
> manner to cause it to segfault, they almost surely have enough control
> over the process state to force the handler to perform code execution
> for them. There have been real-world CVEs along these lines.

More importantly, in-process crash handlers also destroy evidence *why* 
the crash happened, or inhibit the crash altogether because they run 
into some sort of deadlock due to the corrupt state of the process.

Thanks,
Florian



More information about the Libc-alpha mailing list