kernel: protection fault trap, code=0 Stopped at pool_do_put+0x12e: movq 0x8(%rbx),%rbx ddb> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic the kernel did not panic ddb> trace pool_do_put(ffffffff82829fc0,fffffd805c735e00) at pool_do_put+0x12e sys/kern/subr_pool.c:836 pool_put(ffffffff82829fc0,fffffd805c735e00) at pool_put+0x4b sys/kern/subr_pool.c:794 m_free(fffffd805c735e00) at m_free+0x119 sys/kern/uipc_mbuf.c:459 rt_ifa_del(ffff8000006b5200,800100,ffff8000006b5240,0) at rt_ifa_del+0x402 sys/net/route.c:1197 in6_unlink_ifa(ffff8000006b5200,ffff800000ac5800) at in6_unlink_ifa+0x571 sys/netinet6/in6.c:943 in6_update_ifa(ffff800000ac5800,ffff80001d77fb50,0) at in6_update_ifa+0x13e7 sys/netinet6/in6.c:875 in6_ioctl_change_ifaddr(8080691a,ffff80001d77fb50,ffff800000ac5800) at in6_ioctl_change_ifaddr+0x40c sys/netinet6/in6.c:352 ifioctl(fffffd805da6daf8,8080691a,ffff80001d77fb50,ffff80001d6a9758) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff80001d6a9758,ffff80001d77fc68,ffff80001d77fcb0) at sys_ioctl+0x4a1 syscall(ffff80001d77fd30) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca100, count: -11 ddb> show registers rdi 0 rsi 0xaca0b224377292f6 rbp 0xffff80001d77f5a0 rbx 0xaca0b224377292f6 rdx 0xffff80001d77f4f0 rcx 0x1000 __ALIGN_SIZE rax 0x1 r8 0x4 r9 0 r10 0xe0d34601cf34681c r11 0x8e6fa74e4652f9e3 r12 0xfffffd805c735e00 r13 0xaca0b224377292f6 r14 0xffffffff82829fc0 mbpool r15 0xfffffd806c3c4d20 rip 0xffffffff8115cfce pool_do_put+0x12e cs 0x8 rflags 0x10216 __ALIGN_SIZE+0xf216 rsp 0xffff80001d77f4f0 ss 0x10 pool_do_put+0x12e: movq 0x8(%rbx),%rbx ddb> show proc PROC (syz-executor.0) pid=460595 stat=onproc flags process=0 proc=0 pri=50, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff80001d6a99c8,0xffffffff82828da8 process=0xffff80001d6c5970 user=0xffff80001d77a000, vmspace=0xfffffd806bc0a660 estcpu=0, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND *44654 460595 39116 0 7 0 syz-executor.0 39116 250132 56621 0 3 0x82 nanosleep syz-executor.0 56621 244744 30687 0 3 0x82 thrsleep syz-execprog 56621 519399 30687 0 3 0x4000082 nanosleep syz-execprog 56621 438468 30687 0 3 0x4000082 thrsleep syz-execprog 56621 235094 30687 0 3 0x4000082 thrsleep syz-execprog 56621 475014 30687 0 3 0x4000082 kqread syz-execprog 56621 258427 30687 0 3 0x4000082 thrsleep syz-execprog 56621 436078 30687 0 3 0x4000082 thrsleep syz-execprog 56621 202211 30687 0 3 0x4000082 thrsleep syz-execprog 30687 36074 42881 0 3 0x10008a pause ksh 42881 77676 87092 0 3 0x92 select sshd 46819 195675 1 0 3 0x100083 ttyin getty 87092 14715 1 0 3 0x80 select sshd 43803 262348 51823 73 3 0x100090 kqread syslogd 51823 97136 1 0 3 0x100082 netio syslogd 66220 27613 1 77 3 0x100090 poll dhclient 10511 226624 1 0 3 0x80 poll dhclient 23473 51111 0 0 3 0x14200 bored smr 12925 394405 0 0 2 0x14200 zerothread 45408 287659 0 0 3 0x14200 aiodoned aiodoned 38099 147158 0 0 3 0x14200 syncer update 69297 297847 0 0 3 0x14200 cleaner cleaner 31110 244380 0 0 3 0x14200 reaper reaper 97330 134279 0 0 3 0x14200 pgdaemon pagedaemon 34481 106921 0 0 3 0x14200 bored crynlk 61243 194315 0 0 3 0x14200 bored crypto 72274 355447 0 0 3 0x40014200 acpi0 acpi0 38539 309969 0 0 3 0x14200 bored softnet 49338 298256 0 0 3 0x14200 bored systqmp 95254 406827 0 0 3 0x14200 bored systq 66931 85535 0 0 3 0x40014200 bored softclock 76091 67468 0 0 3 0x40014200 idle0 1 216289 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 9444 6320K 6320K 78643K 10543 0 pcb 13 8K 8K 78643K 13 0 rtable 83 2K 2K 78643K 153 0 ifaddr 33 9K 9K 78643K 79 0 counters 20 16K 16K 78643K 20 0 ioctlops 0 0K 2K 78643K 14 0 mount 1 1K 1K 78643K 1 0 vnodes 1182 74K 74K 78643K 1187 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 1809 195K 288K 78643K 12938 0 file desc 3 8K 12K 78643K 64 0 proc 47 38K 54K 78643K 318 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 22 1K 1K 78643K 22 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 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 171 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 68 11K 12K 78643K 884 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 6 0 temp 23 3845K 3909K 78643K 1717 0 kqueue 3 4K 4K 78643K 3 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 arp 64 4 0 0 1 0 1 1 0 8 0 rtpcb 80 17 0 15 1 0 1 1 0 8 0 rtentry 112 34 0 1 1 0 1 1 0 8 0 unpcb 120 27 0 19 1 0 1 1 0 8 0 syncache 264 5 0 5 2 1 1 1 0 8 1 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 296 73 0 66 1 0 1 1 0 8 0 nd6 48 3 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 144 0 0 9 0 9 9 0 8 0 art_table 32 145 0 0 2 0 2 2 0 8 0 art_node 16 33 0 3 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1461 0 67 88 0 88 88 0 8 0 ffsino 240 1461 0 67 83 0 83 83 0 8 1 nchpl 144 1726 0 129 60 0 60 60 0 8 0 uvmvnodes 72 1470 0 0 27 0 27 27 0 8 0 vnodes 208 1470 0 0 78 0 78 78 0 8 0 namei 1024 4123 0 4123 2 1 1 1 0 8 1 scxspl 192 4715 0 4715 4 3 1 1 0 8 1 plimitpl 152 14 0 8 1 0 1 1 0 8 0 sigapl 424 258 0 231 4 0 4 4 0 8 0 knotepl 112 47 0 36 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipepl 272 70 0 63 2 1 1 1 0 8 0 fdescpl 432 244 0 231 2 0 2 2 0 8 0 filepl 120 1071 0 1017 2 0 2 2 0 8 0 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 112 18 0 9 1 0 1 1 0 8 0 pgrppl 48 18 0 9 1 0 1 1 0 8 0 ucredpl 96 57 0 50 1 0 1 1 0 8 0 zombiepl 144 231 0 231 2 1 1 1 0 8 1 processpl 928 258 0 231 4 0 4 4 0 8 0 procpl 624 265 0 231 3 0 3 3 0 8 0 sockpl 400 117 0 100 2 0 2 2 0 8 0 mcl4k 4096 10 0 10 2 1 1 1 0 8 1 mcl2k 2048 5569 0 5537 8 3 5 8 0 8 0 mtagpl 96 2 0 2 1 1 0 1 0 8 0 mbufpl 256 9743 0 9662 8 2 6 6 0 8 0 mbufpl: pool(0xffffffff82829fc0:mbufpl): free list modified: page 0xfffffd805c735000; item ordinal 14; addr 0xfffffd805c735f00 (p 0xfffffd806c3c4000); offset 0x0=0x0 pool(mbufpl): free list modified: page 0xfffffd805c735000; item ordinal 14; addr 0xfffffd805c735f00 (p 0xfffffd806c3c4000); offset 0x0=0x0 mbufpl: pool(0xffffffff82829fc0:mbufpl): page inconsistency: page 0xfffffd805c735000; item ordinal 15; addr 0xaca0b224377292f6 bufpl 280 3007 0 125 206 0 206 206 0 8 0 anonpl 16 21634 0 20086 14 2 12 12 0 107 4 amapchunkpl 152 850 0 789 4 0 4 4 0 158 1 amappl16 192 320 0 285 2 0 2 2 0 8 0 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 26 0 22 1 0 1 1 0 8 0 amappl13 168 69 0 65 2 1 1 1 0 8 0 amappl12 160 7 0 5 2 1 1 1 0 8 0 amappl11 152 42 0 33 1 0 1 1 0 8 0 amappl10 144 19 0 15 1 0 1 1 0 8 0 amappl9 136 139 0 137 1 0 1 1 0 8 0 amappl8 128 244 0 236 1 0 1 1 0 8 0 amappl7 120 104 0 93 1 0 1 1 0 8 0 amappl6 112 22 0 19 1 0 1 1 0 8 0 amappl5 104 346 0 336 1 0 1 1 0 8 0 amappl4 96 471 0 449 1 0 1 1 0 8 0 amappl3 88 106 0 101 1 0 1 1 0 8 0 amappl2 80 908 0 850 3 1 2 2 0 8 0 amappl1 72 13735 0 13334 23 6 17 17 0 8 7 amappl 80 466 0 440 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 244 0 231 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 244 0 231 1 0 1 1 0 8 0 vmmpekpl 168 6176 0 6155 2 0 2 2 0 8 0 vmmpepl 168 31516 0 30613 88 19 69 69 0 357 29 vmsppl 272 243 0 231 1 0 1 1 0 8 0 pdppl 4096 494 0 462 5 0 5 5 0 8 0 pvpl 32 109812 0 105971 109 7 102 102 0 265 69 pmappl 200 243 0 231 1 0 1 1 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 220 0 10 6 0 6 6 0 8 0 ddb> machine ddbcpu 0 No such command ddb> trace pool_do_put(ffffffff82829fc0,fffffd805c735e00) at pool_do_put+0x12e sys/kern/subr_pool.c:836 pool_put(ffffffff82829fc0,fffffd805c735e00) at pool_put+0x4b sys/kern/subr_pool.c:794 m_free(fffffd805c735e00) at m_free+0x119 sys/kern/uipc_mbuf.c:459 rt_ifa_del(ffff8000006b5200,800100,ffff8000006b5240,0) at rt_ifa_del+0x402 sys/net/route.c:1197 in6_unlink_ifa(ffff8000006b5200,ffff800000ac5800) at in6_unlink_ifa+0x571 sys/netinet6/in6.c:943 in6_update_ifa(ffff800000ac5800,ffff80001d77fb50,0) at in6_update_ifa+0x13e7 sys/netinet6/in6.c:875 in6_ioctl_change_ifaddr(8080691a,ffff80001d77fb50,ffff800000ac5800) at in6_ioctl_change_ifaddr+0x40c sys/netinet6/in6.c:352 ifioctl(fffffd805da6daf8,8080691a,ffff80001d77fb50,ffff80001d6a9758) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff80001d6a9758,ffff80001d77fc68,ffff80001d77fcb0) at sys_ioctl+0x4a1 syscall(ffff80001d77fd30) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca100, count: -11 ddb> machine ddbcpu 1 No such command ddb> trace pool_do_put(ffffffff82829fc0,fffffd805c735e00) at pool_do_put+0x12e sys/kern/subr_pool.c:836 pool_put(ffffffff82829fc0,fffffd805c735e00) at pool_put+0x4b sys/kern/subr_pool.c:794 m_free(fffffd805c735e00) at m_free+0x119 sys/kern/uipc_mbuf.c:459 rt_ifa_del(ffff8000006b5200,800100,ffff8000006b5240,0) at rt_ifa_del+0x402 sys/net/route.c:1197 in6_unlink_ifa(ffff8000006b5200,ffff800000ac5800) at in6_unlink_ifa+0x571 sys/netinet6/in6.c:943 in6_update_ifa(ffff800000ac5800,ffff80001d77fb50,0) at in6_update_ifa+0x13e7 sys/netinet6/in6.c:875 in6_ioctl_change_ifaddr(8080691a,ffff80001d77fb50,ffff800000ac5800) at in6_ioctl_change_ifaddr+0x40c sys/netinet6/in6.c:352 ifioctl(fffffd805da6daf8,8080691a,ffff80001d77fb50,ffff80001d6a9758) at ifioctl+0xe60 sys/net/if.c:2282 sys_ioctl(ffff80001d6a9758,ffff80001d77fc68,ffff80001d77fcb0) at sys_ioctl+0x4a1 syscall(ffff80001d77fd30) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffca100, count: -11