Date: Tue, 19 May 2015 08:44:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200323] BPF userland misuse can crash the system Message-ID: <bug-200323-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200323 Bug ID: 200323 Summary: BPF userland misuse can crash the system Product: Base System Version: 10.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: eri@pfsense.org Created attachment 156930 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156930&action=edit Misbehaving proxy arp daemon on bpf A bpf daemon can crash FreeBSD 10 system if it wrongly behaves. After analysis seems that a userland process opening a blocking read descriptor and never reading from it will consume the BPF buffers in kernel eventually leading to a crash on the system. This happens with bpf zerocopy enabled/disabled. Attached is a software used for proxy arp through BPF that caused the misbehaviour on the system. Depending on the load, traffic moving through the system this issue could be reproduced several times a day or even needing up to 4 days to reproduce. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-200323-8>