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(ffff80002174f802,ffff80002174f914,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff80002174f7e8,4aed,11ed,ffff800000b98e6c,4aed) at pipex_mppe_init+0x207 sys/net/pipex.c:2319 pipex_init_session(ffff80002174baf8,ffff800000b98c00) at pipex_init_session+0x5d6 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff80002174baf8,ffff800000b98c00) at pipex_init_session+0x5d6 sys/net/pipex.c:385 pppacioctl(4086337,82907003,ffff800000b98c00,1,ffff8000ffff9268) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4086337,82907003,ffff800000b98c00,1,ffff8000ffff9268) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd806d26da28,82907003,ffff800000b98c00,1,fffffd807f7d7a28,ffff8000ffff9268) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8070861260,82907003,ffff800000b98c00,ffff8000ffff9268) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff9268,ffff80002174be48,ffff80002174bea0) at sys_ioctl+0x49e syscall(ffff80002174bf10) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6c00, count: -9 ddb> show registers rdi 0xffff80002174f802 rsi 0 rbp 0xffff80002174b980 rbx 0 rdx 0 rcx 0 rax 0x1 r8 0x60 r9 0x2f2d33bf r10 0x87fdb2d7dca69147 r11 0x37e0c0290a730827 r12 0xffff80002174f914 r13 0 r14 0xffff80002174f802 r15 0 rip 0xffffffff814045cf rc4_keysetup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002174b920 ss 0x10 rc4_keysetup+0xaf: divl 0xffffffffffffffac(%rbp),%eax ddb> show proc PROC (syz-executor2174861987) pid=395053 stat=onproc flags process=2 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff9a48,0xffffffff82a08ee8 process=0xffff8000ffff67e0 user=0xffff800021746000, vmspace=0xfffffd807f016660 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *71799 395053 93015 0 7 0x2 syz-executor2174861987 93015 451782 72163 0 3 0x10008a sigsusp ksh 72163 240382 39656 0 3 0x9a kqread sshd 13728 93987 1 0 3 0x100083 ttyin getty 39656 317107 1 0 3 0x88 kqread sshd 9666 327914 18343 73 3 0x1100090 kqread syslogd 18343 108410 1 0 3 0x100082 netio syslogd 91292 41271 1 0 3 0x100080 kqread resolvd 11265 223027 6681 77 3 0x100092 kqread dhcpleased 52972 195796 6681 77 3 0x100092 kqread dhcpleased 6681 286338 1 0 3 0x80 kqread dhcpleased 69927 490967 0 0 3 0x14200 bored smr 35574 292261 0 0 3 0x14200 pgzero zerothread 12628 506692 0 0 3 0x14200 aiodoned aiodoned 49576 133850 0 0 3 0x14200 syncer update 77769 122400 0 0 3 0x14200 cleaner cleaner 16806 155372 0 0 3 0x14200 reaper reaper 95390 5122 0 0 3 0x14200 pgdaemon pagedaemon 373 384882 0 0 3 0x14200 bored viomb 46633 183260 0 0 3 0x40014200 acpi0 acpi0 83267 28762 0 0 3 0x14200 bored softnet 18733 32932 0 0 3 0x14200 bored softnet 21822 499174 0 0 3 0x14200 bored softnet 77364 522656 0 0 3 0x14200 bored softnet 84977 261708 0 0 3 0x14200 bored systqmp 7919 162039 0 0 3 0x14200 bored systq 67847 471038 0 0 3 0x40014200 bored softclock 91438 151029 0 0 3 0x40014200 idle0 1 257307 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 405 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 1299 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 2349 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 336 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 4142 0 4142 2 1 1 1 0 8 1 kstatmem 264 8 0 0 1 0 1 1 0 8 0 scxspl 216 3607 0 3607 2 1 1 2 0 8 1 plimitpl 152 15 0 9 1 0 1 1 0 8 0 sigapl 424 302 0 273 4 0 4 4 0 8 0 knotepl 120 5744 0 5715 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 286 0 273 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 273 0 273 2 1 1 1 0 8 1 processpl 1000 302 0 273 5 1 4 5 0 8 0 procpl 672 302 0 273 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 5476 0 5438 8 1 7 7 0 8 1 mtagpl 96 4 0 4 1 1 0 1 0 8 0 mbufpl 256 10069 0 9985 7 0 7 7 0 8 0 bufpl 288 1904 0 77 131 0 131 131 0 8 0 anonpl 24 36178 0 34402 15 3 12 13 0 188 1 amapchunkpl 152 2667 0 2580 5 1 4 5 0 158 0 amappl16 200 28 0 27 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 4 0 4 2 1 1 1 0 8 1 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 346 0 345 2 1 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 563 1 0 1 1 0 8 0 amappl3 96 411 0 388 1 0 1 1 0 8 0 amappl2 88 297 0 270 1 0 1 1 0 8 0 amappl1 80 9019 0 8637 10 1 9 9 0 8 0 amappl 88 1039 0 1003 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 286 0 273 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 286 0 273 1 0 1 1 0 8 0 vmmpekpl 168 6004 0 5988 1 0 1 1 0 8 0 vmmpepl 168 25536 0 24761 41 3 38 38 0 357 3 vmsppl 272 285 0 273 2 1 1 2 0 8 0 rwobjpl 24 9243 0 7297 13 0 13 13 0 8 0 pdppl 4096 578 0 546 55 23 32 40 0 8 0 pvpl 32 119146 0 115531 36 3 33 33 0 265 3 pmappl 216 285 0 273 1 0 1 1 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 396 0 31 11 0 11 11 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace rc4_keysetup(ffff80002174f802,ffff80002174f914,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff80002174f7e8,4aed,11ed,ffff800000b98e6c,4aed) at pipex_mppe_init+0x207 sys/net/pipex.c:2319 pipex_init_session(ffff80002174baf8,ffff800000b98c00) at pipex_init_session+0x5d6 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff80002174baf8,ffff800000b98c00) at pipex_init_session+0x5d6 sys/net/pipex.c:385 pppacioctl(4086337,82907003,ffff800000b98c00,1,ffff8000ffff9268) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4086337,82907003,ffff800000b98c00,1,ffff8000ffff9268) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd806d26da28,82907003,ffff800000b98c00,1,fffffd807f7d7a28,ffff8000ffff9268) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8070861260,82907003,ffff800000b98c00,ffff8000ffff9268) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff9268,ffff80002174be48,ffff80002174bea0) at sys_ioctl+0x49e syscall(ffff80002174bf10) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6c00, count: -9 ddb> machine ddbcpu 1 No such command ddb> trace rc4_keysetup(ffff80002174f802,ffff80002174f914,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff80002174f7e8,4aed,11ed,ffff800000b98e6c,4aed) at pipex_mppe_init+0x207 sys/net/pipex.c:2319 pipex_init_session(ffff80002174baf8,ffff800000b98c00) at pipex_init_session+0x5d6 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff80002174baf8,ffff800000b98c00) at pipex_init_session+0x5d6 sys/net/pipex.c:385 pppacioctl(4086337,82907003,ffff800000b98c00,1,ffff8000ffff9268) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4086337,82907003,ffff800000b98c00,1,ffff8000ffff9268) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd806d26da28,82907003,ffff800000b98c00,1,fffffd807f7d7a28,ffff8000ffff9268) at VOP_IOCTL+0x8d sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8070861260,82907003,ffff800000b98c00,ffff8000ffff9268) at vn_ioctl+0xb7 sys/kern/vfs_vnops.c:525 sys_ioctl(ffff8000ffff9268,ffff80002174be48,ffff80002174bea0) at sys_ioctl+0x49e syscall(ffff80002174bf10) at syscall+0x447 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff6c00, count: -9 ddb>