[Bug 200323] BPF userland misuse can crash the system

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 17 12:42:03 UTC 2015


--- Comment #14 from commit-hook at freebsd.org ---
A commit references this bug:

Author: eri
Date: Wed Jun 17 12:23:05 UTC 2015
New revision: 284512
URL: https://svnweb.freebsd.org/changeset/base/284512

  If there is a system with a bpf consumer running and a packet is wanted
  to be transmitted but the arp cache entry expired, which triggers an arp
  to be sent, the bpf code might want to sleep but crash the system due
  to a non sleep lock held from the arp entry not released properly.

  Release the lock before calling the arp request code to solve the issue
  as is done on all the other code paths.

  PR:    200323
  Approved by: ae, gnn(mentor)
  MFC after:    1 week
  Sponsored by:    Netgate
  Differential Revision:    https://reviews.freebsd.org/D2828


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-net mailing list