kernel: integer divide fault trap, code=0 Stopped at rc4_keysetup+0xaf: divl 0xffffffffffffffac(%rbp),%eax ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace rc4_keysetup(ffff800021268a6a,ffff800021268b7c,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff800021268a30,ffffdc60,6c59,ffff800000ba2a6c,ffffdc60) at pipex_mppe_init+0x212 sys/net/pipex.c:2319 pipex_init_session(ffff8000212d46f8,ffff800000ba2800) at pipex_init_session+0x5e1 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff8000212d46f8,ffff800000ba2800) at pipex_init_session+0x5e1 sys/net/pipex.c:385 pppacioctl(4486337,82907003,ffff800000ba2800,1,ffff800021232008) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4486337,82907003,ffff800000ba2800,1,ffff800021232008) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd806d9907a0,82907003,ffff800000ba2800,1,fffffd807f7d7680,ffff800021232008) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806e5dcb58,82907003,ffff800000ba2800,ffff800021232008) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021232008,ffff8000212d4a48,ffff8000212d4a90) at sys_ioctl+0x4a2 syscall(ffff8000212d4b10) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff8000212d4b10) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc9950, count: -9 ddb{1}> show registers rdi 0xffff800021268a6a rsi 0 rbp 0xffff8000212d4580 rbx 0 rdx 0 rcx 0 rax 0x1 r8 0x60 r9 0x2f2d33bf r10 0x7a175b04445862e7 r11 0x634fd4f09489183a r12 0xffff800021268b7c r13 0 r14 0xffff800021268a6a r15 0 rip 0xffffffff8187a46f rc4_keysetup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000212d4520 ss 0x10 rc4_keysetup+0xaf: divl 0xffffffffffffffac(%rbp),%eax ddb{1}> show proc PROC (syz-executor1661861328) pid=215567 stat=onproc flags process=2 proc=0 pri=53, usrpri=53, nice=20 forw=0xffffffffffffffff, list=0xffff800021232fc8,0xffffffff82a6df58 process=0xffff80002129adc8 user=0xffff8000212cf000, vmspace=0xfffffd807a810458 estcpu=3, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *33764 215567 2025 0 7 0x2 syz-executor1661861328 2025 248496 74606 0 3 0x10008a sigsusp ksh 74606 305259 5192 0 3 0x9a kqread sshd 67288 306031 1 0 3 0x100083 ttyin getty 5192 306752 1 0 3 0x88 kqread sshd 61212 151685 23742 74 3 0x1100092 bpf pflogd 23742 447456 1 0 3 0x80 netio pflogd 40649 398128 44394 73 3 0x1100090 kqread syslogd 44394 358975 1 0 3 0x100082 netio syslogd 71612 298783 1 0 3 0x100080 kqread resolvd 71343 422745 28401 77 3 0x100092 kqread dhcpleased 32497 64188 28401 77 3 0x100092 kqread dhcpleased 28401 24727 1 0 3 0x80 kqread dhcpleased 22812 93136 0 0 3 0x14200 bored smr 87300 360987 0 0 3 0x14200 pgzero zerothread 70715 241998 0 0 3 0x14200 aiodoned aiodoned 93427 255565 0 0 3 0x14200 syncer update 20730 398235 0 0 3 0x14200 cleaner cleaner 86493 44632 0 0 3 0x14200 reaper reaper 66024 135624 0 0 3 0x14200 pgdaemon pagedaemon 78841 277139 0 0 3 0x14200 bored viomb 48632 116806 0 0 3 0x40014200 acpi0 acpi0 69572 453244 0 0 3 0x40014200 idle1 24738 153884 0 0 3 0x14200 bored softnet 28428 99813 0 0 3 0x14200 bored softnet 36359 223660 0 0 3 0x14200 bored softnet 60113 161726 0 0 3 0x14200 bored softnet 318 342802 0 0 3 0x14200 bored systqmp 23897 271568 0 0 3 0x14200 bored systq 11908 507676 0 0 3 0x40014200 bored softclock 81441 179116 0 0 7 0x40014200 idle0 1 168166 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 33764 (syz-executor1661861328) thread 0xffff800021232008 (215567) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82ad7058) #0 witness_lock+0x44d #1 vn_ioctl+0x41 sys/kern/vfs_vnops.c:508 #2 sys_ioctl+0x4a2 #3 syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] #3 syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 #4 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10158 6457K 6457K 78643K 11248 0 pcb 13 8K 8K 78643K 13 0 rtable 58 1K 2K 78643K 111 0 ifaddr 34 8K 8K 78643K 37 0 counters 44 34K 34K 78643K 44 0 ioctlops 1 1K 4K 78643K 1480 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1168 73K 73K 78643K 1181 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 1K 1K 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 67 91K 91K 78643K 282 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 441 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 58 3K 5K 78643K 1577 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 5 0K 0K 78643K 5 0 temp 25 4709K 4773K 78643K 2548 0 kqueue 11 16K 18K 78643K 24 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> 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 19 0 16 1 0 1 1 0 8 0 rtentry 112 23 0 1 1 0 1 1 0 8 0 unpcb 144 35 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 120 2 0 0 1 0 1 1 0 8 0 inpcb 368 32 0 26 1 0 1 1 0 8 0 mppekey 1024 1 0 0 1 0 1 1 0 8 0 ppxss 1256 2 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 9 0 0 1 0 1 1 0 8 0 pfstkey 120 9 0 0 1 0 1 1 0 8 0 pfstate 336 9 0 0 1 0 1 1 0 8 0 pfrule 1360 21 0 16 2 1 1 2 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 1426 0 40 87 0 87 87 0 8 0 ffsino 272 1426 0 40 93 0 93 93 0 8 0 nchpl 144 1612 0 48 58 0 58 58 0 8 0 uvmvnodes 80 1436 0 0 30 0 30 30 0 8 0 vnodes 216 1436 0 0 80 0 80 80 0 8 0 namei 1024 4417 0 4417 2 1 1 1 0 8 1 percpumem 16 34 0 0 1 0 1 1 0 8 0 kstatmem 264 10 0 0 1 0 1 1 0 8 0 scxspl 216 3991 0 3991 9 1 8 8 0 8 8 plimitpl 152 16 0 9 1 0 1 1 0 8 0 sigapl 424 328 0 296 5 1 4 5 0 8 0 knotepl 120 43 0 0 2 0 2 2 0 8 0 kqueuepl 216 20 0 13 1 0 1 1 0 8 0 pipepl 320 88 0 85 2 1 1 1 0 8 0 fdescpl 496 311 0 296 3 0 3 3 0 8 0 filepl 152 1195 0 1136 3 0 3 3 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 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 104 69 0 57 1 0 1 1 0 8 0 zombiepl 144 296 0 296 2 1 1 1 0 8 1 processpl 1064 328 0 296 3 0 3 3 0 8 0 procpl 672 328 0 296 4 1 3 4 0 8 0 sockpl 488 86 0 62 5 1 4 4 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k 2048 75 0 0 9 0 9 9 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 124 0 0 8 0 8 8 0 8 0 bufpl 288 1989 0 85 136 0 136 136 0 8 0 anonpl 24 38664 0 36682 18 4 14 15 0 186 2 amapchunkpl 152 2859 0 2762 6 2 4 6 0 158 0 amappl16 200 31 0 30 2 1 1 1 0 8 0 amappl15 192 69 0 65 1 0 1 1 0 8 0 amappl13 176 34 0 33 2 1 1 1 0 8 0 amappl12 168 3 0 3 2 1 1 1 0 8 1 amappl11 160 66 0 49 1 0 1 1 0 8 0 amappl10 152 2 0 0 1 0 1 1 0 8 0 amappl9 144 473 0 471 1 0 1 1 0 8 0 amappl8 136 374 0 372 1 0 1 1 0 8 0 amappl7 128 66 0 59 1 0 1 1 0 8 0 amappl6 120 93 0 87 1 0 1 1 0 8 0 amappl5 112 93 0 80 1 0 1 1 0 8 0 amappl4 104 640 0 619 1 0 1 1 0 8 0 amappl3 96 427 0 402 1 0 1 1 0 8 0 amappl2 88 320 0 291 1 0 1 1 0 8 0 amappl1 80 9647 0 9238 12 2 10 10 0 8 0 amappl 88 1291 0 1251 2 0 2 2 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 313 0 298 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 313 0 298 1 0 1 1 0 8 0 vmmpekpl 168 6238 0 6221 1 0 1 1 0 8 0 vmmpepl 168 27334 0 26481 47 5 42 42 0 357 4 vmsppl 368 312 0 298 2 0 2 2 0 8 0 rwobjpl 56 9753 0 7750 31 1 30 30 0 8 0 pdppl 4096 633 0 596 65 28 37 45 0 8 0 pvpl 32 128492 0 124561 42 7 35 35 0 265 1 pmappl 248 312 0 298 2 0 2 2 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 424 0 32 12 0 12 12 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82997ff0) 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 acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206 sched_idle(ffffffff82997ff0) at sched_idle+0x417 sys/kern/kern_sched.c:175 end trace frame: 0x0, count: -5 ddb{0}> machine ddbcpu 1 Stopped at rc4_keysetup+0xaf: divl 0xffffffffffffffac(%rbp),%eax ddb{1}> trace rc4_keysetup(ffff800021268a6a,ffff800021268b7c,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff800021268a30,ffffdc60,6c59,ffff800000ba2a6c,ffffdc60) at pipex_mppe_init+0x212 sys/net/pipex.c:2319 pipex_init_session(ffff8000212d46f8,ffff800000ba2800) at pipex_init_session+0x5e1 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff8000212d46f8,ffff800000ba2800) at pipex_init_session+0x5e1 sys/net/pipex.c:385 pppacioctl(4486337,82907003,ffff800000ba2800,1,ffff800021232008) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1315 [inline] pppacioctl(4486337,82907003,ffff800000ba2800,1,ffff800021232008) at pppacioctl+0x156 sys/net/if_pppx.c:1165 VOP_IOCTL(fffffd806d9907a0,82907003,ffff800000ba2800,1,fffffd807f7d7680,ffff800021232008) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd806e5dcb58,82907003,ffff800000ba2800,ffff800021232008) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800021232008,ffff8000212d4a48,ffff8000212d4a90) at sys_ioctl+0x4a2 syscall(ffff8000212d4b10) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff8000212d4b10) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffc9950, count: -9 ddb{1}>