[Bug 219472] Out of bounds access in vlan

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 9 16:47:45 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219472

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

Author: markj
Date: Wed Jan  9 16:47:16 UTC 2019
New revision: 342887
URL: https://svnweb.freebsd.org/changeset/base/342887

Log:
  Stop setting if_linkmib in vlan(4) ifnets.

  There are several reasons:
  - The structure being exported via IFDATA_LINKSPECIFIC doesn't appear
    to be a standard MIB.
  - The structure being exported is private to the kernel and always
    has been.
  - No other drivers in common use set the if_linkmib field.
  - Because IFDATA_LINKSPECIFIC can be used to overwrite the linkmib
    structure, a privileged user could use it to corrupt internal
    vlan(4) state. [1]

  PR:           219472
  Reported by:  CTurt <ecturt at gmail.com> [1]
  Reviewed by:  kp (previous version)
  MFC after:    1 week
  Sponsored by: The FreeBSD Foundation
  Differential Revision:        https://reviews.freebsd.org/D18779

Changes:
  head/sys/net/if_vlan.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list