syzbot
protection_fault: pool_do_put (3)
Status:
upstream: reported on 2026/08/10 07:07
Reported-by: syzbot+eee70244aa305dc183a8@syzkaller.appspotmail.com
First crash: 106d, last: 29d
Sample crash report:
kernel: protection fault trap, code=0
Stopped at pool_do_put+0x17c: movq 0x8(%r13),%r13
ddb{1}>
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
the kernel did not panic
ddb{1}> show kasan
No such command
ddb{1}> trace
pool_do_put(ffffffff83a16e28,ffff80003c3faa88) at pool_do_put+0x17c sys/kern/subr_pool.c:847
pool_put(ffffffff83a16e28,ffff80003c3faa88) at pool_put+0xba sys/kern/subr_pool.c:805
reaper(ffff800045ffd9f8) at reaper+0xd2 _atomic_dec_int sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:155 [inline]
reaper(ffff800045ffd9f8) at reaper+0xd2 proc_free sys/kern/kern_exit.c:460 [inline]
reaper(ffff800045ffd9f8) at reaper+0xd2 sys/kern/kern_exit.c:499
end trace frame: 0x0, count: -3
ddb{1}> show registers
rdi 0xa478df12f5e3518a
rsi 0x5b875f12c9dcfe32
rbp 0xffff80002a1e4380
rbx 0xa478df12f5e3518a
rdx 0
rcx 0xffff800045ffd9f8
rax 0xffff80002998dff0
r8 0
r9 0
r10 0xbed27de210481a15
r11 0xff6ce4f7e7a56b3a
r12 0xffff80003c3faa88
r13 0x5b8720ed76716ad2
r14 0xffffffff83a16e28 proc_pool
r15 0xffff80003c3fbf90
rip 0xffffffff8184875c pool_do_put+0x17c
cs 0x8
rflags 0x10282 __ALIGN_SIZE+0xf282
rsp 0xffff80002a1e42d0
ss 0x10
pool_do_put+0x17c: movq 0x8(%r13),%r13
ddb{1}> show proc
PROC (reaper) tid=452475 pid=59180 tcnt=1 stat=onproc
flags process=14000<NOZOMBIE,SYSTEM> proc=200<SYSTEM>
runpri=32, usrpri=50, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff800045fff758,0xffff800045ffd770
process=0xffff800045ffba20 user=0xffff80002a1df000, vmspace=0xffffffff83ada9d8
estcpu=0, cpticks=7, pctcpu=0.1, user=0, sys=0, intr=0
ddb{1}> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
40733 179507 82615 32767 2 0x10 0 syz-executor
40733 420949 82615 32767 7 0x10 0x4000000 syz-executor
83565 104657 65638 32767 2 0x10 0 syz-executor
83565 456647 65638 32767 3 0x10 0x4000080 kqsel syz-executor
88992 242353 63940 32767 2 0x10 0 syz-executor
88992 246162 63940 32767 3 0x10 0x4000080 ttyin syz-executor
80955 502269 57586 32767 2 0x10 0 syz-executor
80955 413597 57586 32767 3 0x10 0x4000080 fsleep syz-executor
3314 211201 44056 32767 2 0x10 0 syz-executor
3314 211556 44056 32767 3 0x10 0x4000080 pipewr syz-executor
3314 196622 44056 32767 3 0x10 0x4000080 fsleep syz-executor
92676 427549 1084 32767 2 0x10 0 syz-executor
92676 60540 1084 32767 2 0x10 0x4000000 syz-executor
82615 338106 23555 32767 2 0x10 0xc80 syz-executor
1084 486733 53994 32767 2 0x10 0xc80 syz-executor
57586 298642 66826 32767 3 0x10 0x80 nanoslp syz-executor
55144 336440 95759 32767 3 0x10 0x80 nanoslp syz-executor
44056 17472 90636 32767 3 0x10 0x80 nanoslp syz-executor
65638 370545 1883 32767 2 0x10 0xc80 syz-executor
63940 184414 12942 32767 3 0x10 0x80 nanoslp syz-executor
23555 4670 21076 0 3 0x2 0x80 wait syz-executor
12942 280834 21076 0 3 0x2 0x80 wait syz-executor
95759 314048 21076 0 3 0x2 0x80 wait syz-executor
90636 250476 21076 0 3 0x2 0x80 wait syz-executor
1883 295691 21076 0 3 0x2 0x80 wait syz-executor
66826 181255 21076 0 3 0x2 0x80 wait syz-executor
53994 441968 21076 0 3 0x2 0x80 wait syz-executor
17225 141546 21076 0 3 0x2 0x80 wait syz-executor
21076 124679 75261 0 3 0x2 0x80 kqread syz-executor
75261 338900 99349 0 3 0x100002 0x88 sigsusp ksh
99349 368933 63267 0 3 0x10 0x88 kqread sshd-session
63267 457790 35763 0 3 0x12 0x80 kqread sshd-session
37518 181148 1 0 3 0x100003 0x80 ttyin getty
35763 116202 1 0 3 0 0x88 kqread sshd
31931 91518 92053 73 3 0x1100010 0x80 kqread syslogd
92053 84644 1 0 3 0x100002 0x80 sbwait syslogd-parent
65304 367245 1 0 3 0x100000 0x80 kqread resolvd
5363 79271 5614 77 3 0x100012 0x80 kqread dhcpleased
20512 287481 5614 77 3 0x100012 0x80 kqread dhcpleased
5614 138995 1 0 3 0 0x80 kqread dhcpleased
67277 303731 0 0 3 0x14000 0x200 bored smr
38330 257580 0 0 2 0x14000 0x200 zerothread
42384 12344 0 0 3 0x14000 0x200 aiodoned aiodoned
22232 174199 0 0 3 0x14000 0x200 syncer update
26418 212895 0 0 3 0x14000 0x200 cleaner cleaner
*59180 452475 0 0 7 0x14000 0x200 reaper
83960 262747 0 0 3 0x14000 0x200 pgdaemon pagedaemon
89263 392450 0 0 3 0x14000 0x200 bored viomb
38067 295941 0 0 3 0x14000 0x40000200 acpi0 acpi0
61417 412008 0 0 3 0x14000 0x40000200 idle1
32909 307418 0 0 3 0x14000 0x200 bored softnet1
63876 198275 0 0 3 0x14000 0x200 bored softnet0
77294 393671 0 0 3 0x14000 0x200 bored systqmp
71973 523166 0 0 3 0x14000 0x200 bored systq
30124 276437 0 0 3 0x14000 0x200 tmoslp softclockmp
83215 511138 0 0 3 0x14000 0x40000200 tmoslp softclock
29596 393661 0 0 3 0x14000 0x40000200 idle0
1 226684 0 0 3 0x2 0x80 wait init
0 0 -1 0 3 0x10000 0x200 scheduler swapper
kernel: protection fault trap, code=0
Faulted in DDB; continuing...
ddb{1}> show all locks
CPU 1:
exclusive mutex procpl r = 0 (0xffffffff83a16e40)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 mtx_enter+0x4c3 sys/kern/kern_lock.c:487
#2 pool_put+0xa6 sys/kern/subr_pool.c:803
#3 reaper+0xd2 _atomic_dec_int sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:155 [inline]
#3 reaper+0xd2 proc_free sys/kern/kern_exit.c:460 [inline]
#3 reaper+0xd2 sys/kern/kern_exit.c:499
#4 proc_trampoline+0x10
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 11056 12019K 12034K 166960K 12147 0
pcb 17 12K 12K 166960K 17 0
rtable 239 6K 7K 166960K 359 0
pf 31 16K 16K 166960K 31 0
ifaddr 42 7K 7K 166960K 44 0
ifgroup 50 2K 2K 166960K 50 0
sysctl 1 1K 9K 166960K 5 0
counters 70 37K 37K 166960K 70 0
ioctlops 0 0K 2K 166960K 30 0
iov 0 0K 0K 166960K 1 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1287 81K 81K 166960K 1355 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 5K 166960K 3 0
VM map 2 1K 1K 166960K 2 0
sem 3 0K 0K 166960K 3 0
dirhash 12 2K 2K 166960K 12 0
ACPI 1734 201K 291K 166960K 11964 0
file desc 24 89K 125K 166960K 168 0
proc 58 99K 163K 166960K 497 0
subproc 72 4K 4K 166960K 72 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 2 0
in_multi 99 6K 6K 166960K 101 0
ether_multi 1 0K 0K 166960K 1 0
mrt 0 0K 0K 166960K 3 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 97 440K 440K 166960K 97 0
exec 0 0K 1K 166960K 380 0
fusefs mount 1 32K 32K 166960K 1 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 239 161K 177K 166960K 3181 0
UVM aobj 6 2K 2K 166960K 6 0
pinsyscall 45 90K 114K 166960K 1282 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
NDP 17 0K 2K 166960K 27 0
temp 35 9122K 9142K 166960K 3386 0
kqueue 14 20K 26K 166960K 36 0
SYN cache 2 16K 16K 166960K 2 0
ddb{1}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 28 0 0 1 0 1 1 0 8 0
rtpcb 120 40 0 35 1 0 1 1 0 8 0
rtentry 176 112 0 1 6 0 6 6 0 8 0
unpcb 144 62 0 46 1 0 1 1 0 8 0
syncache 336 5 0 5 1 0 1 1 0 8 1
tcpcb 736 16 0 12 1 0 1 1 0 8 0
arp 136 18 0 0 1 0 1 1 0 8 0
inpcb 328 80 0 71 2 0 2 2 0 8 0
ip6q 80 1 0 0 1 0 1 1 0 8 0
ip6af 40 1 0 0 1 0 1 1 0 8 0
nd6 152 25 0 0 1 0 1 1 0 8 0
kcovpl 48 8 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 465 0 0 30 0 30 30 0 8 0
art_table 40 466 0 0 5 0 5 5 0 8 0
art_node 32 112 0 11 1 0 1 1 0 8 0
semapl 72 1 0 0 1 0 1 1 0 8 0
shmpl 120 3 0 0 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1590 0 125 92 0 92 92 0 8 0
ffsino 296 1590 0 125 113 0 113 113 0 8 0
nchpl 144 1818 0 126 63 0 63 63 0 8 0
vnodes 216 1671 0 0 93 0 93 93 0 8 0
namei 1024 6098 0 6098 3 1 2 2 0 8 2
percpumem 16 51 0 0 1 0 1 1 0 8 0
kstatmem 264 25 0 0 2 0 2 2 0 8 0
scxspl 216 6308 0 6308 3 2 1 2 1 8 1
plimitpl 152 45 0 20 2 0 2 2 0 8 0
sigapl 424 463 0 411 7 0 7 7 0 8 0
knotepl 120 112 0 0 4 0 4 4 0 8 0
kqueuepl 224 35 0 24 1 0 1 1 0 8 0
pipepl 344 132 0 104 3 0 3 3 0 8 0
fdescpl 528 447 0 411 5 1 4 4 0 8 0
filepl 160 1593 0 1376 11 0 11 11 0 8 0
lockfpl 104 15 0 13 1 0 1 1 0 8 0
lockfspl 48 7 0 5 1 0 1 1 0 8 0
sessionpl 144 24 0 8 1 0 1 1 0 8 0
pgrppl 48 32 0 8 1 0 1 1 0 8 0
ucredpl 104 173 0 154 1 0 1 1 0 8 0
zombiepl 144 412 0 411 1 0 1 1 0 8 0
processpl 1240 463 0 411 5 0 5 5 0 8 0
procpl 664 507 0 447 6 0 6 6 0 8 0
procpl: pool(0xffffffff83a16e28:procpl): page inconsistency: page 0xffff80003c3fa000; item ordinal 1; addr 0x5b8720ed76716ad2
sockpl 752 182 0 152 5 0 5 5 0 8 1
mcl8k 8192 3 0 0 1 0 1 1 0 8 0
mcl4k 4096 115 0 0 15 0 15 15 0 8 0
mcl2k 2048 11 0 0 2 0 2 2 0 8 0
mextrefs 64 9 0 0 1 0 1 1 0 8 0
mtagpl 96 2 0 0 1 0 1 1 0 8 0
mbufpl 256 162 0 0 11 0 11 11 0 8 0
bufpl 272 2289 0 87 147 0 147 147 0 8 0
anonpl 32 3610 0 0 30 0 30 30 0 247 0
amapchunkpl 152 9168 0 8465 34 0 34 34 0 158 3
amappl16 200 1964 0 1936 5 0 5 5 0 8 3
amappl15 192 21 0 21 1 0 1 1 0 8 1
amappl14 184 403 0 402 1 0 1 1 0 8 0
amappl13 176 120 0 110 1 0 1 1 0 8 0
amappl12 168 688 0 653 2 0 2 2 0 8 0
amappl11 160 4 0 3 1 0 1 1 0 8 0
amappl10 152 125 0 117 1 0 1 1 0 8 0
amappl9 144 279 0 279 1 0 1 1 0 8 1
amappl8 136 95 0 94 1 0 1 1 0 8 0
amappl7 128 145 0 135 1 0 1 1 0 8 0
amappl6 120 145 0 144 1 0 1 1 0 8 0
amappl5 112 142 0 134 1 0 1 1 0 8 0
amappl4 104 293 0 280 1 0 1 1 0 8 0
amappl3 96 1642 0 1517 4 0 4 4 0 8 0
amappl2 88 527 0 479 2 0 2 2 0 8 0
amappl1 80 10842 0 10268 16 0 16 16 0 8 0
amappl 88 2493 0 2316 5 0 5 5 0 92 0
uvmvnodes 80 99 0 0 3 0 3 3 0 8 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 5 0 0 1 0 1 1 0 8 0
uaddrrnd 24 447 0 411 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 447 0 411 1 0 1 1 0 8 0
vmmpekpl 168 5457 0 5423 2 0 2 2 0 8 0
vmmpepl 168 39479 0 37489 104 0 104 104 0 357 5
vmsppl 488 446 0 410 6 0 6 6 0 8 0
rwobjpl 80 14959 0 14032 23 0 23 23 0 8 0
pdppl 4096 902 0 820 108 18 90 98 0 8 8
pvpl 32 10705 0 0 88 0 88 88 0 265 1
pmappl 256 446 0 410 3 0 3 3 0 8 0
extentpl 40 46 0 28 1 0 1 1 0 8 0
phpool 112 421 0 21 12 0 12 12 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x27: addq $0x8,%rsp
ddb{0}> trace
x86_ipi_db(ffffffff8392dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
copy_fault() at copy_fault
syscall(ffff80003c3f2f70) at syscall+0xbd4 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c3f2f70) at syscall+0xbd4 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x6a18910c630, count: -6
ddb{0}> machine ddbcpu 1
Stopped at pool_do_put+0x17c: movq 0x8(%r13),%r13
ddb{1}> trace
pool_do_put(ffffffff83a16e28,ffff80003c3faa88) at pool_do_put+0x17c sys/kern/subr_pool.c:847
pool_put(ffffffff83a16e28,ffff80003c3faa88) at pool_put+0xba sys/kern/subr_pool.c:805
reaper(ffff800045ffd9f8) at reaper+0xd2 _atomic_dec_int sys/arch/amd64/compile/SYZKALLER/obj/machine/atomic.h:155 [inline]
reaper(ffff800045ffd9f8) at reaper+0xd2 proc_free sys/kern/kern_exit.c:460 [inline]
reaper(ffff800045ffd9f8) at reaper+0xd2 sys/kern/kern_exit.c:499
end trace frame: 0x0, count: -3
* Struck through repros no longer work on HEAD.