[Bug 194439] New: mld_v1_transmit_report corrupts memory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 17 23:49:02 UTC 2014


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

            Bug ID: 194439
           Summary: mld_v1_transmit_report corrupts memory
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: Herbie.Robinson at stratus.com

The "MH_ALIGN(mh, sizeof(struct ip6_hdr));" in mld_v1_transmit_report should be
"MH_ALIGN(mh, sizeof(struct ip6_hdr)+sizeof(struct mld_hdr));".

The current code will always walk off the end of the buffer and corrupt
whatever memory follows.  

It's a good thing that mldv2 is widely supported :-)

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


More information about the freebsd-bugs mailing list