kernel: integer divide fault trap, code=0 Stopped at rc4_keysetup+0xaf: divl 0xffffffffffffffac(%rbp),%eax ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic the kernel did not panic ddb{0}> trace rc4_keysetup(ffff80002c8a7bda,ffff80002c8a7cec,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff80002c8a7ba0,ffff9610,1a,ffff8000006d1e80,0) at pipex_mppe_init+0x212 sys/net/pipex.c:2319 pipex_init_session(ffff80002c8a4df8,ffff8000006d1c00) at pipex_init_session+0x637 pipex_session_init_mppe_send sys/net/pipex.c:2336 [inline] pipex_init_session(ffff80002c8a4df8,ffff8000006d1c00) at pipex_init_session+0x637 sys/net/pipex.c:390 pppacioctl(4086337,82907003,ffff8000006d1c00,1,ffff8000ffff4540) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4086337,82907003,ffff8000006d1c00,1,ffff8000ffff4540) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd80684dbe88,82907003,ffff8000006d1c00,1,fffffd807f7d7410,ffff8000ffff4540) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8071702148,82907003,ffff8000006d1c00,ffff8000ffff4540) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff4540,ffff80002c8a5148,ffff80002c8a5190) at sys_ioctl+0x4a2 syscall(ffff80002c8a5210) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002c8a5210) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe3b9ba6b8a0, count: -9 ddb{0}> show registers rdi 0xffff80002b08e000 rsi 0 rbp 0xffff80002c8a4c80 rbx 0 rdx 0 rcx 0 rax 0x1 r8 0x60 r9 0x2f2d33bf r10 0x57f5b5a10b8bfca5 r11 0x260ae28f57a3c1c9 r12 0xffff80002c8a7cec r13 0 r14 0xffff80002c8a7bda r15 0 rip 0xffffffff81e2f22f rc4_keysetup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002c8a4c20 ss 0x10 rc4_keysetup+0xaf: divl 0xffffffffffffffac(%rbp),%eax ddb{0}> show proc PROC (syz-executor.6) pid=32461 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff5500,0xffff8000ffff57b0 process=0xffff8000ffff94d0 user=0xffff80002c8a0000, vmspace=0xfffffd8066013e88 estcpu=32, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 36282 117268 97255 0 2 0 syz-executor.5 85356 433137 52269 0 7 0 syz-executor.0 85356 344973 52269 0 3 0x4000080 fsleep syz-executor.0 85356 338639 52269 0 3 0x4000080 fsleep syz-executor.0 85356 447341 52269 0 3 0x4000080 fsleep syz-executor.0 85356 397808 52269 0 2 0x4000000 syz-executor.0 75456 212543 23393 0 2 0 syz-executor.3 75456 19790 23393 0 3 0x4000080 netcon2 syz-executor.3 75456 253900 23393 0 2 0x4000000 syz-executor.3 22849 436382 48560 0 2 0 syz-executor.6 *22849 32461 48560 0 7 0x4000000 syz-executor.6 62253 197558 18512 0 3 0x80 nanoslp syz-executor.4 62253 93955 18512 0 3 0x4000080 fsleep syz-executor.4 91763 212449 30119 0 2 0 syz-executor.2 91763 179735 30119 0 3 0x4000080 fsleep syz-executor.2 91763 58307 30119 0 3 0x4000080 fsleep syz-executor.2 91763 338944 30119 0 2 0x4000000 syz-executor.2 52269 127655 83703 0 3 0x82 nanoslp syz-executor.0 23393 157804 83703 0 3 0x82 nanoslp syz-executor.3 18691 96282 1 0 3 0x100083 ttyin getty 48560 369511 83703 0 3 0x82 nanoslp syz-executor.6 97255 57464 83703 0 3 0x82 nanoslp syz-executor.5 18512 483126 83703 0 3 0x82 nanoslp syz-executor.4 25209 484964 83703 0 3 0x82 nanoslp syz-executor.7 30119 417879 83703 0 3 0x82 nanoslp syz-executor.2 63980 50566 83703 0 3 0x82 nanoslp syz-executor.1 31033 209189 0 0 3 0x14200 bored sosplice 83703 242248 48546 0 3 0x82 wait syz-fuzzer 83703 272900 48546 0 3 0x4000082 nanoslp syz-fuzzer 83703 130697 48546 0 3 0x4000082 wait syz-fuzzer 83703 319983 48546 0 3 0x4000082 wait syz-fuzzer 83703 497255 48546 0 3 0x4000082 thrsleep syz-fuzzer 83703 194712 48546 0 3 0x4000082 wait syz-fuzzer 83703 123786 48546 0 3 0x4000082 thrsleep syz-fuzzer 83703 129252 48546 0 3 0x4000082 thrsleep syz-fuzzer 83703 391132 48546 0 3 0x4000082 thrsleep syz-fuzzer 83703 183505 48546 0 3 0x4000082 kqread syz-fuzzer 83703 125127 48546 0 3 0x4000082 thrsleep syz-fuzzer 83703 158648 48546 0 3 0x4000082 wait syz-fuzzer 83703 247672 48546 0 3 0x4000082 wait syz-fuzzer 83703 427790 48546 0 3 0x4000082 thrsleep syz-fuzzer 83703 73604 48546 0 3 0x4000082 wait syz-fuzzer 83703 201405 48546 0 3 0x4000082 wait syz-fuzzer 48546 304448 75636 0 3 0x10008a sigsusp ksh 75636 101090 43241 0 3 0x9a kqread sshd 43241 367665 1 0 3 0x88 kqread sshd 73923 71832 40322 74 3 0x1100092 bpf pflogd 40322 65759 1 0 3 0x80 netio pflogd 81107 83518 91600 73 3 0x1100090 kqread syslogd 91600 386551 1 0 3 0x100082 netio syslogd 66706 469584 1 0 3 0x100080 kqread resolvd 57272 274654 36204 77 3 0x100092 kqread dhcpleased 12976 464167 36204 77 3 0x100092 kqread dhcpleased 36204 488721 1 0 3 0x80 kqread dhcpleased 67082 418308 0 0 3 0x14200 bored smr 87890 366944 0 0 2 0x14200 zerothread 41372 514804 0 0 3 0x14200 aiodoned aiodoned 54646 155035 0 0 3 0x14200 syncer update 70184 329938 0 0 3 0x14200 cleaner cleaner 66873 99673 0 0 3 0x14200 reaper reaper 51182 393532 0 0 3 0x14200 pgdaemon pagedaemon 25393 131320 0 0 3 0x14200 bored viomb 62176 281646 0 0 3 0x40014200 acpi0 acpi0 67031 261451 0 0 3 0x40014200 idle1 12623 208955 0 0 3 0x14200 bored softnet 44509 335505 0 0 3 0x14200 bored softnet 3211 187370 0 0 3 0x14200 bored softnet 96768 23697 0 0 3 0x14200 bored softnet 80992 199194 0 0 3 0x14200 bored systqmp 36695 92559 0 0 3 0x14200 bored systq 9153 282491 0 0 3 0x40014200 bored softclock 68118 281919 0 0 3 0x40014200 idle0 1 81092 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10233 6590K 7302K 78643K 26084 0 pcb 13 18K 21K 78643K 7360 0 rtable 249 22K 25K 78643K 2879 0 ifaddr 143 30K 30K 78643K 1354 0 sysctl 2 0K 0K 78643K 2 0 counters 62 36K 36K 78643K 266 0 ioctlops 1 1K 8K 78643K 22662 0 iov 0 0K 16K 78643K 619 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1493 93K 94K 78643K 6641 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 120 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 893 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 93K 78643K 20989 0 sigio 0 0K 0K 78643K 289 0 proc 72 91K 128K 78643K 2007 0 subproc 104 6K 6K 78643K 495 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 2 0K 0K 78643K 367 0 in_multi 86 5K 6K 78643K 746 0 ether_multi 2 0K 0K 78643K 48 0 mrt 1 0K 0K 78643K 73 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 199 890K 890K 78643K 199 0 exec 0 0K 2K 78643K 2798 0 pfkey data 0 0K 0K 78643K 4 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 529 931K 938K 78643K 119658 0 UVM aobj 133 4K 4K 78643K 141 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 2965 0 NDP 17 0K 1K 78643K 202 0 temp 148 4727K 70262K 78643K 109908 0 kqueue 12 18K 26K 78643K 1208 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 1100 0 1097 10 9 1 3 0 8 0 rtentry 112 624 0 529 4 1 3 4 0 8 0 unpcb 144 16289 0 16272 100 99 1 10 0 8 0 syncache 296 59 0 59 15 15 0 1 0 8 0 tcpqe 32 16 0 16 5 5 0 1 0 8 0 tcpcb 768 10916 0 10906 248 246 2 23 0 8 1 arp 120 85 0 69 1 0 1 1 0 8 0 ipq 40 804 0 804 8 8 0 1 0 8 0 ipqe 40 1757 0 1757 8 8 0 1 0 8 0 inpcb 368 27894 0 27882 189 187 2 16 0 8 0 ip6q 72 7 0 7 2 2 0 1 0 8 0 ip6af 40 11 0 11 2 2 0 1 0 8 0 nd6 48 179 0 154 1 0 1 1 0 8 0 pkpcb 40 209 0 209 8 8 0 1 0 8 0 kcovpl 48 38 0 30 1 0 1 1 0 8 0 ppxss 1256 65 0 63 10 9 1 1 0 8 0 pfstscr 40 213 0 210 8 7 1 1 0 8 0 pffrag 232 21 0 21 1 1 0 1 0 482 0 pffrnode 88 21 0 21 1 1 0 1 0 8 0 pffrent 40 78 0 78 2 2 0 1 0 8 0 pfosfp 40 1440 0 1437 6 5 1 5 0 8 0 pfosfpen 112 1440 0 1434 21 20 1 21 0 8 0 pfrktable 1344 431 0 419 9 8 1 2 0 8 0 pfanchor 1280 291 0 78 19 1 18 18 0 8 0 pftag 88 11 0 3 1 0 1 1 0 8 0 pfqueue 264 5 0 5 2 2 0 1 0 8 0 pfstitem 24 61 0 53 1 0 1 1 0 8 0 pfstkey 120 341 0 337 1 0 1 1 0 8 0 pfstate 336 238 0 233 3 2 1 3 0 8 0 pfrule 1360 511 0 463 11 6 5 5 0 8 1 rttmr 136 6 0 6 3 3 0 1 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 3430 0 3010 39 12 27 29 0 8 0 art_table 32 3431 0 3010 4 0 4 4 0 8 0 art_node 16 618 0 535 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 0 1 0 1 1 0 8 0 semapl 112 891 0 881 1 0 1 1 0 8 0 shmpl 112 138 0 10 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 26003 0 24536 92 0 92 92 0 8 0 ffsino 272 26003 0 24536 98 0 98 98 0 8 0 nchpl 144 51000 0 49354 63 0 63 63 0 8 0 rtmask 32 4 0 4 1 1 0 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 216 5926 0 0 330 0 330 330 0 8 0 namei 1024 168176 0 168176 13 12 1 2 0 8 1 percpumem 16 145 0 102 1 0 1 1 0 8 0 vcpupl 2048 102 0 0 13 0 13 13 0 8 0 vmpool 568 188 0 86 9 1 8 8 0 8 0 pfiaddrpl 120 138 0 117 1 0 1 1 0 8 0 kstatmem 264 224 0 190 5 2 3 3 0 8 0 scsiplug 72 19 0 19 6 6 0 1 0 8 0 scxspl 216 159205 0 159205 17 16 1 8 0 8 1 plimitpl 152 1397 0 1382 1 0 1 1 0 8 0 sigapl 424 21239 0 21190 8 2 6 7 0 8 0 futexpl 64 176199 0 176193 8 7 1 1 0 8 0 knotepl 120 832 0 0 17 0 17 17 0 8 0 kqueuepl 216 3835 0 3827 52 51 1 5 0 8 0 pipepl 320 2930 0 2902 89 86 3 13 0 8 0 fdescpl 496 21220 0 21191 5 0 5 5 0 8 0 filepl 152 131500 0 131185 172 159 13 24 0 8 0 lockfpl 104 3254 0 3252 9 8 1 2 0 8 0 lockfspl 48 963 0 961 1 0 1 1 0 8 0 sessionpl 144 57 0 40 1 0 1 1 0 8 0 pgrppl 48 307 0 290 1 0 1 1 0 8 0 ucredpl 104 9296 0 9284 1 0 1 1 0 8 0 zombiepl 144 21192 0 21190 3 2 1 1 0 8 0 processpl 1064 21239 0 21190 4 0 4 4 0 8 0 procpl 672 57102 0 57027 22 15 7 8 0 8 0 srpgc 96 43 0 43 17 17 0 1 0 8 0 sosppl 168 60 0 60 11 11 0 1 0 8 0 sockpl 488 45515 0 45483 659 655 4 34 0 8 0 mcl64k 65536 41 0 0 5 2 3 3 0 8 0 mcl16k 16384 19 0 0 3 0 3 3 0 8 0 mcl12k 12288 18 0 0 2 0 2 2 0 8 0 mcl9k 9216 17 0 0 2 0 2 2 0 8 0 mcl8k 8192 53 0 0 6 2 4 5 0 8 0 mcl4k 4096 36 0 0 3 0 3 3 0 8 1 mcl2k2 2112 8 0 0 1 0 1 1 0 8 0 mcl2k 2048 499 0 0 50 18 32 50 0 8 0 mtagpl 96 600 0 0 8 1 7 8 0 8 0 mbufpl 256 945 0 0 39 0 39 39 0 8 0 bufpl 288 29382 0 23053 453 0 453 453 0 8 0 anonpl 24 3912674 0 3896463 283 125 158 173 0 186 28 amapchunkpl 152 351861 0 351094 113 68 45 60 0 158 10 amappl16 200 52168 0 51559 173 132 41 46 0 8 8 amappl15 192 4563 0 4555 1 0 1 1 0 8 0 amappl14 184 361 0 349 1 0 1 1 0 8 0 amappl13 176 2574 0 2571 1 0 1 1 0 8 0 amappl12 168 942 0 934 1 0 1 1 0 8 0 amappl11 160 3151 0 3128 2 0 2 2 0 8 0 amappl10 152 791 0 784 1 0 1 1 0 8 0 amappl9 144 4526 0 4523 1 0 1 1 0 8 0 amappl8 136 6499 0 6334 6 0 6 6 0 8 0 amappl7 128 5295 0 5270 1 0 1 1 0 8 0 amappl6 120 4544 0 4522 2 1 1 2 0 8 0 amappl5 112 16927 0 16906 1 0 1 1 0 8 0 amappl4 104 7919 0 7869 3 1 2 2 0 8 0 amappl3 96 64132 0 64077 2 0 2 2 0 8 0 amappl2 88 4626 0 4583 2 0 2 2 0 8 0 amappl1 80 524893 0 524212 24 8 16 20 0 8 0 amappl 88 118295 0 118029 9 2 7 7 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 140 0 8 3 0 3 3 0 8 0 uaddrrnd 24 21409 0 21278 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 21409 0 21278 1 0 1 1 0 8 0 vmmpekpl 168 148387 0 148307 4 0 4 4 0 8 0 vmmpepl 168 2044530 0 2041522 314 164 150 154 0 357 7 vmsppl 368 21408 0 21278 13 0 13 13 0 8 0 rwobjpl 56 494504 0 486592 150 35 115 117 0 8 2 pdppl 4096 42825 0 42658 745 576 169 171 0 8 2 pvpl 32 7681014 0 7660786 563 290 273 296 0 265 69 pmappl 248 21408 0 21278 9 0 9 9 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1792 0 828 28 0 28 28 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace rc4_keysetup(ffff80002c8a7bda,ffff80002c8a7cec,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff80002c8a7ba0,ffff9610,1a,ffff8000006d1e80,0) at pipex_mppe_init+0x212 sys/net/pipex.c:2319 pipex_init_session(ffff80002c8a4df8,ffff8000006d1c00) at pipex_init_session+0x637 pipex_session_init_mppe_send sys/net/pipex.c:2336 [inline] pipex_init_session(ffff80002c8a4df8,ffff8000006d1c00) at pipex_init_session+0x637 sys/net/pipex.c:390 pppacioctl(4086337,82907003,ffff8000006d1c00,1,ffff8000ffff4540) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4086337,82907003,ffff8000006d1c00,1,ffff8000ffff4540) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd80684dbe88,82907003,ffff8000006d1c00,1,fffffd807f7d7410,ffff8000ffff4540) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8071702148,82907003,ffff8000006d1c00,ffff8000ffff4540) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff4540,ffff80002c8a5148,ffff80002c8a5190) at sys_ioctl+0x4a2 syscall(ffff80002c8a5210) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002c8a5210) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe3b9ba6b8a0, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 end of kernel end trace frame: 0x7f7fffffb5e0, count: -3