assert "d->bd_in_uiomove == NUM" failed in bpf.c

1 view
Skip to first unread message

syzbot

unread,
Nov 25, 2022, 7:32:42 AM11/25/22
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 2a4e68fdcb09 nvme can do 64bit dma.
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=16ce9d55880000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=c5c8656f251cf93b7085

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/fe6d16d169be/disk-2a4e68fd.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/e73f6e639e97/bsd-2a4e68fd.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/224ae6903d17/kernel-2a4e68fd.xz

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

panic: kernel diagnostic assertion "d->bd_in_uiomove == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/bpf.c", line 675
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*124788 60254 0 0 0x4000000 1 syz-executor.3
92764 11553 0 0x2 0 0 syz-executor.7
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825ab8ec) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff8261fb71,ffffffff825bb54f,2a3,ffffffff825a425e) at __assert+0x25 sys/kern/subr_prf.c:157
bpf_setif(ffff800000bab400,ffff80002e492d00) at bpf_setif+0x2d7 bpf_attachd sys/net/bpf.c:290 [inline]
bpf_setif(ffff800000bab400,ffff80002e492d00) at bpf_setif+0x2d7 sys/net/bpf.c:1125
bpfioctl(31700,8020426c,ffff80002e492d00,1,ffff800026415260) at bpfioctl+0x41d sys/net/bpf.c:880
VOP_IOCTL(fffffd8067bb3438,8020426c,ffff80002e492d00,1,fffffd807f7d7680,ffff800026415260) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd8077a9d870,8020426c,ffff80002e492d00,ffff800026415260) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
sys_ioctl(ffff800026415260,ffff80002e492e18,ffff80002e492e60) at sys_ioctl+0x4a2
syscall(ffff80002e492ee0) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff80002e492ee0) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2a1901bc70, count: 5
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: kernel diagnostic assertion "d->bd_in_uiomove == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/bpf.c", line 675
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825ab8ec) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff8261fb71,ffffffff825bb54f,2a3,ffffffff825a425e) at __assert+0x25 sys/kern/subr_prf.c:157
bpf_setif(ffff800000bab400,ffff80002e492d00) at bpf_setif+0x2d7 bpf_attachd sys/net/bpf.c:290 [inline]
bpf_setif(ffff800000bab400,ffff80002e492d00) at bpf_setif+0x2d7 sys/net/bpf.c:1125
bpfioctl(31700,8020426c,ffff80002e492d00,1,ffff800026415260) at bpfioctl+0x41d sys/net/bpf.c:880
VOP_IOCTL(fffffd8067bb3438,8020426c,ffff80002e492d00,1,fffffd807f7d7680,ffff800026415260) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd8077a9d870,8020426c,ffff80002e492d00,ffff800026415260) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
sys_ioctl(ffff800026415260,ffff80002e492e18,ffff80002e492e60) at sys_ioctl+0x4a2
syscall(ffff80002e492ee0) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff80002e492ee0) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2a1901bc70, count: -10
ddb{1}> show registers
rdi 0
rsi 0x1
rbp 0xffff80002e492970
rbx 0xffff800020dd9b8f
rdx 0
rcx 0
rax 0xffff800026415260
r8 0x101010101010101
r9 0x8080808080808080
r10 0x2bca746ab1bb79bd
r11 0x4254a89a851bc403
r12 0xffff800020dd9990
r13 0
r14 0
r15 0x1
rip 0xffffffff819f7aa8 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff80002e492960
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor.3) pid=124788 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=79, nice=20
forw=0xffffffffffffffff, list=0xffff800026415500,0xffff800026415a50
process=0xffff8000ffff3688 user=0xffff80002e48d000, vmspace=0xfffffd8069f55b90
estcpu=29, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
21792 102946 39010 0 2 0 syz-executor.4
21792 414940 39010 0 3 0x4000080 fsleep syz-executor.4
156 169579 10016 0 2 0 syz-executor.5
156 163556 10016 0 3 0x4000080 fsleep syz-executor.5
156 142426 10016 0 3 0x4000080 fsleep syz-executor.5
79514 21716 44329 0 2 0 syz-executor.6
79514 164463 44329 0 2 0x4000000 syz-executor.6
79514 76819 44329 0 3 0x4000080 fsleep syz-executor.6
60254 347117 24618 0 2 0 syz-executor.3
*60254 124788 24618 0 7 0x4000000 syz-executor.3
60254 228896 24618 0 2 0x4000000 syz-executor.3
60254 206995 24618 0 2 0x4000000 syz-executor.3
11553 92764 7074 0 7 0x2 syz-executor.7
44329 402865 7074 0 2 0x482 syz-executor.6
24618 445937 7074 0 2 0x482 syz-executor.3
10016 481521 7074 0 2 0x482 syz-executor.5
39010 144397 7074 0 2 0x482 syz-executor.4
50732 163798 7074 0 2 0x2 syz-executor.2
87783 234029 7074 0 2 0x482 syz-executor.1
4891 301541 7074 0 2 0x2 syz-executor.0
7074 436725 79896 0 3 0x82 thrsleep syz-fuzzer
7074 137897 79896 0 2 0x4000482 syz-fuzzer
7074 309416 79896 0 3 0x4000082 wait syz-fuzzer
7074 426156 79896 0 3 0x4000082 wait syz-fuzzer
7074 154110 79896 0 3 0x4000082 wait syz-fuzzer
7074 74472 79896 0 3 0x4000082 wait syz-fuzzer
7074 219053 79896 0 3 0x4000082 wait syz-fuzzer
7074 293560 79896 0 3 0x4000082 thrsleep syz-fuzzer
7074 358817 79896 0 3 0x4000082 thrsleep syz-fuzzer
7074 393635 79896 0 3 0x4000082 thrsleep syz-fuzzer
7074 76407 79896 0 3 0x4000082 wait syz-fuzzer
7074 374999 79896 0 3 0x4000082 wait syz-fuzzer
7074 293592 79896 0 3 0x4000082 thrsleep syz-fuzzer
7074 337953 79896 0 3 0x4000082 wait syz-fuzzer
7074 39196 79896 0 3 0x4000082 kqread syz-fuzzer
79896 121671 16886 0 3 0x10008a sigsusp ksh
16886 32077 45584 0 3 0x9a kqread sshd
52944 519712 1 0 3 0x100083 ttyin getty
45584 49565 1 0 3 0x88 kqread sshd
72279 287373 98252 74 3 0x1100092 bpf pflogd
98252 455548 1 0 3 0x80 netio pflogd
94986 54557 83131 73 3 0x1100090 kqread syslogd
83131 5601 1 0 3 0x100082 netio syslogd
37725 423577 1 0 3 0x100080 kqread resolvd
35945 301044 16626 77 3 0x100092 kqread dhcpleased
28593 134860 16626 77 3 0x100092 kqread dhcpleased
16626 322918 1 0 3 0x80 kqread dhcpleased
87651 388333 0 0 3 0x14200 bored smr
24733 369334 0 0 2 0x14200 zerothread
57431 521377 0 0 3 0x14200 aiodoned aiodoned
3965 211580 0 0 3 0x14200 syncer update
57693 239479 0 0 3 0x14200 cleaner cleaner
50503 433652 0 0 3 0x14200 reaper reaper
51522 143840 0 0 3 0x14200 pgdaemon pagedaemon
23682 92376 0 0 3 0x14200 bored viomb
33563 444501 0 0 3 0x40014200 acpi0 acpi0
45184 458156 0 0 3 0x40014200 idle1
66912 330990 0 0 3 0x14200 bored softnet
88479 222174 0 0 3 0x14200 bored softnet
13651 220061 0 0 3 0x14200 bored softnet
42108 456721 0 0 3 0x14200 bored softnet
54321 493075 0 0 3 0x14200 bored systqmp
70256 45982 0 0 3 0x14200 bored systq
95324 99711 0 0 3 0x40014200 bored softclock
84711 441014 0 0 3 0x40014200 idle0
1 265969 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
CPU 1:
exclusive mutex &bd->bd_mtx r = 0 (0xffff800000bab418)
#0 witness_lock+0x44d
#1 mtx_enter_try+0x100
#2 mtx_enter+0x4b sys/kern/kern_lock.c:266
#3 bpf_setif+0xd8 sys/net/bpf.c:1116
#4 bpfioctl+0x41d sys/net/bpf.c:880
#5 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
#6 vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
#7 sys_ioctl+0x4a2
#8 syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#8 syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
#9 Xsyscall+0x128
Process 60254 (syz-executor.3) thread 0xffff800026415260 (124788)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82aea558)
#0 witness_lock+0x44d
#1 vn_ioctl+0x41 sys/kern/vfs_vnops.c:508
#2 sys_ioctl+0x4a2
#3 syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#3 syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
#4 Xsyscall+0x128
exclusive mutex &bd->bd_mtx r = 0 (0xffff800000bab418)
#0 witness_lock+0x44d
#1 mtx_enter_try+0x100
#2 mtx_enter+0x4b sys/kern/kern_lock.c:266
#3 bpf_setif+0xd8 sys/net/bpf.c:1116
#4 bpfioctl+0x41d sys/net/bpf.c:880
#5 VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
#6 vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
#7 sys_ioctl+0x4a2
#8 syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#8 syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
#9 Xsyscall+0x128
Process 50732 (syz-executor.2) thread 0xffff8000ffff4a88 (163798)
exclusive rrwlock inode r = 0 (0xfffffd80699c3918)
#0 witness_lock+0x44d
#1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140
#5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1353
#6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394
#7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1150
#8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:388
#9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3112
#10 syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#10 syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8067c55c50)
#0 witness_lock+0x44d
#1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310
#2 rrw_enter+0x8b sys/kern/kern_rwlock.c:465
#3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:518
#4 vn_lock+0x84 sys/kern/vfs_vnops.c:564
#5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:412
#6 namei+0x36a sys/kern/vfs_lookup.c:244
#7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3097
#8 syscall+0x438 mi_syscall sys/sys/syscall_mi.h:101 [inline]
#8 syscall+0x438 sys/arch/amd64/amd64/trap.c:599
#9 Xsyscall+0x128
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10209 6552K 6735K 78643K 11678 0
pcb 13 12K 17K 78643K 212 0
rtable 238 7K 7K 78643K 369 0
ifaddr 78 17K 17K 78643K 106 0
counters 62 36K 36K 78643K 86 0
ioctlops 0 0K 4K 78643K 1477 0
iov 0 0K 2K 78643K 71 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1280 80K 80K 78643K 1369 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 6 0
VM map 2 1K 1K 78643K 2 0
sem 12 0K 1K 78643K 31 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 14 49K 89K 78643K 331 0
sigio 0 0K 0K 78643K 3 0
proc 67 91K 140K 78643K 524 0
subproc 104 6K 6K 78643K 104 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 23 0
in_multi 99 6K 7K 78643K 117 0
ether_multi 1 0K 0K 78643K 11 0
mrt 1 0K 0K 78643K 2 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 49 228K 228K 78643K 49 0
exec 0 0K 1K 78643K 387 0
tdb 3 0K 0K 78643K 3 0
pagedep 1 8K 8K 78643K 1 0
inodedep 1 32K 32K 78643K 1 0
newblk 1 0K 0K 78643K 1 0
VM swap 8 62K 64K 78643K 10 0
UVM amap 254 77K 78K 78643K 3898 0
UVM aobj 91 3K 3K 78643K 100 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
NDP 13 0K 1K 78643K 35 0
temp 131 4694K 70230K 78643K 6590 0
kqueue 12 18K 22K 78643K 37 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
plcache 128 22 0 0 1 0 1 1 0 8 0
rtpcb 120 84 0 81 2 0 2 2 0 8 1
rtentry 112 117 0 7 4 0 4 4 0 8 0
unpcb 144 220 0 204 6 4 2 6 0 8 1
syncache 296 4 0 4 1 1 0 1 0 8 0
tcpqe 32 1458 0 1458 2 2 0 1 0 8 0
tcpcb 776 90 0 86 4 2 2 4 0 8 1
arp 120 18 0 0 1 0 1 1 0 8 0
inpcb 368 350 0 343 13 4 9 13 0 8 8
nd6 48 24 0 0 1 0 1 1 0 8 0
kcovpl 48 8 0 0 1 0 1 1 0 8 0
ppxss 1256 10 0 9 1 0 1 1 0 8 0
pppxif 1440 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
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 488 0 36 30 0 30 30 0 8 1
art_table 32 489 0 36 4 0 4 4 0 8 0
art_node 16 116 0 16 1 0 1 1 0 8 0
semupl 112 2 0 2 1 1 0 1 0 8 0
semapl 112 26 0 16 1 0 1 1 0 8 0
shmpl 112 97 0 9 3 0 3 3 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1728 0 288 91 0 91 91 0 8 0
ffsino 272 1728 0 288 97 0 97 97 0 8 0
nchpl 144 2235 0 556 63 0 63 63 0 8 0
uvmvnodes 80 1907 0 0 39 0 39 39 0 8 0
vnodes 216 1907 0 0 106 0 106 106 0 8 0
namei 1024 7641 0 7640 2 1 1 2 0 8 0
percpumem 16 55 0 12 1 0 1 1 0 8 0
kstatmem 264 38 0 12 2 0 2 2 0 8 0
scxspl 216 7353 0 7351 9 6 3 8 0 8 2
plimitpl 152 31 0 15 1 0 1 1 0 8 0
sigapl 424 647 0 601 8 2 6 7 0 8 0
futexpl 64 2212 0 2208 1 0 1 1 0 8 0
knotepl 120 332 0 0 10 0 10 10 0 8 0
kqueuepl 216 44 0 36 1 0 1 1 0 8 0
pipepl 320 237 0 209 8 0 8 8 0 8 5
fdescpl 496 630 0 603 5 1 4 5 0 8 0
filepl 152 3262 0 3016 16 0 16 16 0 8 6
lockfpl 104 38 0 35 1 0 1 1 0 8 0
lockfspl 48 17 0 14 1 0 1 1 0 8 0
sessionpl 144 24 0 7 1 0 1 1 0 8 0
pgrppl 48 24 0 7 1 0 1 1 0 8 0
ucredpl 104 143 0 131 1 0 1 1 0 8 0
zombiepl 144 603 0 601 1 0 1 1 0 8 0
processpl 1072 647 0 601 4 0 4 4 0 8 0
procpl 672 1109 0 1041 9 1 8 8 0 8 1
sockpl 488 654 0 628 33 17 16 25 0 8 12
mcl64k 65536 2 0 0 1 0 1 1 0 8 0
mcl16k 16384 1 0 0 1 0 1 1 0 8 0
mcl12k 12288 3 0 0 1 0 1 1 0 8 0
mcl9k 9216 3 0 0 1 0 1 1 0 8 0
mcl8k 8192 14 0 0 2 0 2 2 0 8 0
mcl4k 4096 10 0 0 2 0 2 2 0 8 0
mcl2k2 2112 1 0 0 1 0 1 1 0 8 0
mcl2k 2048 458 0 0 57 0 57 57 0 8 0
mtagpl 96 76 0 0 2 0 2 2 0 8 0
mbufpl 256 509 0 0 32 0 32 32 0 8 0
bufpl 288 4297 0 134 298 0 298 298 0 8 0
anonpl 24 177311 0 160198 128 6 122 125 0 186 12
amapchunkpl 152 11616 0 10838 37 3 34 36 0 158 1
amappl16 200 3236 0 2775 32 2 30 32 0 8 1
amappl15 192 17 0 15 1 0 1 1 0 8 0
amappl14 184 143 0 130 2 0 2 2 0 8 0
amappl13 176 3 0 3 1 1 0 1 0 8 0
amappl12 168 421 0 419 1 0 1 1 0 8 0
amappl11 160 58 0 43 1 0 1 1 0 8 0
amappl10 152 33 0 21 1 0 1 1 0 8 0
amappl9 144 937 0 936 2 1 1 1 0 8 0
amappl8 136 153 0 108 2 0 2 2 0 8 0
amappl7 128 51 0 34 1 0 1 1 0 8 0
amappl6 120 273 0 257 2 1 1 2 0 8 0
amappl5 112 90 0 78 1 0 1 1 0 8 0
amappl4 104 514 0 485 2 1 1 2 0 8 0
amappl3 96 1258 0 1204 2 0 2 2 0 8 0
amappl2 88 976 0 903 3 1 2 3 0 8 0
amappl1 80 16685 0 15933 23 5 18 23 0 8 0
amappl 88 3612 0 3429 5 0 5 5 0 92 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 99 0 9 2 0 2 2 0 8 0
uaddrrnd 24 631 0 604 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 631 0 604 1 0 1 1 0 8 0
vmmpekpl 168 10776 0 10721 3 0 3 3 0 8 0
vmmpepl 168 65454 0 62958 129 3 126 129 0 357 2
vmsppl 368 630 0 604 4 1 3 4 0 8 0
rwobjpl 56 22209 0 18566 53 0 53 53 0 8 0
pdppl 4096 1269 0 1208 111 42 69 81 0 8 8
pvpl 32 401290 0 378706 268 16 252 267 0 265 58
pmappl 248 630 0 604 3 1 2 3 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 749 0 50 21 0 21 21 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
x86_ipi_db(ffffffff8292eff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
__mp_lock(ffffffff82aea350) at __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline]
__mp_lock(ffffffff82aea350) at __mp_lock+0x120 sys/kern/kern_lock.c:147
syscall(ffff800028250520) at syscall+0x5bd mi_syscall_return sys/sys/syscall_mi.h:129 [inline]
syscall(ffff800028250520) at syscall+0x5bd sys/arch/amd64/amd64/trap.c:620
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd3150, count: 9
ddb{0}> trace
x86_ipi_db(ffffffff8292eff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
__mp_lock(ffffffff82aea350) at __mp_lock+0x120 __mp_lock_spin sys/kern/kern_lock.c:117 [inline]
__mp_lock(ffffffff82aea350) at __mp_lock+0x120 sys/kern/kern_lock.c:147
syscall(ffff800028250520) at syscall+0x5bd mi_syscall_return sys/sys/syscall_mi.h:129 [inline]
syscall(ffff800028250520) at syscall+0x5bd sys/arch/amd64/amd64/trap.c:620
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7f7ffffd3150, count: -6
ddb{0}> machine ddbcpu 1
Stopped at db_enter+0x18: addq $0x8,%rsp
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825ab8ec) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff8261fb71,ffffffff825bb54f,2a3,ffffffff825a425e) at __assert+0x25 sys/kern/subr_prf.c:157
bpf_setif(ffff800000bab400,ffff80002e492d00) at bpf_setif+0x2d7 bpf_attachd sys/net/bpf.c:290 [inline]
bpf_setif(ffff800000bab400,ffff80002e492d00) at bpf_setif+0x2d7 sys/net/bpf.c:1125
bpfioctl(31700,8020426c,ffff80002e492d00,1,ffff800026415260) at bpfioctl+0x41d sys/net/bpf.c:880
VOP_IOCTL(fffffd8067bb3438,8020426c,ffff80002e492d00,1,fffffd807f7d7680,ffff800026415260) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd8077a9d870,8020426c,ffff80002e492d00,ffff800026415260) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
sys_ioctl(ffff800026415260,ffff80002e492e18,ffff80002e492e60) at sys_ioctl+0x4a2
syscall(ffff80002e492ee0) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff80002e492ee0) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2a1901bc70, count: 5
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437
panic(ffffffff825ab8ec) at panic+0x177 sys/kern/subr_prf.c:198
__assert(ffffffff8261fb71,ffffffff825bb54f,2a3,ffffffff825a425e) at __assert+0x25 sys/kern/subr_prf.c:157
bpf_setif(ffff800000bab400,ffff80002e492d00) at bpf_setif+0x2d7 bpf_attachd sys/net/bpf.c:290 [inline]
bpf_setif(ffff800000bab400,ffff80002e492d00) at bpf_setif+0x2d7 sys/net/bpf.c:1125
bpfioctl(31700,8020426c,ffff80002e492d00,1,ffff800026415260) at bpfioctl+0x41d sys/net/bpf.c:880
VOP_IOCTL(fffffd8067bb3438,8020426c,ffff80002e492d00,1,fffffd807f7d7680,ffff800026415260) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd8077a9d870,8020426c,ffff80002e492d00,ffff800026415260) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
sys_ioctl(ffff800026415260,ffff80002e492e18,ffff80002e492e60) at sys_ioctl+0x4a2
syscall(ffff80002e492ee0) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff80002e492ee0) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xb2a1901bc70, count: -10


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

syzbot

unread,
Feb 23, 2023, 7:32:53 AM2/23/23
to syzkaller-o...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages