assert "flags & (PR_WAITOK | PR_NOWAIT)" failed in subr_pool.c

0 views
Skip to first unread message

syzbot

unread,
Feb 9, 2026, 2:38:28 AMFeb 9
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: e6ae0557afc8 Include sys/socket.h to match -portable, elim..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=1283765a580000
kernel config: https://syzkaller.appspot.com/x/.config?x=1bc15e68cd2a49e5
dashboard link: https://syzkaller.appspot.com/bug?extid=45ec6dfe5d4c3a0dd374

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/9af1fad4b330/disk-e6ae0557.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/717208c61bfe/bsd-e6ae0557.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/e06935303deb/kernel-e6ae0557.xz

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

panic: kernel diagnostic assertion "flags & (PR_WAITOK | PR_NOWAIT)" failed: file "/syzkaller/managers/main/kernel/sys/kern/subr_pool.c", line 572
Starting stack trace...
panic(ffffffff83377691) at panic+0x1ba sys/kern/subr_prf.c:229
__assert(ffffffff833ba2c6,ffffffff8340bc2c,23c,ffffffff83333d30) at __assert+0x29 sys/kern/subr_prf.c:-1
pool_get(ffffffff839b7c70,c) at pool_get+0x4fc sys/kern/subr_pool.c:574
pfr_create_ktable(ffff80003c9694d4,69898ebc,1,0) at pfr_create_ktable+0x4f sys/net/pf_table.c:-1
pfr_attach_table(ffffffff838e2fa8,fffffd806b972d08,0) at pfr_attach_table+0x20d sys/net/pf_table.c:-1
pf_sourcelim_add(ffff80000159f500) at pf_sourcelim_add+0x6f9 sys/net/pf_ioctl.c:1562
pfioctl(14900,80d04466,ffff80000159f500,2,ffff80003a91dca8) at pfioctl+0x1007 sys/net/pf_ioctl.c:2295
VOP_IOCTL(fffffd806c528138,80d04466,ffff80000159f500,2,fffffd8007bfd548,ffff80003a91dca8) at VOP_IOCTL+0xa3 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd80769eff10,80d04466,ffff80000159f500,ffff80003a91dca8) at vn_ioctl+0xea sys/kern/vfs_vnops.c:531
sys_ioctl(ffff80003a91dca8,ffff80003c969ec0,ffff80003c969e10) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff80003c969ec0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c969ec0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:775
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x9fd4dfce150, count: 245
End of stack trace.


---
This report 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 issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages