[Bug 218687] [patch] use uninitialized fields of struct inpcb

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 16 14:54:38 UTC 2017


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

            Bug ID: 218687
           Summary: [patch] use uninitialized fields of struct inpcb
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: luke.tw at gmail.com
          Keywords: patch

Created attachment 181823
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181823&action=edit
patch for struct inpcb

There are two uninitialized use of struct inpcb.

1. inp_lock
   it is possible to use garbage value in the lock field when INP_LOCK_INIT().

2. inp_rtu
   Use of the uninitialized value in the field can trigger lots of assert and
page fault.

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


More information about the freebsd-bugs mailing list