Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2020 08:15:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 248958] pptpd + vlan panic
Message-ID:  <bug-248958-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-248958-227>