From nobody Sun Oct 17 22:43:46 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A60B3181462D for ; Sun, 17 Oct 2021 22:43:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HXZmf3rTxz3G4f for ; Sun, 17 Oct 2021 22:43:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5B582159B5 for ; Sun, 17 Oct 2021 22:43:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 19HMhktR029421 for ; Sun, 17 Oct 2021 22:43:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 19HMhkpw029420 for bugs@FreeBSD.org; Sun, 17 Oct 2021 22:43:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 259239] Kernel panic when using igmp forwarding (via igmpproxy) Date: Sun, 17 Oct 2021 22:43:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: blubblub@mail.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259239 Bug ID: 259239 Summary: Kernel panic when using igmp forwarding (via igmpproxy) Product: Base System Version: 13.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: blubblub@mail.ru Created attachment 228792 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D228792&action= =3Dedit Backtrace When using the igmpproxy to forward igmp traffic to another host and upon actually trying to use that the following panic occurs. panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/netinet/ip_output.c:343 cpuid =3D 1 time =3D 1634507262 __HardenedBSD_version =3D 1300061 __FreeBSD_version =3D 1300515 version =3D FreeBSD 13.0-STABLE-HBSD #0 : Fri Oct 1 15:49:44 UTC 2021 root@ci-12.md.hardenedbsd.lan:/usr/obj/usr/src/amd64.amd64/sys/HARDENED= BSD KDB: stack backtrace: #0 0xffffffff80c6ecbb at kdb_backtrace+0x6b #1 0xffffffff80c24e7c at vpanic+0x18c #2 0xffffffff80c24c43 at panic+0x43 #3 0xffffffff80dd7a8e at ip_output+0x16ee #4 0xffffffff821242b0 at phyint_send+0x100 #5 0xffffffff8212352e at ip_mdq+0x25e #6 0xffffffff8212199a at X_ip_mrouter_set+0x9ba #7 0xffffffff80ddba6e at rip_ctloutput+0x29e #8 0xffffffff80cc4466 at sosetopt+0xe6 #9 0xffffffff80cc9a9d at kern_setsockopt+0xad #10 0xffffffff80cc99e4 at sys_setsockopt+0x24 #11 0xffffffff810cf83a at amd64_syscall+0x13a #12 0xffffffff810a11fb at fast_syscall_common+0xf8 Uptime: 4m12s PC Engines apu3 coreboot build 20193012 BIOS version v4.11.0.2 4080 MB ECC DRAM This is reproducible on every try. The same thing worked with 12 (including= the same igmpproxy version) without any issues. Steps to reproduce (these assume some external igmp source): 1. kldload ip_mroute.ko 2. service igmpproxy onestart 3. (On another machine) Use VLC to open an igmp network stream 4. Panic Note: This happens on HardenedBSD 13, however none of the code locations indicated by the trace seem to be changed from the default. I'd also be hap= py to test patches. --=20 You are receiving this mail because: You are the assignee for the bug.=