[Bug 297148] SIOCGETSGCNT before MRT_INIT yields kernel crash

[email protected] Mon, 03 Aug 2026 21:08:30 +0000
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297148

--- Comment #1 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D1c0d2f0b1a98526e4f1f5a051ce6904b4=
c3164e1

commit 1c0d2f0b1a98526e4f1f5a051ce6904b4c3164e1
Author:     Mark Johnston <[email protected]>
AuthorDate: 2026-08-03 20:44:14 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2026-08-03 20:50:14 +0000

    ip_mroute: Don't assume that a multicast router is running

    The SIOCGETSGCNT handler may be invoked in this scenario, and if no
    router has initialized the lookup table, we'll have
    mfct->mfchashtbl =3D=3D NULL.

    PR:             297148
    Reported by:    Robert Morris
    MFC after:      1 week
    Sponsored by:   The FreeBSD Foundation

 sys/netinet/ip_mroute.c | 2 ++
 1 file changed, 2 insertions(+)

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