kernel: integer divide fault trap, code=0 Stopped at rc4_keysetup+0xaf: divl 0xffffffffffffffac(%rbp),%eax ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace rc4_keysetup(ffff800021746a6a,ffff800021746b7c,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff800021746a50,6a96,5615,ffff800000b9866c,6a96) at pipex_mppe_init+0x207 sys/net/pipex.c:2319 pipex_init_session(ffff80002170b848,ffff800000b98400) at pipex_init_session+0x5d6 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff80002170b848,ffff800000b98400) at pipex_init_session+0x5d6 sys/net/pipex.c:385 pppacioctl(4086334,82907003,ffff800000b98400,1,ffff8000ffff8a88) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4086334,82907003,ffff800000b98400,1,ffff8000ffff8a88) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd807a69a950,82907003,ffff800000b98400,1,fffffd807f7d77b8,ffff8000ffff8a88) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806ecb5878,82907003,ffff800000b98400,ffff8000ffff8a88) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff8a88,ffff80002170bb98,ffff80002170bbf0) at sys_ioctl+0x49e syscall(ffff80002170bc60) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef4a0, count: -9 ddb> show registers rdi 0xffff800021746a6a rsi 0 rbp 0xffff80002170b6d0 rbx 0 rdx 0 rcx 0 rax 0x1 r8 0x60 r9 0x2f2d33bf r10 0x3c519df05e19a73f r11 0x672bb054834828c2 r12 0xffff800021746b7c r13 0 r14 0xffff800021746a6a r15 0 rip 0xffffffff8166a3af rc4_keysetup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002170b670 ss 0x10 rc4_keysetup+0xaf: divl 0xffffffffffffffac(%rbp),%eax ddb> show proc PROC (syz-executor3375050295) pid=63934 stat=onproc flags process=2 proc=0 pri=50, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff82a8,0xffffffff82ab8ba8 process=0xffff800021712fb8 user=0xffff800021706000, vmspace=0xfffffd807f016440 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *66548 63934 82252 0 7 0x2 syz-executor3375050295 82252 480731 70384 0 3 0x10008a sigsusp ksh 70384 151783 85456 0 3 0x9a kqread sshd 13127 436067 1 0 3 0x100083 ttyin getty 85456 229009 1 0 3 0x88 kqread sshd 31954 491556 76871 73 3 0x1100090 kqread syslogd 76871 8672 1 0 3 0x100082 netio syslogd 61312 41191 1 0 3 0x100080 kqread resolvd 49415 26849 82362 77 3 0x100092 kqread dhcpleased 28369 338724 82362 77 3 0x100092 kqread dhcpleased 82362 46813 1 0 3 0x80 kqread dhcpleased 14101 97347 0 0 3 0x14200 bored smr 59127 101509 0 0 3 0x14200 pgzero zerothread 66713 34178 0 0 3 0x14200 aiodoned aiodoned 77980 380264 0 0 3 0x14200 syncer update 10397 394068 0 0 3 0x14200 cleaner cleaner 75880 258353 0 0 3 0x14200 reaper reaper 49319 423843 0 0 3 0x14200 pgdaemon pagedaemon 86557 82656 0 0 3 0x14200 bored viomb 97980 77819 0 0 3 0x40014200 acpi0 acpi0 12752 56561 0 0 3 0x14200 bored softnet 92048 317260 0 0 3 0x14200 bored softnet 46265 78751 0 0 3 0x14200 bored softnet 86310 497115 0 0 3 0x14200 bored softnet 75393 302532 0 0 3 0x14200 bored systqmp 90093 148045 0 0 3 0x14200 bored systq 61866 397038 0 0 3 0x40014200 bored softclock 10951 349989 0 0 3 0x40014200 idle0 1 427567 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10140 6384K 6413K 78643K 11230 0 pcb 13 8K 8K 78643K 13 0 rtable 58 1K 2K 78643K 109 0 ifaddr 29 7K 7K 78643K 29 0 counters 21 16K 16K 78643K 21 0 ioctlops 1 1K 2K 78643K 26 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1167 73K 73K 78643K 1180 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 0K 0K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 1 0K 0K 78643K 1 0 proc 55 58K 59K 78643K 226 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 11 0K 0K 78643K 11 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 25 122K 122K 78643K 25 0 exec 0 0K 2K 78643K 403 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 62K 78643K 8 0 UVM amap 51 2K 4K 78643K 1304 0 UVM aobj 3 2K 2K 78643K 3 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 4 0K 0K 78643K 4 0 temp 20 4701K 4765K 78643K 2457 0 kqueue 11 16K 18K 78643K 24 0 SYN cache 2 16K 16K 78643K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 20 0 17 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 144 33 0 20 1 0 1 1 0 8 0 syncache 296 5 0 5 2 1 1 1 0 8 1 tcpcb 768 8 0 5 1 0 1 1 0 8 0 arp 88 2 0 0 1 0 1 1 0 8 0 inpcb 320 25 0 19 1 0 1 1 0 8 0 mppekey 1024 1 0 0 1 0 1 1 0 8 0 ppxss 1160 2 0 0 1 0 1 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 97 0 0 7 0 7 7 0 8 0 art_table 32 98 0 0 1 0 1 1 0 8 0 art_node 16 22 0 2 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1417 0 39 87 0 87 87 0 8 0 ffsino 240 1417 0 39 82 0 82 82 0 8 0 nchpl 144 1601 0 46 58 0 58 58 0 8 0 uvmvnodes 80 1426 0 0 30 0 30 30 0 8 0 vnodes 216 1426 0 0 80 0 80 80 0 8 0 namei 1024 4138 0 4138 2 1 1 1 0 8 1 kstatmem 264 8 0 0 1 0 1 1 0 8 0 scxspl 216 3710 0 3710 3 2 1 2 0 8 1 plimitpl 152 15 0 9 1 0 1 1 0 8 0 sigapl 424 301 0 272 4 0 4 4 0 8 0 knotepl 120 6270 0 6241 3 1 2 2 0 8 1 kqueuepl 184 20 0 13 1 0 1 1 0 8 0 pipepl 288 82 0 79 2 1 1 1 0 8 0 fdescpl 432 285 0 272 2 0 2 2 0 8 0 filepl 120 1062 0 1008 2 0 2 2 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 1 0 1 1 0 8 0 sessionpl 144 17 0 9 1 0 1 1 0 8 0 pgrppl 48 17 0 9 1 0 1 1 0 8 0 ucredpl 104 64 0 54 1 0 1 1 0 8 0 zombiepl 144 272 0 272 2 1 1 1 0 8 1 processpl 1000 301 0 272 5 1 4 5 0 8 0 procpl 672 301 0 272 3 0 3 3 0 8 0 sockpl 456 78 0 56 3 0 3 3 0 8 0 mcl8k 8192 9 0 9 2 1 1 1 0 8 1 mcl4k 4096 5 0 5 2 1 1 1 0 8 1 mcl2k 2048 5495 0 5457 7 0 7 7 0 8 1 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 10168 0 10084 7 0 7 7 0 8 1 bufpl 288 1904 0 77 131 0 131 131 0 8 0 anonpl 24 37033 0 35259 15 3 12 13 0 188 1 amapchunkpl 152 2691 0 2605 5 1 4 5 0 158 0 amappl16 200 27 0 26 2 1 1 1 0 8 0 amappl15 192 62 0 58 1 0 1 1 0 8 0 amappl13 176 32 0 31 2 1 1 1 0 8 0 amappl12 168 5 0 4 1 0 1 1 0 8 0 amappl11 160 60 0 47 1 0 1 1 0 8 0 amappl9 144 468 0 466 1 0 1 1 0 8 0 amappl8 136 347 0 344 1 0 1 1 0 8 0 amappl7 128 62 0 55 1 0 1 1 0 8 0 amappl6 120 82 0 76 1 0 1 1 0 8 0 amappl5 112 83 0 74 1 0 1 1 0 8 0 amappl4 104 581 0 561 1 0 1 1 0 8 0 amappl3 96 404 0 381 1 0 1 1 0 8 0 amappl2 88 296 0 269 1 0 1 1 0 8 0 amappl1 80 9007 0 8632 11 2 9 9 0 8 0 amappl 88 1043 0 1008 1 0 1 1 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 285 0 272 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 285 0 272 1 0 1 1 0 8 0 vmmpekpl 168 5995 0 5982 1 0 1 1 0 8 0 vmmpepl 168 25521 0 24748 43 5 38 38 0 357 3 vmsppl 272 284 0 272 2 1 1 2 0 8 0 rwobjpl 24 9274 0 7332 13 0 13 13 0 8 0 pdppl 4096 576 0 544 54 22 32 40 0 8 0 pvpl 32 120052 0 116447 40 7 33 34 0 265 3 pmappl 216 284 0 272 1 0 1 1 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 393 0 29 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rc4_keysetup(ffff800021746a6a,ffff800021746b7c,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff800021746a50,6a96,5615,ffff800000b9866c,6a96) at pipex_mppe_init+0x207 sys/net/pipex.c:2319 pipex_init_session(ffff80002170b848,ffff800000b98400) at pipex_init_session+0x5d6 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff80002170b848,ffff800000b98400) at pipex_init_session+0x5d6 sys/net/pipex.c:385 pppacioctl(4086334,82907003,ffff800000b98400,1,ffff8000ffff8a88) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4086334,82907003,ffff800000b98400,1,ffff8000ffff8a88) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd807a69a950,82907003,ffff800000b98400,1,fffffd807f7d77b8,ffff8000ffff8a88) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806ecb5878,82907003,ffff800000b98400,ffff8000ffff8a88) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff8a88,ffff80002170bb98,ffff80002170bbf0) at sys_ioctl+0x49e syscall(ffff80002170bc60) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef4a0, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace rc4_keysetup(ffff800021746a6a,ffff800021746b7c,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff800021746a50,6a96,5615,ffff800000b9866c,6a96) at pipex_mppe_init+0x207 sys/net/pipex.c:2319 pipex_init_session(ffff80002170b848,ffff800000b98400) at pipex_init_session+0x5d6 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff80002170b848,ffff800000b98400) at pipex_init_session+0x5d6 sys/net/pipex.c:385 pppacioctl(4086334,82907003,ffff800000b98400,1,ffff8000ffff8a88) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4086334,82907003,ffff800000b98400,1,ffff8000ffff8a88) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd807a69a950,82907003,ffff800000b98400,1,fffffd807f7d77b8,ffff8000ffff8a88) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806ecb5878,82907003,ffff800000b98400,ffff8000ffff8a88) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff8a88,ffff80002170bb98,ffff80002170bbf0) at sys_ioctl+0x49e syscall(ffff80002170bc60) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffef4a0, count: -9 ddb>