panic: sbdrop

2 views
Skip to first unread message

syzbot

unread,
Oct 8, 2019, 8:08:07 PM10/8/19
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 70f1de17 convert unbounded sprintf/strcpy (in disabled deb..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=16c765dd600000
kernel config: https://syzkaller.appspot.com/x/.config?x=d0fe83f82fe104d4
dashboard link: https://syzkaller.appspot.com/bug?extid=b6a3447070ae8ffcb125

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+b6a344...@syzkaller.appspotmail.com

panic: sbdrop
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic() at panic+0x15c sys/kern/subr_prf.c:207
sbdrop(ffff800014886678,ffff800014886700,f6) at sbdrop+0x3a6
sys/kern/uipc_socket2.c:951
sbflush(ffff800014886678,ffff800014886700) at sbflush+0x93
sys/kern/uipc_socket2.c:932
sbrelease(ffff800014886678,ffff800014886700) at sbrelease+0x2e
sys/kern/uipc_socket2.c:526
sorflush(fffffd803b36f600) at sorflush+0x13d sys/kern/uipc_socket.c:1105
sofree(fffffd803b36f600,42) at sofree+0x147 sys/kern/uipc_socket.c:241
soclose(fffffd803b36f600,0) at soclose+0x268 sys/kern/uipc_socket.c:313
soo_close(fffffd803756b4b0,ffff8000ffff8008) at soo_close+0x40
fdrop(fffffd803756b4b0,ffff8000ffff8008) at fdrop+0xc2
sys/kern/kern_descrip.c:1273
closef(fffffd803756b4b0,ffff8000ffff8008) at closef+0x118
sys/kern/kern_descrip.c:1257
fdfree(ffff8000ffff8008) at fdfree+0x100 sys/kern/kern_descrip.c:1189
exit1(ffff8000ffff8008,100,1) at exit1+0x32f sys/kern/kern_exit.c:196
sys_exit(ffff8000ffff8008,ffff800014886ac0,ffff800014886b10) at
sys_exit+0x17 sys/kern/kern_exit.c:94
end trace frame: 0xffff800014886b80, count: 0
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
sbdrop
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic() at panic+0x15c sys/kern/subr_prf.c:207
sbdrop(ffff800014886678,ffff800014886700,f6) at sbdrop+0x3a6
sys/kern/uipc_socket2.c:951
sbflush(ffff800014886678,ffff800014886700) at sbflush+0x93
sys/kern/uipc_socket2.c:932
sbrelease(ffff800014886678,ffff800014886700) at sbrelease+0x2e
sys/kern/uipc_socket2.c:526
sorflush(fffffd803b36f600) at sorflush+0x13d sys/kern/uipc_socket.c:1105
sofree(fffffd803b36f600,42) at sofree+0x147 sys/kern/uipc_socket.c:241
soclose(fffffd803b36f600,0) at soclose+0x268 sys/kern/uipc_socket.c:313
soo_close(fffffd803756b4b0,ffff8000ffff8008) at soo_close+0x40
fdrop(fffffd803756b4b0,ffff8000ffff8008) at fdrop+0xc2
sys/kern/kern_descrip.c:1273
closef(fffffd803756b4b0,ffff8000ffff8008) at closef+0x118
sys/kern/kern_descrip.c:1257
fdfree(ffff8000ffff8008) at fdfree+0x100 sys/kern/kern_descrip.c:1189
exit1(ffff8000ffff8008,100,1) at exit1+0x32f sys/kern/kern_exit.c:196
sys_exit(ffff8000ffff8008,ffff800014886ac0,ffff800014886b10) at
sys_exit+0x17 sys/kern/kern_exit.c:94
syscall(ffff800014886b90) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555
Xsyscall(6,1,0,1,45e8c7e6,1) at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffe30c0, count: -16
ddb> show registers
rdi 0
rsi 0x1
rbp 0xffff8000148864c0
rbx 0xffff800014886570
rdx 0x2
rcx 0
rax 0
r8 0xffff800014886480
r9 0x1
r10 0
r11 0x9f796513d3f7366c
r12 0x3000000008
r13 0xffff8000148864d0
r14 0x100
r15 0x1
rip 0xffffffff812b7168 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff8000148864b0
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb> show proc
PROC (dhclient) pid=337996 stat=onproc
flags process=8<EXITING> proc=2000<WEXIT>
pri=50, usrpri=50, nice=20
forw=0xffffffffffffffff, list=0xffff8000ffff8ed8,0xffff8000ffff8508
process=0xffff8000ffff6010 user=0xffff800014881000,
vmspace=0xfffffd803f013660
estcpu=0, cpticks=0, pctcpu=0.0
user=0, sys=0, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
43159 45732 25125 0 2 0x2 syz-executor.1
71200 428076 25125 0 3 0x82 piperd syz-executor.0
1147 106294 1 0 3 0x100083 ttyin getty
4540 284412 0 0 3 0x14200 bored sosplice
25125 232826 23908 0 3 0x82 thrsleep syz-fuzzer
25125 288640 23908 0 3 0x4000082 nanosleep syz-fuzzer
25125 478049 23908 0 3 0x4000082 kqread syz-fuzzer
25125 225162 23908 0 3 0x4000082 thrsleep syz-fuzzer
25125 211398 23908 0 3 0x4000082 thrsleep syz-fuzzer
25125 49696 23908 0 3 0x4000082 thrsleep syz-fuzzer
25125 472202 23908 0 3 0x4000082 thrsleep syz-fuzzer
23908 114865 54274 0 3 0x10008a pause ksh
54274 501969 90368 0 3 0x92 select sshd
90368 311636 1 0 3 0x80 select sshd
76277 407267 24945 73 3 0x100090 kqread syslogd
24945 103402 1 0 3 0x100082 netio syslogd
24154 451871 1 77 2 0x100090 dhclient
70210 511138 0 0 2 0x14200 zerothread
44458 133169 0 0 3 0x14200 aiodoned aiodoned
81011 302021 0 0 3 0x14200 syncer update
22691 250620 0 0 3 0x14200 cleaner cleaner
54919 317997 0 0 3 0x14200 reaper reaper
45412 99434 0 0 3 0x14200 pgdaemon pagedaemon
9892 116395 0 0 3 0x14200 bored crynlk
703 280443 0 0 3 0x14200 bored crypto
25740 315451 0 0 3 0x40014200 acpi0 acpi0
65573 271496 0 0 3 0x14200 bored softnet
87421 50553 0 0 3 0x14200 bored systqmp
15745 211931 0 0 3 0x14200 bored systq
45579 117088 0 0 3 0x40014200 bored softclock
81299 89704 0 0 3 0x40014200 idle0
87460 512399 0 0 3 0x14200 bored smr
1 294966 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 Kern Lim
devbuf 9521 6340K 7174K 78643K 13657 0 0
pcb 13 10K 12K 78643K 113 0 0
rtable 74 3K 4K 78643K 580 0 0
ifaddr 59 12K 15K 78643K 175 0 0
counters 19 16K 16K 78643K 19 0 0
ioctlops 0 0K 2K 78643K 45 0 0
iov 0 0K 16K 78643K 138 0 0
mount 1 1K 1K 78643K 1 0 0
vnodes 1227 77K 77K 78643K 2307 0 0
UFS quota 1 32K 32K 78643K 1 0 0
UFS mount 5 36K 36K 78643K 5 0 0
shm 2 1K 5K 78643K 6 0 0
VM map 2 0K 0K 78643K 6 0 0
sem 12 0K 0K 78643K 135 0 0
dirhash 12 2K 2K 78643K 12 0 0
ACPI 1793 195K 288K 78643K 12645 0 0
file desc 4 9K 25K 78643K 602 0 0
sigio 0 0K 0K 78643K 25 0 0
proc 48 38K 63K 78643K 533 0 0
subproc 33 2K 2K 78643K 102 0 0
NFS srvsock 1 0K 0K 78643K 1 0 0
NFS daemon 1 16K 16K 78643K 1 0 0
ip_moptions 0 0K 0K 78643K 26 0 0
in_multi 11 0K 2K 78643K 82 0 0
ether_multi 1 0K 0K 78643K 3 0 0
ISOFS mount 1 32K 32K 78643K 1 0 0
MSDOSFS mount 1 16K 16K 78643K 1 0 0
ttys 60 265K 265K 78643K 60 0 0
exec 0 0K 1K 78643K 275 0 0
pagedep 1 8K 8K 78643K 1 0 0
inodedep 1 32K 32K 78643K 1 0 0
newblk 1 0K 0K 78643K 1 0 0
VM swap 7 26K 26K 78643K 7 0 0
UVM amap 93 21K 30K 78643K 2350 0 0
UVM aobj 33 2K 2K 78643K 35 0 0
memdesc 1 4K 4K 78643K 1 0 0
crypto data 1 1K 1K 78643K 1 0 0
ip6_options 0 0K 0K 78643K 83 0 0
NDP 14 0K 0K 78643K 51 0 0
temp 185 3539K 3606K 78643K 12003 0 0
kqueue 0 0K 0K 78643K 5 0 0
SYN cache 2 16K 16K 78643K 2 0 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg
Idle
arp 64 21 0 19 1 0 1 1 0
8 0
rtpcb 80 69 0 68 1 0 1 1 0
8 0
rtentry 112 112 0 88 2 0 2 2 0
8 0
unpcb 120 791 0 784 1 0 1 1 0
8 0
syncache 264 9 0 9 4 4 0 1 0
8 0
tcpqe 32 29 0 29 2 2 0 1 0
8 0
tcpcb 544 603 0 599 15 14 1 15 0
8 0
ipq 40 7 0 7 2 2 0 1 0
8 0
ipqe 40 22 0 22 2 2 0 1 0
8 0
inpcb 280 974 0 969 9 8 1 9 0
8 0
nd6 48 11 0 11 2 1 1 1 0
8 1
pkpcb 40 2 0 2 1 1 0 1 0
8 0
ppxss 1128 12 0 12 3 2 1 1 0
8 1
art_heap8 4096 3 0 2 3 2 1 3 0
8 0
art_heap4 256 480 0 358 20 4 16 16 0
8 7
art_table 32 483 0 360 2 0 2 2 0
8 0
art_node 16 111 0 89 1 0 1 1 0
8 0
sysvmsgpl 40 58 0 41 1 0 1 1 0
8 0
semapl 112 129 0 119 1 0 1 1 0
8 0
shmpl 112 33 0 2 1 0 1 1 0
8 0
dirhash 1024 17 0 0 3 0 3 3 0
8 0
dino1pl 128 2297 0 905 46 0 46 46 0
8 0
ffsino 240 2297 0 905 83 0 83 83 0
8 0
nchpl 144 3352 0 1754 60 0 60 60 0
8 0
uvmvnodes 72 3270 0 0 60 0 60 60 0
8 0
vnodes 208 3270 0 0 173 0 173 173 0
8 0
namei 1024 10916 0 10916 2 1 1 1 0
8 1
vmpool 520 4 0 4 2 2 0 1 0
8 0
scsiplug 64 2 0 2 1 1 0 1 0
8 0
scxspl 192 9584 0 9584 13 12 1 7 0
8 1
plimitpl 152 67 0 60 1 0 1 1 0
8 0
sigapl 432 762 0 750 2 0 2 2 0
8 0
futexpl 56 18621 0 18621 1 0 1 1 0
8 1
knotepl 112 239 0 218 1 0 1 1 0
8 0
kqueuepl 104 437 0 435 4 3 1 4 0
8 0
pipepl 112 1332 0 1313 4 3 1 2 0
8 0
fdescpl 424 763 0 750 2 0 2 2 0
8 0
filepl 120 7530 0 7437 12 8 4 11 0
8 1
lockfpl 104 216 0 215 1 0 1 1 0
8 0
lockfspl 48 68 0 67 1 0 1 1 0
8 0
sessionpl 112 22 0 12 1 0 1 1 0
8 0
pgrppl 48 202 0 192 1 0 1 1 0
8 0
ucredpl 96 683 0 676 1 0 1 1 0
8 0
zombiepl 144 751 0 750 2 1 1 1 0
8 0
processpl 864 778 0 750 4 0 4 4 0
8 0
procpl 632 1495 0 1461 4 0 4 4 0
8 0
sockpl 384 1850 0 1836 16 13 3 14 0
8 1
mcl64k 65536 328 0 328 32 11 21 32 0 8
21
mcl16k 16384 13 0 13 2 2 0 1 0
8 0
mcl12k 12288 17 0 17 2 1 1 1 0
8 1
mcl9k 9216 14 0 14 2 2 0 1 0
8 0
mcl8k 8192 39 0 39 2 1 1 1 0
8 1
mcl4k 4096 67 0 67 3 2 1 1 0
8 1
mcl2k2 2112 3 0 3 1 1 0 1 0
8 0
mcl2k 2048 65222 0 65178 22 15 7 19 0
8 0
mtagpl 80 24 0 24 3 3 0 1 0
8 0
mbufpl 256 108277 0 108203 32 18 14 24 0
8 6
bufpl 256 7914 0 2590 333 0 333 333 0
8 0
anonpl 16 101629 0 88803 79 8 71 78 0
62 0
amapchunkpl 152 3992 0 3887 14 7 7 10 0
158 2
amappl16 192 4273 0 3313 72 16 56 61 0
8 6
amappl15 184 3 0 2 2 1 1 1 0
8 0
amappl14 176 45 0 42 2 1 1 1 0
8 0
amappl13 168 253 0 253 1 0 1 1 0
8 1
amappl12 160 55 0 52 1 0 1 1 0
8 0
amappl11 152 59 0 46 1 0 1 1 0
8 0
amappl10 144 16 0 14 1 0 1 1 0
8 0
amappl9 136 793 0 787 1 0 1 1 0
8 0
amappl8 128 350 0 319 2 0 2 2 0
8 0
amappl7 120 52 0 44 1 0 1 1 0
8 0
amappl6 112 82 0 69 1 0 1 1 0
8 0
amappl5 104 209 0 199 1 0 1 1 0
8 0
amappl4 96 1230 0 1205 1 0 1 1 0
8 0
amappl3 88 128 0 123 1 0 1 1 0
8 0
amappl2 80 5137 0 5082 4 2 2 3 0
8 0
amappl1 72 23519 0 23138 25 16 9 20 0
8 0
amappl 80 1792 0 1758 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 17 0 17 1 1 0 1 0
8 0
aobjpl 64 34 0 2 1 0 1 1 0
8 0
uaddrrnd 24 767 0 750 1 0 1 1 0
8 0
uaddrbest 32 2 0 0 1 0 1 1 0
8 0
uaddr 24 767 0 750 1 0 1 1 0
8 0
vmmpekpl 168 11146 0 11122 2 0 2 2 0
8 0
vmmpepl 168 99845 0 97957 167 42 125 125 0 357
33
vmsppl 272 762 0 750 2 1 1 2 0
8 0
pdppl 4096 1540 0 1508 6 1 5 6 0
8 0
pvpl 32 283855 0 268098 192 23 169 184 0
265 5
pmappl 200 766 0 754 1 0 1 1 0
8 0
extentpl 40 41 0 26 1 0 1 1 0
8 0
phpool 112 562 0 74 15 0 15 15 0
8 0


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 22, 2019, 4:22:08 PM12/22/19
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 3367dcf5 a few depend:-related thingies that were still in.
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=13987ce1e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=bf87b6915a88cd0d
dashboard link: https://syzkaller.appspot.com/bug?extid=b6a3447070ae8ffcb125
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1189f8aee00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+b6a344...@syzkaller.appspotmail.com

login: panic: sbdrop
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
222272 78897 0 0x2 0 0 syz-executor.0
*342322 5951 0 0x14000 0x200 1 softnet
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff821ecffc) at panic+0x15c sys/kern/subr_prf.c:207
sbdrop(fffffd806e966a88,fffffd806e966b78,54) at sbdrop+0x3c6
sys/kern/uipc_socket2.c:951
tcp_input(ffff800020a46f38,ffff800020a46f44,6,2) at tcp_input+0x3d73
sys/netinet/tcp_input.c:1725
ip_deliver(ffff800020a46f38,ffff800020a46f44,6,2) at ip_deliver+0x353
sys/netinet/ip_input.c:668
ip_ours(ffff800020a46f38,ffff800020a46f44,8b,0) at ip_ours+0x412
ip_input_if(ffff800020a46f38,ffff800020a46f44,4,0,ffff8000001732a8) at
ip_input_if+0x6ce
ipv4_input(ffff8000001732a8,fffffd806d606a00) at ipv4_input+0x48
sys/netinet/ip_input.c:215
ether_input(ffff8000001732a8,fffffd806d606a00,0) at ether_input+0x345
sys/net/if_ethersubr.c:461
if_input_process(ffff8000001732a8,ffff800020a47068) at
if_input_process+0xfb if_ih_input sys/net/if.c:910 [inline]
if_input_process(ffff8000001732a8,ffff800020a47068) at
if_input_process+0xfb sys/net/if.c:944
ifiq_process(ffff8000001736a0) at ifiq_process+0x80 sys/net/ifq.c:607
taskq_thread(ffff800000023080) at taskq_thread+0x9c sys/kern/kern_task.c:369
end trace frame: 0x0, count: 3
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb{1}>
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
sbdrop
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff821ecffc) at panic+0x15c sys/kern/subr_prf.c:207
sbdrop(fffffd806e966a88,fffffd806e966b78,54) at sbdrop+0x3c6
sys/kern/uipc_socket2.c:951
tcp_input(ffff800020a46f38,ffff800020a46f44,6,2) at tcp_input+0x3d73
sys/netinet/tcp_input.c:1725
ip_deliver(ffff800020a46f38,ffff800020a46f44,6,2) at ip_deliver+0x353
sys/netinet/ip_input.c:668
ip_ours(ffff800020a46f38,ffff800020a46f44,8b,0) at ip_ours+0x412
ip_input_if(ffff800020a46f38,ffff800020a46f44,4,0,ffff8000001732a8) at
ip_input_if+0x6ce
ipv4_input(ffff8000001732a8,fffffd806d606a00) at ipv4_input+0x48
sys/netinet/ip_input.c:215
ether_input(ffff8000001732a8,fffffd806d606a00,0) at ether_input+0x345
sys/net/if_ethersubr.c:461
if_input_process(ffff8000001732a8,ffff800020a47068) at
if_input_process+0xfb if_ih_input sys/net/if.c:910 [inline]
if_input_process(ffff8000001732a8,ffff800020a47068) at
if_input_process+0xfb sys/net/if.c:944
ifiq_process(ffff8000001736a0) at ifiq_process+0x80 sys/net/ifq.c:607
taskq_thread(ffff800000023080) at taskq_thread+0x9c sys/kern/kern_task.c:369
end trace frame: 0x0, count: -12
ddb{1}> show registers
rdi 0
rsi 0x1
rbp 0xffff800020a46ac0
rbx 0xffff800020a46b70
rdx 0x8b
rcx 0x2
rax 0x1
r8 0xffffffff81208dbf kprintf+0x16f
r9 0x1
r10 0xf84941d854b0f4a5
r11 0x9b52d43b4f13dd1f
r12 0x3000000008
r13 0xffff800020a46ad0
r14 0x100
r15 0x1
rip 0xffffffff81d4f1f8 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff800020a46ab0
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb{1}> show proc
PROC (softnet) pid=342322 stat=onproc
flags process=14000<NOZOMBIE,SYSTEM> proc=200<SYSTEM>
pri=32, usrpri=50, nice=20
forw=0xffffffffffffffff, list=0xffff800020a20768,0xffff800020a20288
process=0xffff800020a22a98 user=0xffff800020a42000,
vmspace=0xffffffff826157f0
estcpu=0, cpticks=0, pctcpu=0.0
user=0, sys=0, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
78897 222272 42319 0 7 0x2 syz-executor.0
42319 212349 15008 0 3 0x82 thrsleep syz-execprog
42319 497952 15008 0 3 0x4000082 nanosleep syz-execprog
42319 200430 15008 0 3 0x4000082 thrsleep syz-execprog
42319 192904 15008 0 3 0x4000082 nanosleep syz-execprog
42319 349387 15008 0 3 0x4000082 thrsleep syz-execprog
42319 238893 15008 0 3 0x4000082 thrsleep syz-execprog
42319 292400 15008 0 3 0x4000082 thrsleep syz-execprog
42319 270771 15008 0 3 0x4000082 kqread syz-execprog
42319 380538 15008 0 3 0x4000082 thrsleep syz-execprog
15008 49995 43911 0 3 0x10008a pause ksh
43911 405114 63457 0 3 0x92 select sshd
28769 260490 1 0 3 0x100083 ttyin getty
63457 208393 1 0 3 0x80 select sshd
54094 233569 35929 74 3 0x100092 bpf pflogd
35929 188766 1 0 3 0x80 netio pflogd
20052 228718 30292 73 3 0x100090 kqread syslogd
30292 490785 1 0 3 0x100082 netio syslogd
38607 334652 1 77 3 0x100090 poll dhclient
44768 416897 1 0 3 0x80 poll dhclient
78811 474675 0 0 3 0x14200 pgzero zerothread
82447 153625 0 0 3 0x14200 aiodoned aiodoned
73655 36333 0 0 3 0x14200 syncer update
71273 224654 0 0 3 0x14200 cleaner cleaner
58124 161457 0 0 3 0x14200 reaper reaper
32435 151263 0 0 3 0x14200 pgdaemon pagedaemon
23897 43502 0 0 3 0x14200 bored crynlk
37111 390826 0 0 3 0x14200 bored crypto
35131 40188 0 0 3 0x40014200 acpi0 acpi0
73109 13498 0 0 3 0x40014200 idle1
* 5951 342322 0 0 7 0x14200 softnet
33283 263447 0 0 3 0x14200 bored systqmp
64003 474340 0 0 3 0x14200 bored systq
72662 272659 0 0 3 0x40014200 bored softclock
212 211090 0 0 3 0x40014200 idle0
57392 344424 0 0 3 0x14200 bored smr
1 342399 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
Process 78897 (syz-executor.0) thread 0xffff800020a6e280 (222272)
exclusive rrwlock inode r = 0 (0xfffffd806b6835e8)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 rw_enter+0x453 sys/kern/kern_rwlock.c:309
#2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453
#3 ufs_ihashins+0x45 sys/ufs/ufs/ufs_ihash.c:140
#4 ffs_vget+0x13e sys/ufs/ffs/ffs_vfsops.c:1352
#5 ffs_inode_alloc+0x1cf sys/ufs/ffs/ffs_alloc.c:392
#6 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1164
#7 VOP_MKDIR+0xc6 sys/kern/vfs_vops.c:450
#8 domkdirat+0x121 sys/kern/vfs_syscalls.c:2974
#9 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#9 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#10 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd806b6832b8)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 rw_enter+0x453 sys/kern/kern_rwlock.c:309
#2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453
#3 VOP_LOCK+0xf9 sys/kern/vfs_vops.c:615
#4 vn_lock+0x81 sys/kern/vfs_vnops.c:571
#5 vfs_lookup+0xe6 sys/kern/vfs_lookup.c:419
#6 namei+0x63c sys/kern/vfs_lookup.c:249
#7 domkdirat+0x75 sys/kern/vfs_syscalls.c:2959
#8 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#8 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#9 Xsyscall+0x128
Process 5951 (softnet) thread 0xffff800020a204f0 (342322)
shared rwlock netlock r = 0 (0xffffffff824b1238)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 if_input_process+0x84 sys/net/if.c:942
#2 ifiq_process+0x80 sys/net/ifq.c:607
#3 taskq_thread+0x9c sys/kern/kern_task.c:369
#4 proc_trampoline+0x1c
shared rwlock softnet r = 0 (0xffff8000000230e0)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 taskq_thread+0x8f sys/kern/kern_task.c:368
#2 proc_trampoline+0x1c
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9465 6395K 6395K 78643K 10556 0
pcb 13 8K 8K 78643K 13 0
rtable 83 2K 2K 78643K 165 0
ifaddr 37 9K 9K 78643K 292 0
counters 39 33K 33K 78643K 39 0
ioctlops 0 0K 4K 78643K 1468 0
mount 1 1K 1K 78643K 1 0
vnodes 1181 74K 74K 78643K 1186 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 1809 196K 290K 78643K 12766 0
file desc 2 4K 12K 78643K 262 0
proc 59 63K 83K 78643K 398 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 18 79K 79K 78643K 18 0
exec 0 0K 1K 78643K 197 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 83 12K 12K 78643K 1709 0
UVM aobj 2 2K 2K 78643K 2 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
NDP 5 0K 0K 78643K 7 0
temp 33 3022K 3086K 78643K 3812 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
arp 64 4 0 0 1 0 1 1 0
8 0
plcache 128 20 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 29 0 19 1 0 1 1 0
8 0
syncache 264 5 0 5 2 2 0 1 0
8 0
tcpcb 544 8 0 5 1 0 1 1 0
8 0
inpcb 280 517 0 511 1 0 1 1 0
8 0
nd6 48 2 0 0 1 0 1 1 0
8 0
pfosfp 40 846 0 423 5 0 5 5 0
8 0
pfosfpen 112 1428 0 714 21 0 21 21 0
8 0
pfstitem 24 10 0 2 1 0 1 1 0
8 0
pfstkey 112 10 0 2 1 0 1 1 0
8 0
pfstate 328 10 0 2 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 167 0 0 11 0 11 11 0
8 0
art_table 32 168 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
dino1pl 128 1669 0 265 46 0 46 46 0
8 0
ffsino 272 1669 0 265 94 0 94 94 0
8 0
nchpl 144 2139 0 529 60 0 60 60 0
8 0
uvmvnodes 72 1679 0 0 31 0 31 31 0
8 0
vnodes 208 1679 0 0 89 0 89 89 0
8 0
namei 1024 5135 0 5134 2 1 1 1 0
8 0
percpumem 16 30 0 0 1 0 1 1 0
8 0
scxspl 192 5761 0 5761 7 1 6 6 0
8 6
plimitpl 152 15 0 8 1 0 1 1 0
8 0
sigapl 432 469 0 456 2 0 2 2 0
8 0
futexpl 56 1880 0 1880 1 0 1 1 0
8 1
knotepl 112 39 0 28 1 0 1 1 0
8 0
kqueuepl 104 2 0 0 1 0 1 1 0
8 0
pipepl 160 148 0 135 2 1 1 1 0
8 0
fdescpl 488 470 0 456 3 0 3 3 0
8 0
filepl 152 1864 0 1806 3 0 3 3 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 19 0 9 1 0 1 1 0
8 0
pgrppl 48 19 0 9 1 0 1 1 0
8 0
ucredpl 96 52 0 43 1 0 1 1 0
8 0
zombiepl 144 456 0 456 2 1 1 1 0
8 1
processpl 904 485 0 456 4 0 4 4 0
8 0
procpl 632 983 0 946 4 0 4 4 0
8 0
sockpl 384 563 0 545 3 0 3 3 0
8 1
mcl4k 4096 3 0 0 1 0 1 1 0
8 0
mcl2k 2048 78 0 0 10 0 10 10 0
8 0
mtagpl 80 1 0 0 1 0 1 1 0
8 0
mbufpl 256 102 0 0 7 0 7 7 0
8 0
mbufpl: pool(0xffffffff8261e6

Reply all
Reply to author
Forward
0 new messages