[Bug 200323] BPF userland misuse can crash the system
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 19 08:44:24 UTC 2015
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 at FreeBSD.org
Reporter: eri at 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.
More information about the freebsd-bugs
mailing list