From owner-freebsd-bugs@freebsd.org Fri Aug 28 08:15:18 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6DC6F3D199F for ; Fri, 28 Aug 2020 08:15:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BdC862KRTz4D75 for ; Fri, 28 Aug 2020 08:15:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 4FB5C3D199E; Fri, 28 Aug 2020 08:15:18 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4F7C53D16CA for ; Fri, 28 Aug 2020 08:15:18 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdC861TkVz4D74 for ; Fri, 28 Aug 2020 08:15:18 +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 1768711DFB for ; Fri, 28 Aug 2020 08:15:18 +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 07S8FHqG011899 for ; Fri, 28 Aug 2020 08:15:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 07S8FHGC011898 for bugs@FreeBSD.org; Fri, 28 Aug 2020 08:15:17 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 248958] pptpd + vlan panic Date: Fri, 28 Aug 2020 08:15:17 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: manu@freebsd.org 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 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2020 08:15:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D248958 Bug ID: 248958 Summary: pptpd + vlan panic Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: manu@freebsd.org Tested on : FreeBSD 13.0-CURRENT #0 r364846: Thu Aug 27 05:10:55 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC a= md64 No modification, just installed from the latest snapshot (FreeBSD-13.0-CURRENT-amd64-20200827-r364846-memstick.img) Step to reproduce (No need of a pptp peer) : root@test:~ # sysrc network_interfaces=3Dix0 network_interfaces: auto -> ix0 root@test:~ # sysrc cloned_interfaces=3D"vlan666" cloned_interfaces: -> vlan666 root@test:~ # sysrc ifconfig_ix0=3D"up polling" ifconfig_ix0: DHCP -> up polling root@test:~ # sysrc ifconfig_vlan666=3D"vlan 666 vlandev ix0" ifconfig_vlan666: -> vlan 666 vlandev ix0 root@test:~ # sysrc ppp_enable=3D"YES" ppp_enable: NO -> YES root@test:~ # sysrc ppp_mode=3D"ddial" ppp_mode: auto -> ddial root@test:~ # sysrc ppp_nat=3D"NO" ppp_nat: YES -> NO root@test:~ # sysrc ppp_profile=3D"crash" ppp_profile: papchap -> crash root@test:~ # cat >> /etc/ppp/ppp.conf crash:=20 =C2=A0=C2=A0=C2=A0 set device PPPoE:vlan666 =C2=A0=C2=A0=C2=A0 set authname tutu@titi =C2=A0=C2=A0=C2=A0 set authkey zerosec =C2=A0=C2=A0=C2=A0 set dial =C2=A0=C2=A0=C2=A0 set login =C2=A0=C2=A0=C2=A0 set log phase tun command add default HISADDR ^D root@test:~ # service netif restart root@test:~ # service ppp restart Stopping PPP profile: crash. Starting PPP profile: crash. root@test:~ # WARNING: attempt to domain_add(netgraph) after domainfinalize= () panic: Assertion in_epoch(net_epoch_preempt) failed at /usr/src/sys/net/if_vlan.c:1156 cpuid =3D 2 time =3D 1598602352 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0066d41= 400 vpanic() at vpanic+0x182/frame 0xfffffe0066d41450 panic() at panic+0x43/frame 0xfffffe0066d414b0 vlan_transmit() at vlan_transmit+0x165/frame 0xfffffe0066d41500 ether_output_frame() at ether_output_frame+0xa2/frame 0xfffffe0066d41530 ng_apply_item() at ng_apply_item+0xa8/frame 0xfffffe0066d415b0 ng_snd_item() at ng_snd_item+0x2cf/frame 0xfffffe0066d415f0 ng_pppoe_rcvmsg() at ng_pppoe_rcvmsg+0xc9c/frame 0xfffffe0066d41660 ng_apply_item() at ng_apply_item+0x3e3/frame 0xfffffe0066d416e0 ng_snd_item() at ng_snd_item+0x2cf/frame 0xfffffe0066d41720 ngc_send() at ngc_send+0x19b/frame 0xfffffe0066d417c0 sosend_generic() at sosend_generic+0x49f/frame 0xfffffe0066d41870 sosend() at sosend+0x66/frame 0xfffffe0066d418a0 kern_sendit() at kern_sendit+0x1ec/frame 0xfffffe0066d41930 sendit() at sendit+0x1d8/frame 0xfffffe0066d41980 sys_sendto() at sys_sendto+0x4d/frame 0xfffffe0066d419d0 amd64_syscall() at amd64_syscall+0x140/frame 0xfffffe0066d41af0 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe0066d41af0 --- syscall (133, FreeBSD ELF64, sys_sendto), rip =3D 0x8007f291a, rsp =3D 0x7fffffffd8a8, rbp =3D 0x7fffffffd8f0 --- KDB: enter: panic [ thread pid 2314 tid 100146 ] Stopped at kdb_enter+0x37: movq $0,0x10b7ad6(%rip) db> --=20 You are receiving this mail because: You are the assignee for the bug.=