KASAN: invalid memory access in tagname2tag

0 views
Skip to first unread message

syzbot

unread,
Jul 24, 2026, 9:57:26 PM (3 days ago) Jul 24
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 7c61c2d2eaf2 Fix checkalias contract to register the vnode..
git tree: https://github.com/blackgnezdo/openbsd-src.git syzbot-kasan
console output: https://syzkaller.appspot.com/x/log.txt?x=15b03746580000
kernel config: https://syzkaller.appspot.com/x/.config?x=85e25e37d09e1b88
dashboard link: https://syzkaller.appspot.com/bug?extid=a6aee90c45b70ad6dde5

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/0f6409b719e5/disk-7c61c2d2.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/645cca046c7d/bsd-7c61c2d2.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/daa40b48d8c6/kernel-7c61c2d2.xz

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

panic: Caught invalid memory access at ffff800001e13658 size 1 op 0
Starting stack trace...
panic(ffffffff84636510) at panic+0x25b sys/kern/subr_prf.c:229
__asan_load1_noabort(ffff800001e13658) at __asan_load1_noabort+0xbc
strlcpy(ffff800001e4fe80,ffff800001e13518,40) at strlcpy+0x19b sys/lib/libkern/strlcpy.c:44
tagname2tag(ffffffff850b87e0,ffff800001e13518,1) at tagname2tag+0x270 sys/net/pf_ioctl.c:449
pfioctl(254900,c148445d,ffff800001852a00,3,ffff80003bb8a7f8) at pfioctl+0x4a11 sys/net/pf_ioctl.c:2221
VOP_IOCTL(ffff800001e9f1c8,c148445d,ffff800001852a00,3,ffff800000119d00,ffff80003bb8a7f8) at VOP_IOCTL+0x131 sys/kern/vfs_vops.c:264
vn_ioctl(ffff8000017f8d28,c148445d,ffff800001852a00,ffff80003bb8a7f8) at vn_ioctl+0x18c sys/kern/vfs_vnops.c:537
sys_ioctl(ffff80003bb8a7f8,ffff80003a347bf0,ffff80003a347b60) at sys_ioctl+0x868 sys/kern/sys_generic.c:510
syscall(ffff80003a347bf0) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003a347bf0) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x95178787060, count: 247
End of stack trace.
syncing disks...


---
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

syzbot

unread,
Jul 25, 2026, 6:28:27 AM (3 days ago) Jul 25
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 7c61c2d2eaf2 Fix checkalias contract to register the vnode..
git tree: https://github.com/blackgnezdo/openbsd-src.git syzbot-kasan
console output: https://syzkaller.appspot.com/x/log.txt?x=12f63746580000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=156186b9580000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=126e109e580000
panic: Caught invalid memory access at ffff800002091a10 size 1 op 0
Stopped at db_enter+0x17: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
266303 48815 0 0x2 0 0 ndp
*285950 58221 0 0x10 0 1K syz-executor
db_enter() at db_enter+0x17 sys/arch/amd64/amd64/db_interface.c:457
panic(ffffffff84636510) at panic+0x270 sys/kern/subr_prf.c:198
__asan_load1_noabort(ffff800002091a10) at __asan_load1_noabort+0xbc
strlcpy(ffff800002092e28,ffff8000020918d0,40) at strlcpy+0x19b sys/lib/libkern/strlcpy.c:44
tagname2tag(ffffffff850b87e0,ffff8000020918d0,1) at tagname2tag+0x270 sys/net/pf_ioctl.c:449
pfioctl(14900,c148445d,ffff80000185bc00,3,ffff8000299e22b8) at pfioctl+0x4a11 sys/net/pf_ioctl.c:2221
VOP_IOCTL(ffff80000204a3a0,c148445d,ffff80000185bc00,3,ffff8000001195b0,ffff8000299e22b8) at VOP_IOCTL+0x131 sys/kern/vfs_vops.c:264
vn_ioctl(ffff800001ecb348,c148445d,ffff80000185bc00,ffff8000299e22b8) at vn_ioctl+0x18c sys/kern/vfs_vnops.c:537
sys_ioctl(ffff8000299e22b8,ffff800029be3fd0,ffff800029be3f40) at sys_ioctl+0x868 sys/kern/sys_generic.c:510
syscall(ffff800029be3fd0) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800029be3fd0) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7b37ceb9bfe0, count: 4
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
*cpu1: Caught invalid memory access at ffff800002091a10 size 1 op 0
ddb{1}> show kasan
KASAN: invalid read of 1 byte at 0xffff800002091a10 from pc 0xffffffff81c2388b
KASAN: first bad byte at 0xffff800002091a10 (+0); shadow 0xfd: pool use-after-free (or unallocated item)
KASAN: 0xffff800002091a10 is 16 bytes inside the 320-byte item [0xffff800002091a00..0xffff800002091b40) in pool 'pfqueue'
KASAN: pc: strlcpy+0x19b
KASAN: call trace:
#0 __asan_load1_noabort+0x9b kasan_shadow_check sys/kern/subr_kasan.c:-1 [inline]
#0 __asan_load1_noabort+0x9b sys/kern/subr_kasan.c:1096
#1 strlcpy+0x19b sys/lib/libkern/strlcpy.c:44
#2 tagname2tag+0x270 sys/net/pf_ioctl.c:449
#3 pfioctl+0x4a11 sys/net/pf_ioctl.c:2221
#4 VOP_IOCTL+0x131 sys/kern/vfs_vops.c:264
#5 vn_ioctl+0x18c sys/kern/vfs_vnops.c:537
#6 sys_ioctl+0x868 sys/kern/sys_generic.c:510
#7 syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#7 syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
#8 Xsyscall+0x128
KASAN: shadow of 0xffff800002091900..0xffff800002091b80 (1 cell = 8 bytes):
0xffff800002091900: 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08
0xffff800002091980: 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08 08
>0xffff800002091a00: 08 08[fd]fd fd fd fd fd fd fd fd fd fd fd fd fd
0xffff800002091a80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0xffff800002091b00: fd fd fd fd fd fd fd fd 08 08 fd fd fd fd fd fd
KASAN: legend: 00 valid; 01..07 partial; fb malloc redzone; fc malloc freed; fd pool freed; fe kmem; fa global; f1..f4/f8 stack/scope
ddb{1}> trace
db_enter() at db_enter+0x17 sys/arch/amd64/amd64/db_interface.c:457
panic(ffffffff84636510) at panic+0x270 sys/kern/subr_prf.c:198
__asan_load1_noabort(ffff800002091a10) at __asan_load1_noabort+0xbc
strlcpy(ffff800002092e28,ffff8000020918d0,40) at strlcpy+0x19b sys/lib/libkern/strlcpy.c:44
tagname2tag(ffffffff850b87e0,ffff8000020918d0,1) at tagname2tag+0x270 sys/net/pf_ioctl.c:449
pfioctl(14900,c148445d,ffff80000185bc00,3,ffff8000299e22b8) at pfioctl+0x4a11 sys/net/pf_ioctl.c:2221
VOP_IOCTL(ffff80000204a3a0,c148445d,ffff80000185bc00,3,ffff8000001195b0,ffff8000299e22b8) at VOP_IOCTL+0x131 sys/kern/vfs_vops.c:264
vn_ioctl(ffff800001ecb348,c148445d,ffff80000185bc00,ffff8000299e22b8) at vn_ioctl+0x18c sys/kern/vfs_vnops.c:537
sys_ioctl(ffff8000299e22b8,ffff800029be3fd0,ffff800029be3f40) at sys_ioctl+0x868 sys/kern/sys_generic.c:510
syscall(ffff800029be3fd0) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800029be3fd0) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7b37ceb9bfe0, count: -11
ddb{1}> show registers
rdi 0
rsi 0x1
rbp 0xffff800029be3490
rbx 0xffff800029be3500
rdx 0
rcx 0xffff800028fe3ff0
rax 0
r8 0x101010101010101
r9 0x8080808080808080
r10 0xffff800029be3278
r11 0xffffffff831c6730 x86_bus_space_io_read_1
r12 0xffffffff84636510 __rodata_start+0x9e510
r13 0xffff800028fe4c08
r14 0xffff800028fe4e07
r15 0x1
rip 0xffffffff82e89947 db_enter+0x17
cs 0x8
rflags 0x246
rsp 0xffff800029be3490
ss 0x10
db_enter+0x17: popq %rbp
ddb{1}> show proc
PROC (syz-executor) tid=285950 pid=58221 tcnt=1 stat=onproc
flags process=10<SUGID> proc=0
runpri=73, usrpri=86, slppri=17, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff8000299e2d18,0xffff8000299e3258
process=0xffff8000299fd828 user=0xffff800029bd9000, vmspace=0xffff8000020859b0
estcpu=36, cpticks=15, pctcpu=0.0, user=0, sys=15, intr=0
ddb{1}> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
48815 266303 14597 0 7 0x2 0 ndp
*58221 285950 92114 0 7 0x10 0 syz-executor
14597 105253 21039 0 3 0x100002 0x88 sigsusp sh
10419 160499 74787 0 2 0x100000 0 sh
86615 465463 95328 0 2 0x2 0 ndp
74787 41360 361 0 3 0x100002 0x88 sigsusp sh
95328 254523 85349 0 3 0x100002 0x88 sigsusp sh
18893 375934 74066 0 2 0x2 0 ndp
74066 77900 39419 0 3 0x100002 0x88 sigsusp sh
57499 33052 92207 0 2 0x2 0 ifconfig
85383 370870 32088 0 2 0x2 0 arp
32088 222265 45141 0 3 0x100002 0x88 sigsusp sh
92207 53851 39184 0 3 0x100002 0x88 sigsusp sh
91884 7030 56939 0 2 0x2 0 arp
56939 488105 38468 0 3 0x100002 0x88 sigsusp sh
45141 180563 18148 0 3 0x2 0x80 wait syz-executor
38468 310436 18148 0 3 0x2 0x80 wait syz-executor
39184 490301 18148 0 3 0x2 0x80 wait syz-executor
361 376523 18148 0 3 0x2 0x80 wait syz-executor
21039 200264 18148 0 3 0x2 0x80 wait syz-executor
39419 132514 18148 0 3 0x2 0x80 wait syz-executor
85349 117017 18148 0 3 0x2 0x80 wait syz-executor
92114 507137 18148 0 3 0x2 0x80 nanoslp syz-executor
18148 314046 11230 0 2 0x2 0 syz-executor
11230 145049 31408 0 3 0x2 0x80 thrsleep syz-execprog
11230 70697 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 119719 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 155619 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 258491 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 68217 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 261523 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 371473 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 92190 31408 0 3 0x2 0x4000080 kqread syz-execprog
11230 55771 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 274988 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 53587 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
11230 34444 31408 0 3 0x2 0x4000080 thrsleep syz-execprog
31408 68703 96343 0 3 0x100002 0x88 sigsusp ksh
96343 434763 46056 0 3 0x10 0x88 kqread sshd-session
46056 351068 17592 0 3 0x12 0x80 kqread sshd-session
58637 227771 1 0 3 0x100003 0x80 ttyin getty
17592 452339 1 0 3 0 0x88 kqread sshd
18984 25961 26134 74 3 0x1100012 0x80 bpf pflogd
26134 432901 1 0 3 0 0x80 sbwait pflogd
53666 184504 32343 73 3 0x1100010 0x80 kqread syslogd
32343 332972 1 0 3 0x100002 0x80 sbwait syslogd
45350 277967 1 0 3 0x100000 0x80 kqread resolvd
36831 139153 66800 77 3 0x100012 0x80 kqread dhcpleased
8296 300226 66800 77 3 0x100012 0x80 kqread dhcpleased
66800 424896 1 0 3 0 0x80 kqread dhcpleased
11730 260624 0 0 3 0x14000 0x200 bored smr
8838 179202 0 0 2 0x14000 0x200 zerothread
6599 449499 0 0 3 0x14000 0x200 aiodoned aiodoned
99837 345370 0 0 3 0x14000 0x200 syncer update
8740 294134 0 0 3 0x14000 0x200 cleaner cleaner
73086 259084 0 0 3 0x14000 0x200 reaper reaper
31582 471853 0 0 3 0x14000 0x200 pgdaemon pagedaemon
1254 275592 0 0 3 0x14000 0x200 bored viomb
7135 137739 0 0 3 0x14000 0x40000200 acpi0 acpi0
96752 413528 0 0 3 0x14000 0x40000200 idle1
79516 432680 0 0 3 0x14000 0x200 bored softnet1
44745 141879 0 0 3 0x14000 0x200 bored softnet0
32022 314414 0 0 3 0x14000 0x200 smrbar systqmp
77394 46355 0 0 3 0x14000 0x200 bored systq
39751 122636 0 0 3 0x14000 0x200 tmoslp softclockmp
7403 24622 0 0 3 0x14000 0x40000200 tmoslp softclock
53930 159854 0 0 3 0x14000 0x40000200 idle0
1 169134 0 0 3 0x2 0x80 wait init
0 0 -1 0 3 0x10000 0x200 scheduler swapper
ddb{1}> show all locks
Process 58221 (syz-executor) thread 0xffff8000299e22b8 (285950)
exclusive rwlock pf_lock r = 0 (0xffffffff850b8818)
#0 witness_lock+0x632 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x632 sys/kern/subr_witness.c:1160
#1 rw_do_enter_write+0x53e sys/kern/kern_rwlock.c:320
#2 pfioctl+0x4983 sys/net/pf_ioctl.c:2213
#3 VOP_IOCTL+0x131 sys/kern/vfs_vops.c:264
#4 vn_ioctl+0x18c sys/kern/vfs_vnops.c:537
#5 sys_ioctl+0x868 sys/kern/sys_generic.c:510
#6 syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#6 syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
#7 Xsyscall+0x128
exclusive rwlock netlock r = 0 (0xffffffff85350b58)
#0 witness_lock+0x632 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x632 sys/kern/subr_witness.c:1160
#1 rw_do_enter_write+0x53e sys/kern/kern_rwlock.c:320
#2 pfioctl+0x496e sys/net/pf_ioctl.c:-1
#3 VOP_IOCTL+0x131 sys/kern/vfs_vops.c:264
#4 vn_ioctl+0x18c sys/kern/vfs_vnops.c:537
#5 sys_ioctl+0x868 sys/kern/sys_generic.c:510
#6 syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#6 syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
#7 Xsyscall+0x128
exclusive rwlock pfioctl_rw r = 0 (0xffffffff850b8918)
#0 witness_lock+0x632 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x632 sys/kern/subr_witness.c:1160
#1 rw_do_enter_write+0x53e sys/kern/kern_rwlock.c:320
#2 pfioctl+0x256 sys/net/pf_ioctl.c:2075
#3 VOP_IOCTL+0x131 sys/kern/vfs_vops.c:264
#4 vn_ioctl+0x18c sys/kern/vfs_vnops.c:537
#5 sys_ioctl+0x868 sys/kern/sys_generic.c:510
#6 syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#6 syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
#7 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff85435b40)
#0 witness_lock+0x632 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x632 sys/kern/subr_witness.c:1160
#1 vn_ioctl+0x9e sys/kern/vfs_vnops.c:520
#2 sys_ioctl+0x868 sys/kern/sys_generic.c:510
#3 syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#3 syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
#4 Xsyscall+0x128
Process 32022 (systqmp) thread 0xffff800045ffe530 (314414)
shared rwlock systqmp r = 0 (0xffffffff84f96a78)
#0 witness_lock+0x632 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x632 sys/kern/subr_witness.c:1160
#1 taskq_thread+0x1ba sys/kern/kern_task.c:442
#2 proc_trampoline+0x10
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 11050 12242K 12242K 166960K 12144 0
pcb 17 24K 24K 166960K 17 0
rtable 169 8K 8K 166960K 279 0
pf 34 22K 22K 166960K 48 0
ifaddr 35 8K 8K 166960K 41 0
ifgroup 55 2K 2K 166960K 60 0
sysctl 1 1K 13K 166960K 5 0
counters 70 42K 42K 166960K 72 0
ioctlops 1 0K 4K 166960K 1481 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1241 80K 80K 166960K 1320 0
UFS quota 1 36K 36K 166960K 1 0
UFS mount 5 44K 44K 166960K 5 0
shm 2 2K 2K 166960K 2 0
VM map 2 1K 1K 166960K 2 0
sem 2 0K 0K 166960K 2 0
dirhash 12 2K 2K 166960K 12 0
ACPI 1734 201K 292K 166960K 11964 0
file desc 26 94K 98K 166960K 194 0
proc 70 128K 177K 166960K 552 0
subproc 0 0K 2K 166960K 30 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 20K 20K 166960K 1 0
in_multi 59 4K 4K 166960K 70 0
ether_multi 1 0K 0K 166960K 1 0
mrt 0 0K 0K 166960K 2 0
ISOFS mount 1 36K 36K 166960K 1 0
MSDOSFS mount 1 20K 20K 166960K 1 0
ttys 25 182K 182K 166960K 25 0
exec 0 0K 2K 166960K 436 0
fusefs mount 1 36K 36K 166960K 1 0
tdb 3 1K 1K 166960K 3 0
VM swap 14 124K 124K 166960K 15 0
UVM amap 297 255K 308K 166960K 4061 0
UVM aobj 3 4K 4K 166960K 3 0
pinsyscall 1077 1773K 1777K 166960K 1524 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
NDP 20 1K 1K 166960K 23 0
temp 1 9164K 9176K 166960K 5731 0
kqueue 14 44K 44K 166960K 40 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 28 0 25 1 0 1 1 0 8 0
rtentry 176 88 0 12 4 0 4 4 0 8 0
unpcb 144 63 0 46 1 0 1 1 0 8 0
syncache 336 9 0 9 2 1 1 1 0 8 1
tcpcb 736 16 0 10 1 0 1 1 0 8 0
arp 136 17 0 2 1 0 1 1 0 8 0
inpcb 328 73 0 64 2 0 2 2 0 8 1
nd6 152 12 0 3 1 0 1 1 0 8 0
kcovpl 48 4 0 4 1 0 1 1 0 8 1
pfosfp 40 1428 0 1005 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pftag 88 1 0 0 1 0 1 1 0 8 0
pfqueue 320 1 0 0 1 0 1 1 0 8 0
pfstitem 24 19 0 2 1 0 1 1 0 8 0
pfstkey 128 19 0 2 1 0 1 1 0 8 0
pfstate 448 19 0 2 2 0 2 2 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 335 0 48 18 0 18 18 0 8 0
art_table 40 336 0 48 3 0 3 3 0 8 0
art_node 32 88 0 16 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1622 0 124 94 0 94 94 0 8 0
ffsino 296 1622 0 124 116 0 116 116 0 8 0
nchpl 144 1856 0 110 65 0 65 65 0 8 0
vnodes 216 1667 0 0 93 0 93 93 0 8 0
namei 1024 6453 0 6453 3 1 2 2 0 8 2
percpumem 16 52 0 1 1 0 1 1 0 8 0
kstatmem 264 29 0 2 2 0 2 2 0 8 0
scxspl 216 11820 0 11820 11 10 1 8 1 8 1
plimitpl 152 62 0 44 1 0 1 1 0 8 0
sigapl 424 521 0 465 7 0 7 7 0 8 0
knotepl 120 67 0 0 3 0 3 3 0 8 0
kqueuepl 224 37 0 26 1 0 1 1 0 8 0
pipepl 344 209 0 181 4 1 3 3 0 8 0
fdescpl 528 505 0 465 3 0 3 3 0 8 0
filepl 160 1998 0 1854 7 0 7 7 0 8 0
lockfpl 104 6 0 4 1 0 1 1 0 8 0
lockfspl 48 4 0 2 1 0 1 1 0 8 0
sessionpl 144 45 0 36 1 0 1 1 0 8 0
pgrppl 48 68 0 51 1 0 1 1 0 8 0
ucredpl 104 142 0 128 1 0 1 1 0 8 0
zombiepl 144 465 0 465 2 1 1 1 0 8 1
processpl 1232 521 0 465 5 0 5 5 0 8 0
procpl 664 546 0 478 6 0 6 6 0 8 0
sockpl 752 164 0 135 4 0 4 4 0 8 1
mcl64k 65536 1 0 0 1 0 1 1 0 8 0
mcl16k 16384 1 0 0 1 0 1 1 0 8 0
mcl12k 12288 2 0 0 1 0 1 1 0 8 0
mcl8k 8192 16 0 0 2 0 2 2 0 8 0
mcl4k 4096 176 0 0 22 0 22 22 0 8 0
mcl2k 2048 18 0 0 3 0 3 3 0 8 0
mextrefs 64 18 0 0 1 0 1 1 0 8 0
mtagpl 96 3 0 0 1 0 1 1 0 8 0
mbufpl 256 177 0 0 11 0 11 11 0 8 0
bufpl 272 7341 0 234 474 0 474 474 0 8 0
anonpl 32 11316 0 0 92 1 91 92 0 222 0
amapchunkpl 152 12458 0 11784 34 1 33 33 0 158 6
amappl16 200 4246 0 4111 8 0 8 8 0 8 0
amappl15 192 10 0 10 1 1 0 1 0 8 0
amappl14 184 477 0 466 2 1 1 1 0 8 0
amappl13 176 190 0 175 2 0 2 2 0 8 1
amappl12 168 792 0 757 2 0 2 2 0 8 0
amappl11 160 31 0 31 2 2 0 1 0 8 0
amappl10 152 97 0 79 2 0 2 2 0 8 1
amappl9 144 1763 0 1763 3 2 1 1 0 8 1
amappl8 136 170 0 139 2 0 2 2 0 8 0
amappl7 128 212 0 190 3 1 2 3 0 8 0
amappl6 120 186 0 176 2 1 1 1 0 8 0
amappl5 112 339 0 329 1 0 1 1 0 8 0
amappl4 104 448 0 423 2 0 2 2 0 8 1
amappl3 96 1683 0 1587 5 2 3 3 0 8 0
amappl2 88 894 0 798 5 0 5 5 0 8 2
amappl1 80 16169 0 15459 28 8 20 24 0 8 5
amappl 88 3080 0 2894 6 1 5 5 0 92 0
uvmvnodes 80 102 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 2 0 0 1 0 1 1 0 8 0
uaddrrnd 24 505 0 465 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 505 0 465 1 0 1 1 0 8 0
vmmpekpl 168 9707 0 9664 3 0 3 3 0 8 0
vmmpepl 168 59644 0 57472 144 14 130 130 0 357 35
vmsppl 488 504 0 465 6 0 6 6 0 8 0
rwobjpl 80 24519 0 23158 45 12 33 42 0 8 5
pdppl 4096 1019 0 930 117 26 91 91 0 8 2
pvpl 32 58612 0 0 474 1 473 473 0 265 0
pmappl 256 504 0 465 3 0 3 3 0 8 0
extentpl 40 47 0 29 1 0 1 1 0 8 0
phpool 120 763 0 31 23 0 23 23 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x19: leave
x86_ipi_db(ffffffff851c3ff0) at x86_ipi_db+0x19 sys/arch/amd64/amd64/db_interface.c:412
x86_ipi_handler() at x86_ipi_handler+0x112 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff85435340) at __mp_lock+0x272 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff85435340) at __mp_lock+0x272 sys/kern/kern_lock.c:173
softintr_dispatch(0) at softintr_dispatch+0x215 sys/kern/kern_softintr.c:83
dosoftint(0) at dosoftint+0x7b sys/arch/amd64/amd64/intr.c:862
Xsoftclock() at Xsoftclock+0x27
__asan_load4_noabort(ffffffff85435340) at __asan_load4_noabort
vn_statfile(ffff800001ecb208,ffff800029c14740,ffff8000299e3248) at vn_statfile+0x47 sys/kern/vfs_vnops.c:439
sys_fstat(ffff8000299e3248,ffff800029c149e0,ffff800029c14940) at sys_fstat+0x1a7 sys/kern/kern_descrip.c:802
syscall(ffff800029c149e0) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800029c149e0) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x6fd156040ea0, count: 3
ddb{0}> trace
x86_ipi_db(ffffffff851c3ff0) at x86_ipi_db+0x19 sys/arch/amd64/amd64/db_interface.c:412
x86_ipi_handler() at x86_ipi_handler+0x112 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff85435340) at __mp_lock+0x272 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff85435340) at __mp_lock+0x272 sys/kern/kern_lock.c:173
softintr_dispatch(0) at softintr_dispatch+0x215 sys/kern/kern_softintr.c:83
dosoftint(0) at dosoftint+0x7b sys/arch/amd64/amd64/intr.c:862
Xsoftclock() at Xsoftclock+0x27
__asan_load4_noabort(ffffffff85435340) at __asan_load4_noabort
vn_statfile(ffff800001ecb208,ffff800029c14740,ffff8000299e3248) at vn_statfile+0x47 sys/kern/vfs_vnops.c:439
sys_fstat(ffff8000299e3248,ffff800029c149e0,ffff800029c14940) at sys_fstat+0x1a7 sys/kern/kern_descrip.c:802
syscall(ffff800029c149e0) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800029c149e0) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x6fd156040ea0, count: -12
ddb{0}> machine ddbcpu 1
Stopped at db_enter+0x17: popq %rbp
db_enter() at db_enter+0x17 sys/arch/amd64/amd64/db_interface.c:457
panic(ffffffff84636510) at panic+0x270 sys/kern/subr_prf.c:198
__asan_load1_noabort(ffff800002091a10) at __asan_load1_noabort+0xbc
strlcpy(ffff800002092e28,ffff8000020918d0,40) at strlcpy+0x19b sys/lib/libkern/strlcpy.c:44
tagname2tag(ffffffff850b87e0,ffff8000020918d0,1) at tagname2tag+0x270 sys/net/pf_ioctl.c:449
pfioctl(14900,c148445d,ffff80000185bc00,3,ffff8000299e22b8) at pfioctl+0x4a11 sys/net/pf_ioctl.c:2221
VOP_IOCTL(ffff80000204a3a0,c148445d,ffff80000185bc00,3,ffff8000001195b0,ffff8000299e22b8) at VOP_IOCTL+0x131 sys/kern/vfs_vops.c:264
vn_ioctl(ffff800001ecb348,c148445d,ffff80000185bc00,ffff8000299e22b8) at vn_ioctl+0x18c sys/kern/vfs_vnops.c:537
sys_ioctl(ffff8000299e22b8,ffff800029be3fd0,ffff800029be3f40) at sys_ioctl+0x868 sys/kern/sys_generic.c:510
syscall(ffff800029be3fd0) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800029be3fd0) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7b37ceb9bfe0, count: 4
ddb{1}> trace
db_enter() at db_enter+0x17 sys/arch/amd64/amd64/db_interface.c:457
panic(ffffffff84636510) at panic+0x270 sys/kern/subr_prf.c:198
__asan_load1_noabort(ffff800002091a10) at __asan_load1_noabort+0xbc
strlcpy(ffff800002092e28,ffff8000020918d0,40) at strlcpy+0x19b sys/lib/libkern/strlcpy.c:44
tagname2tag(ffffffff850b87e0,ffff8000020918d0,1) at tagname2tag+0x270 sys/net/pf_ioctl.c:449
pfioctl(14900,c148445d,ffff80000185bc00,3,ffff8000299e22b8) at pfioctl+0x4a11 sys/net/pf_ioctl.c:2221
VOP_IOCTL(ffff80000204a3a0,c148445d,ffff80000185bc00,3,ffff8000001195b0,ffff8000299e22b8) at VOP_IOCTL+0x131 sys/kern/vfs_vops.c:264
vn_ioctl(ffff800001ecb348,c148445d,ffff80000185bc00,ffff8000299e22b8) at vn_ioctl+0x18c sys/kern/vfs_vnops.c:537
sys_ioctl(ffff8000299e22b8,ffff800029be3fd0,ffff800029be3f40) at sys_ioctl+0x868 sys/kern/sys_generic.c:510
syscall(ffff800029be3fd0) at syscall+0x1089 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff800029be3fd0) at syscall+0x1089 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7b37ceb9bfe0, count: -11


---
If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.
Reply all
Reply to author
Forward
0 new messages