pipe() resource exhaustion

Mark Felder feld at freebsd.org
Mon Apr 7 12:25:34 UTC 2014


On 2014-04-07 06:02, Ivan Voras wrote:
> Hello,
> 
> Last time I mentioned this it didn't get any attention, so I'll try
> again. By accident (via a buggy synergy server process) I found that a
> simple userland process can exhaust kernel pipe memory 
> (kern.ipc.pipekva
> sysctl) which as a consequence has that new processes which use pipe
> cannot be started, which includes "su", by which an administrator could
> kill such a process.
> 

That's a pretty painful local denial of service :(


More information about the freebsd-hackers mailing list