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(ffff80002e4a1e12,ffff80002e4a1f24,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff80002e4a1dd8,fffff7d4,c2e,ffff800000c7466c,fffff7d4) at pipex_mppe_init+0x212 sys/net/pipex.c:2319 pipex_init_session(ffff80002e51fc08,ffff800000c74400) at pipex_init_session+0x5e1 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff80002e51fc08,ffff800000c74400) at pipex_init_session+0x5e1 sys/net/pipex.c:385 pppacioctl(4086334,82907003,ffff800000c74400,1,ffff800027bee540) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1316 [inline] pppacioctl(4086334,82907003,ffff800000c74400,1,ffff800027bee540) at pppacioctl+0x156 sys/net/if_pppx.c:1166 VOP_IOCTL(fffffd806491ea58,82907003,ffff800000c74400,1,fffffd807f7d76e8,ffff800027bee540) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8064026578,82907003,ffff800000c74400,ffff800027bee540) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800027bee540,ffff80002e51ff58,ffff80002e51ffa0) at sys_ioctl+0x4a2 syscall(ffff80002e520020) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e520020) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe26b11fce10, count: -9 ddb{0}> show registers rdi 0xffff800021341000 rsi 0 rbp 0xffff80002e51fa90 rbx 0 rdx 0 rcx 0 rax 0x1 r8 0x60 r9 0x2f2d33bf r10 0x33cb052e7f853050 r11 0x39da284d0b08262a r12 0xffff80002e4a1f24 r13 0 r14 0xffff80002e4a1e12 r15 0 rip 0xffffffff82440a2f rc4_keysetup+0xaf cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff80002e51fa30 ss 0x10 rc4_keysetup+0xaf: divl 0xffffffffffffffac(%rbp),%eax ddb{0}> show proc PROC (syz-executor.0) pid=32460 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=84, nice=20 forw=0xffffffffffffffff, list=0xffff800027bef500,0xffff800027befcf0 process=0xffff800027bf0868 user=0xffff80002e51b000, vmspace=0xfffffd8008752730 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 65658 268688 99158 0 2 0 syz-executor.0 *65658 32460 99158 0 7 0x4000000 syz-executor.0 11048 616 5972 0 2 0x4081000 syz-executor.7 11048 169160 5972 0 3 0x4003000 suspend syz-executor.7 11048 79793 5972 0 2 0x4081000 syz-executor.7 46605 383087 79163 0 2 0x480 syz-executor.4 46605 429477 79163 0 3 0x4000080 fsleep syz-executor.4 46605 334198 79163 0 3 0x4000080 fsleep syz-executor.4 47335 3096 62733 0 7 0 syz-executor.6 47335 340372 62733 0 2 0x4000080 syz-executor.6 44199 473718 18533 0 2 0x480 syz-executor.5 44199 320687 18533 0 3 0x4000080 fsleep syz-executor.5 44199 358597 18533 0 3 0x4000080 fsleep syz-executor.5 32531 5172 42043 0 2 0x480 syz-executor.3 32531 127412 42043 0 3 0x4000080 fsleep syz-executor.3 32531 509920 42043 0 3 0x4000080 fsleep syz-executor.3 86738 26989 41072 0 3 0x82 piperd syz-executor.2 56308 70680 41072 0 3 0x82 piperd syz-executor.1 49803 4947 0 0 3 0x14200 acct acct 60092 289785 1 0 3 0x100083 ttyin getty 96934 114394 0 0 3 0x14200 bored sosplice 55240 169277 0 0 3 0x14280 nfsidl nfsio 75255 320507 0 0 3 0x14280 nfsidl nfsio 90412 490061 0 0 3 0x14280 nfsidl nfsio 78715 390113 0 0 3 0x14280 nfsidl nfsio 5136 512404 0 0 3 0x14280 nfsidl nfsio 65721 477491 0 0 3 0x14280 nfsidl nfsio 84021 177320 0 0 3 0x14280 nfsidl nfsio 90806 48480 0 0 3 0x14280 nfsidl nfsio 30420 288731 0 0 3 0x14280 nfsidl nfsio 62733 355276 41072 0 3 0x82 nanoslp syz-executor.6 5972 6588 41072 0 3 0x82 nanoslp syz-executor.7 18533 513739 41072 0 3 0x82 nanoslp syz-executor.5 79163 110061 41072 0 3 0x82 nanoslp syz-executor.4 42043 44744 41072 0 3 0x82 nanoslp syz-executor.3 99158 348533 41072 0 3 0x82 nanoslp syz-executor.0 41072 50607 26464 0 3 0x82 thrsleep syz-fuzzer 41072 35866 26464 0 3 0x4000082 thrsleep syz-fuzzer 41072 426272 26464 0 3 0x4000082 wait syz-fuzzer 41072 61620 26464 0 3 0x4000082 wait syz-fuzzer 41072 227202 26464 0 3 0x4000082 thrsleep syz-fuzzer 41072 160861 26464 0 3 0x4000082 thrsleep syz-fuzzer 41072 243151 26464 0 3 0x4000082 wait syz-fuzzer 41072 155948 26464 0 3 0x4000082 thrsleep syz-fuzzer 41072 93506 26464 0 3 0x4000082 kqread syz-fuzzer 41072 366196 26464 0 3 0x4000082 wait syz-fuzzer 41072 214407 26464 0 3 0x4000082 wait syz-fuzzer 41072 394097 26464 0 3 0x4000082 wait syz-fuzzer 41072 429821 26464 0 3 0x4000082 thrsleep syz-fuzzer 41072 183494 26464 0 3 0x4000082 wait syz-fuzzer 41072 198348 26464 0 3 0x4000082 thrsleep syz-fuzzer 41072 11317 26464 0 3 0x4000082 wait syz-fuzzer 26464 198336 9784 0 3 0x10008a sigsusp ksh 9784 306759 14201 0 3 0x9a kqread sshd 14201 408693 1 0 3 0x88 kqread sshd 98631 56750 59689 74 3 0x1100092 bpf pflogd 59689 453541 1 0 3 0x80 netio pflogd 85171 8371 15217 73 3 0x1100090 kqread syslogd 15217 457031 1 0 3 0x100082 netio syslogd 58891 297643 1 0 3 0x100080 kqread resolvd 3379 41331 9617 77 3 0x100092 kqread dhcpleased 99952 416413 9617 77 3 0x100092 kqread dhcpleased 9617 510023 1 0 3 0x80 kqread dhcpleased 9023 175556 0 0 3 0x14200 bored smr 83036 30477 0 0 2 0x14200 zerothread 87337 523459 0 0 3 0x14200 aiodoned aiodoned 24879 37828 0 0 3 0x14200 syncer update 72057 93308 0 0 3 0x14200 cleaner cleaner 56069 68116 0 0 3 0x14200 reaper reaper 62796 239920 0 0 3 0x14200 pgdaemon pagedaemon 27454 364058 0 0 3 0x14200 bored viomb 47937 239129 0 0 3 0x40014200 acpi0 acpi0 75022 373037 0 0 3 0x40014200 idle1 80757 410700 0 0 3 0x14200 bored softnet 97566 506321 0 0 3 0x14200 bored softnet 7037 285004 0 0 3 0x14200 bored softnet 71678 57021 0 0 3 0x14200 bored softnet 89808 5114 0 0 3 0x14200 bored systqmp 18595 268654 0 0 3 0x14200 bored systq 63620 517108 0 0 3 0x40014200 bored softclock 36330 333263 0 0 3 0x40014200 idle0 1 139192 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 65658 (syz-executor.0) thread 0xffff800027bee540 (32460) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82a18488) #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{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10196 6482K 7317K 78643K 12714 0 pcb 13 14K 16K 78643K 251 0 rtable 219 15K 21K 78643K 635 0 ifaddr 96 18K 20K 78643K 273 0 sysctl 2 0K 0K 78643K 4 0 counters 58 35K 36K 78643K 82 0 ioctlops 1 1K 4K 78643K 1782 0 iov 0 0K 16K 78643K 162 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1342 84K 84K 78643K 1833 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 9K 78643K 20 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 151 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 16 57K 89K 78643K 1469 0 sigio 0 0K 0K 78643K 4 0 proc 70 91K 115K 78643K 639 0 subproc 104 6K 6K 78643K 143 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 202 0 in_multi 84 5K 6K 78643K 169 0 ether_multi 1 0K 0K 78643K 7 0 mrt 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 67 307K 307K 78643K 67 0 exec 0 0K 2K 78643K 779 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 64K 78643K 10 0 UVM amap 293 102K 657K 78643K 10469 0 UVM aobj 131 4K 4K 78643K 131 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 34 0 NDP 15 0K 1K 78643K 50 0 temp 108 4718K 4783K 78643K 11866 0 kqueue 12 18K 26K 78643K 143 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 214 0 211 3 2 1 3 0 8 0 rtentry 112 169 0 73 4 0 4 4 0 8 0 unpcb 144 471 0 456 3 2 1 3 0 8 0 syncache 296 11 0 11 3 3 0 1 0 8 0 sackhl 24 2 0 2 2 2 0 1 0 8 0 tcpqe 32 192 0 192 1 1 0 1 0 8 0 tcpcb 768 322 0 318 19 16 3 15 0 8 2 arp 120 29 0 12 1 0 1 1 0 8 0 inpcb 368 1046 0 1038 28 26 2 13 0 8 1 nd6 48 36 0 19 1 0 1 1 0 8 0 pkpcb 40 6 0 6 1 1 0 1 0 8 0 kcovpl 48 11 0 3 1 0 1 1 0 8 0 mppekey 1024 1 0 0 1 0 1 1 0 8 0 ppxss 1256 10 0 8 2 1 1 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 7 0 7 1 1 0 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 pfrktable 1344 16 0 16 1 1 0 1 0 8 0 pfanchor 1280 224 0 30 17 0 17 17 0 8 0 pftag 88 4 0 0 1 0 1 1 0 8 0 pfstitem 24 32 0 30 1 0 1 1 0 8 0 pfstkey 120 32 0 30 1 0 1 1 0 8 0 pfstate 336 32 0 30 3 2 1 3 0 8 0 pfrule 1360 75 0 74 3 2 1 2 0 8 0 art_heap8 4096 4 0 2 3 1 2 3 0 8 0 art_heap4 256 737 0 327 31 4 27 29 0 8 0 art_table 32 741 0 329 4 0 4 4 0 8 0 art_node 16 168 0 81 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 146 0 136 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3149 0 1708 91 0 91 91 0 8 0 ffsino 272 3149 0 1708 97 0 97 97 0 8 0 nchpl 144 5167 0 3519 63 0 63 63 0 8 0 rtmask 32 2 0 2 1 1 0 1 0 8 0 uvmvnodes 80 3653 0 0 75 0 75 75 0 8 0 vnodes 216 3653 0 0 203 0 203 203 0 8 0 namei 1024 19133 0 19133 5 4 1 2 0 8 1 percpumem 16 53 0 12 1 0 1 1 0 8 0 vcpupl 2048 1 0 0 1 0 1 1 0 8 0 vmpool 568 5 0 4 1 0 1 1 0 8 0 pfiaddrpl 120 17 0 17 1 1 0 1 0 8 0 kstatmem 264 50 0 20 4 1 3 3 0 8 0 scxspl 216 27849 0 27849 13 12 1 8 0 8 1 plimitpl 152 124 0 109 1 0 1 1 0 8 0 sigapl 424 1789 0 1732 9 1 8 8 0 8 0 futexpl 64 13066 0 13060 4 3 1 1 0 8 0 knotepl 120 340 0 0 9 0 9 9 0 8 0 kqueuepl 216 436 0 428 9 6 3 3 0 8 2 pipepl 320 306 0 276 10 7 3 6 0 8 0 fdescpl 496 1750 0 1721 5 1 4 5 0 8 0 filepl 152 9832 0 9584 33 19 14 15 0 8 4 lockfpl 104 553 0 551 3 1 2 2 0 8 1 lockfspl 48 83 0 81 1 0 1 1 0 8 0 sessionpl 144 28 0 11 1 0 1 1 0 8 0 pgrppl 48 34 0 17 1 0 1 1 0 8 0 ucredpl 104 901 0 889 1 0 1 1 0 8 0 zombiepl 144 1733 0 1732 1 0 1 1 0 8 0 processpl 1064 1789 0 1732 5 0 5 5 0 8 0 procpl 672 4524 0 4441 11 2 9 10 0 8 0 srpgc 96 6 0 6 2 2 0 1 0 8 0 sosppl 168 5 0 5 2 2 0 1 0 8 0 sockpl 488 1739 0 1714 40 35 5 20 0 8 1 mcl64k 65536 6 0 0 1 0 1 1 0 8 0 mcl16k 16384 5 0 0 1 0 1 1 0 8 0 mcl12k 12288 13 0 0 2 0 2 2 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 13 0 0 2 0 2 2 0 8 0 mcl4k 4096 13 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 504 0 0 62 0 62 62 0 8 0 mtagpl 96 103 0 0 3 0 3 3 0 8 0 mbufpl 256 539 0 0 34 0 34 34 0 8 0 bufpl 288 6758 0 429 453 0 453 453 0 8 0 anonpl 24 384959 0 362941 207 74 133 176 0 186 0 amapchunkpl 152 97176 0 96397 348 313 35 345 0 158 0 amappl16 200 4771 0 3969 54 11 43 43 0 8 0 amappl15 192 275 0 268 1 0 1 1 0 8 0 amappl14 184 359 0 352 1 0 1 1 0 8 0 amappl13 176 167 0 164 1 0 1 1 0 8 0 amappl12 168 123 0 117 1 0 1 1 0 8 0 amappl11 160 318 0 297 1 0 1 1 0 8 0 amappl10 152 94 0 93 1 0 1 1 0 8 0 amappl9 144 492 0 489 1 0 1 1 0 8 0 amappl8 136 1035 0 956 3 0 3 3 0 8 0 amappl7 128 508 0 481 1 0 1 1 0 8 0 amappl6 120 217 0 202 2 1 1 2 0 8 0 amappl5 112 1192 0 1174 1 0 1 1 0 8 0 amappl4 104 1365 0 1330 2 0 2 2 0 8 0 amappl3 96 4846 0 4786 2 0 2 2 0 8 0 amappl2 88 583 0 547 2 1 1 2 0 8 0 amappl1 80 45414 0 44693 21 5 16 20 0 8 0 amappl 88 9905 0 9712 5 0 5 5 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 130 0 0 3 0 3 3 0 8 0 uaddrrnd 24 1757 0 1727 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1757 0 1727 1 0 1 1 0 8 0 vmmpekpl 168 18599 0 18533 4 0 4 4 0 8 0 vmmpepl 168 173303 0 170367 180 52 128 157 0 357 0 vmsppl 368 1756 0 1727 4 1 3 4 0 8 0 rwobjpl 56 47738 0 42036 82 1 81 81 0 8 0 pdppl 4096 3521 0 3455 170 100 70 81 0 8 4 pvpl 32 897987 0 871319 366 150 216 305 0 265 0 pmappl 248 1756 0 1727 4 1 3 3 0 8 1 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1000 0 143 25 0 25 25 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace rc4_keysetup(ffff80002e4a1e12,ffff80002e4a1f24,0) at rc4_keysetup+0xaf sys/crypto/arc4.c:41 pipex_mppe_init(ffff80002e4a1dd8,fffff7d4,c2e,ffff800000c7466c,fffff7d4) at pipex_mppe_init+0x212 sys/net/pipex.c:2319 pipex_init_session(ffff80002e51fc08,ffff800000c74400) at pipex_init_session+0x5e1 pipex_session_init_mppe_recv sys/net/pipex.c:2327 [inline] pipex_init_session(ffff80002e51fc08,ffff800000c74400) at pipex_init_session+0x5e1 sys/net/pipex.c:385 pppacioctl(4086334,82907003,ffff800000c74400,1,ffff800027bee540) at pppacioctl+0x156 pppac_add_session sys/net/if_pppx.c:1316 [inline] pppacioctl(4086334,82907003,ffff800000c74400,1,ffff800027bee540) at pppacioctl+0x156 sys/net/if_pppx.c:1166 VOP_IOCTL(fffffd806491ea58,82907003,ffff800000c74400,1,fffffd807f7d76e8,ffff800027bee540) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264 vn_ioctl(fffffd8064026578,82907003,ffff800000c74400,ffff800027bee540) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525 sys_ioctl(ffff800027bee540,ffff80002e51ff58,ffff80002e51ffa0) at sys_ioctl+0x4a2 syscall(ffff80002e520020) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff80002e520020) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xe26b11fce10, 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: 0x7f7ffffc6f40, count: -3