uvm_fault: bpfioctl (2)

0 views
Skip to first unread message

syzbot

unread,
Sep 26, 2022, 5:53:39 PM9/26/22
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 96592628355e Fix a use after free in case mta_tls_init fai..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=110cce88880000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=fc736faf22c6c71b9a97

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/5ba0e61072ac/disk-96592628.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/51eaead94603/bsd-96592628.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6fc22476fc9e/kernel-96592628.xz

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

@ s��� uvm_fault(0xfffffd805cc74d20, 0x28, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at bpfioctl+0xd25: movq 0x28(%rax),%rdi
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*332243 69129 0 0 0x4000000 1K syz-executor.1
499533 24790 0 0x14000 0x200 0 reaper
bpfioctl(31700,20004269,ffff800021312980,a,ffff800021258550) at bpfioctl+0xd25 sys/net/bpf.c:825
VOP_IOCTL(fffffd8062a9db10,20004269,ffff800021312980,a,fffffd807f7d7270,ffff800021258550) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd806712eb48,20004269,ffff800021312980,ffff800021258550) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
sys_ioctl(ffff800021258550,ffff800021312a98,ffff800021312ae0) at sys_ioctl+0x4a2
syscall(ffff800021312b60) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff800021312b60) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8b6670db2a0, count: 9
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: uvm_fault(0xfffffd805cc74d20, 0x28, 0, 1) -> e
ddb{1}> trace
bpfioctl(31700,20004269,ffff800021312980,a,ffff800021258550) at bpfioctl+0xd25 sys/net/bpf.c:825
VOP_IOCTL(fffffd8062a9db10,20004269,ffff800021312980,a,fffffd807f7d7270,ffff800021258550) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd806712eb48,20004269,ffff800021312980,ffff800021258550) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
sys_ioctl(ffff800021258550,ffff800021312a98,ffff800021312ae0) at sys_ioctl+0x4a2
syscall(ffff800021312b60) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff800021312b60) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8b6670db2a0, count: -6
ddb{1}> show registers
rdi 0xffff80002a421000
rsi 0x24fb __ALIGN_SIZE+0x14fb
rbp 0xffff8000213127b0
rbx 0
rdx 0xffff80002a421000
rcx 0x24fa __ALIGN_SIZE+0x14fa
rax 0
r8 0x7f7fffffc000
r9 0x1
r10 0x74a117815e2ec8fa
r11 0x1830425f2b9120ac
r12 0
r13 0xffffffff8296dff0 cpu_info_full_primary+0x1ff0
r14 0xffff800000e0c400
r15 0
rip 0xffffffff81f81565 bpfioctl+0xd25
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800021312730
ss 0x10
bpfioctl+0xd25: movq 0x28(%rax),%rdi
ddb{1}> show proc
PROC (syz-executor.1) pid=332243 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=81, nice=20
forw=0xffffffffffffffff, list=0xffff800021258a90,0xffff800021258800
process=0xffff80002e47a9b0 user=0xffff80002130d000, vmspace=0xfffffd805cc74d20
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
49422 186074 63516 0 2 0 syz-executor.3
49422 277002 63516 0 2 0x4000000 syz-executor.3
49422 189845 63516 0 2 0x4000000 syz-executor.3
52647 44966 72703 0 2 0x480 syz-executor.6
52647 46073 72703 0 3 0x4000080 fsleep syz-executor.6
81861 379758 73709 0 3 0x80 nanoslp syz-executor.0
81861 177305 73709 0 2 0x4000000 syz-executor.0
81861 341333 73709 0 3 0x4000080 fsleep syz-executor.0
69129 127908 36633 0 3 0x80 nanoslp syz-executor.1
69129 365349 36633 0 3 0x4000080 fsleep syz-executor.1
*69129 332243 36633 0 7 0x4000000 syz-executor.1
36633 279307 81800 0 3 0x82 nanoslp syz-executor.1
72703 222913 81800 0 2 0x482 syz-executor.6
13749 270153 81800 0 3 0x82 piperd syz-executor.5
20588 44886 1 0 3 0x100083 ttyin getty
4120 520130 81800 0 3 0x82 piperd syz-executor.7
84884 3336 81800 0 2 0x482 syz-executor.2
69913 428425 81800 0 3 0x82 piperd syz-executor.4
63516 454665 81800 0 3 0x82 nanoslp syz-executor.3
73709 229476 81800 0 2 0x2 syz-executor.0
90245 336681 0 0 3 0x14200 acct acct
53862 423074 0 0 3 0x14200 bored sosplice
81800 231107 71104 0 3 0x82 wait syz-fuzzer
81800 255278 71104 0 3 0x4000082 thrsleep syz-fuzzer
81800 395820 71104 0 3 0x4000082 thrsleep syz-fuzzer
81800 281393 71104 0 3 0x4000082 thrsleep syz-fuzzer
81800 24964 71104 0 3 0x4000082 thrsleep syz-fuzzer
81800 39930 71104 0 3 0x4000082 kqread syz-fuzzer
81800 223891 71104 0 3 0x4000082 wait syz-fuzzer
81800 401350 71104 0 3 0x4000082 thrsleep syz-fuzzer
81800 150384 71104 0 3 0x4000082 wait syz-fuzzer
81800 336471 71104 0 3 0x4000082 thrsleep syz-fuzzer
81800 216947 71104 0 3 0x4000082 wait syz-fuzzer
81800 279351 71104 0 3 0x4000082 wait syz-fuzzer
81800 298837 71104 0 3 0x4000082 thrsleep syz-fuzzer
81800 246265 71104 0 3 0x4000082 wait syz-fuzzer
81800 324027 71104 0 3 0x4000082 wait syz-fuzzer
81800 1682 71104 0 3 0x4000082 wait syz-fuzzer
81800 161038 71104 0 3 0x4000082 thrsleep syz-fuzzer
71104 487973 14573 0 3 0x10008a sigsusp ksh
14573 172637 23176 0 3 0x9a kqread sshd
23176 482465 1 0 3 0x88 kqread sshd
73685 356367 1391 74 3 0x1100092 bpf pflogd
1391 484838 1 0 3 0x80 netio pflogd
42191 129436 98422 73 3 0x1100090 kqread syslogd
98422 110558 1 0 3 0x100082 netio syslogd
99168 153123 1 0 3 0x100080 kqread resolvd
48739 152620 65667 77 3 0x100092 kqread dhcpleased
15537 26217 65667 77 3 0x100092 kqread dhcpleased
65667 157724 1 0 3 0x80 kqread dhcpleased
12627 451487 0 0 3 0x14200 bored smr
6020 375114 0 0 2 0x14200 zerothread
50170 487075 0 0 3 0x14200 aiodoned aiodoned
96247 335613 0 0 3 0x14200 syncer update
40225 51946 0 0 3 0x14200 cleaner cleaner
24790 499533 0 0 7 0x14200 reaper
6240 145176 0 0 3 0x14200 pgdaemon pagedaemon
26441 377267 0 0 3 0x14200 bored viomb
14145 348518 0 0 3 0x40014200 acpi0 acpi0
46244 383836 0 0 3 0x40014200 idle1
67187 106720 0 0 3 0x14200 bored softnet
19696 455866 0 0 3 0x14200 bored softnet
46176 444962 0 0 2 0x14200 softnet
37512 302750 0 0 3 0x14200 bored softnet
58262 136824 0 0 3 0x14200 bored systqmp
26306 457952 0 0 3 0x14200 bored systq
17275 13419 0 0 3 0x40014200 bored softclock
52611 225799 0 0 3 0x40014200 idle0
1 255642 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10255 6589K 14715K 78643K 69734 0
pcb 15 18K 21K 78643K 7263 0
rtable 224 26K 28K 78643K 7908 0
ifaddr 322 81K 81K 78643K 3001 0
sysctl 2 0K 0K 78643K 14 0
counters 54 35K 36K 78643K 1048 0
ioctlops 0 0K 4K 78643K 8826 0
iov 0 0K 32K 78643K 4603 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1486 93K 93K 78643K 22273 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 9K 78643K 304 0
VM map 2 1K 1K 78643K 2 0
sem 14 16K 32K 78643K 64 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 14 49K 93K 78643K 32553 0
sigio 0 0K 0K 78643K 606 0
proc 77 91K 127K 78643K 5974 0
subproc 104 6K 6K 78643K 2161 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 22442 0
in_multi 68 4K 6K 78643K 2763 0
ether_multi 1 0K 0K 78643K 217 0
mrt 1 0K 0K 78643K 509 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 301 1341K 1341K 78643K 301 0
exec 0 0K 2K 78643K 7448 0
pfkey data 0 0K 0K 78643K 35 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 483 549K 565K 78643K 192988 0
UVM aobj 55 6K 6K 78643K 58 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 832 0
NDP 17 0K 1K 78643K 894 0
temp 149 4735K 70271K 78643K 443287 0
kqueue 12 18K 28K 78643K 3306 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 2548 0 2545 25 24 1 3 0 8 0
rtentry 112 2596 0 2526 4 1 3 4 0 8 0
unpcb 144 34965 0 34950 241 236 5 11 0 8 4
syncache 296 103 0 103 27 27 0 1 0 8 0
tcpqe 32 240 0 240 12 12 0 1 0 8 0
tcpcb 768 29975 0 29962 646 637 9 23 0 8 7
arp 120 369 0 354 1 0 1 1 0 8 0
inpcb 368 50868 0 50855 456 449 7 29 0 8 5
ip6q 72 4 0 4 1 1 0 1 0 8 0
ip6af 40 28 0 28 1 1 0 1 0 8 0
nd6 48 580 0 565 1 0 1 1 0 8 0
pkpcb 40 107 0 107 12 12 0 1 0 8 0
kcovpl 48 166 0 158 1 0 1 1 0 8 0
ppxss 1256 275 0 275 36 35 1 1 0 8 1
pfstscr 40 4 0 4 1 1 0 1 0 8 0
pffrag 232 164 0 163 9 8 1 1 0 482 0
pffrnode 88 164 0 163 9 8 1 1 0 8 0
pffrent 40 532 0 531 9 8 1 1 0 8 0
pfosfp 40 1428 0 1428 5 5 0 5 0 8 0
pfosfpen 112 1428 0 1428 21 21 0 21 0 8 0
pfrktable 1344 220 0 202 3 1 2 2 0 8 0
pfanchor 1280 562 2 50 44 1 43 43 0 8 0
pfpktdelay 88 7 0 7 7 7 0 1 0 8 0
pftag 88 4 0 0 1 0 1 1 0 8 0
pfqueue 264 6 0 6 2 2 0 1 0 8 0
pfstitem 24 68 0 65 1 0 1 1 0 8 0
pfstkey 120 76 0 73 1 0 1 1 0 8 0
pfstate 336 72 0 69 3 2 1 3 0 8 0
pfrule 1360 1193 0 801 34 1 33 33 0 8 0
rttmr 136 219 0 219 15 15 0 1 0 8 0
art_heap8 4096 32 0 31 29 28 1 3 0 8 0
art_heap4 256 11809 0 11511 80 57 23 31 0 8 0
art_table 32 11841 0 11542 7 3 4 4 0 8 0
art_node 16 2592 0 2531 1 0 1 1 0 8 0
sysvmsgpl 40 37 0 11 1 0 1 1 0 8 0
semupl 112 6 0 6 1 1 0 1 0 8 0
semapl 112 28 0 16 1 0 1 1 0 8 0
shmpl 112 55 0 5 3 1 2 2 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 42757 0 41199 98 0 98 98 0 8 0
ffsino 272 42757 0 41199 105 0 105 105 0 8 0
nchpl 144 86037 0 85523 63 39 24 63 0 8 0
rtmask 32 14 0 14 6 6 0 1 0 8 0
uvmvnodes 80 19952 0 0 408 0 408 408 0 8 0
vnodes 216 19952 0 0 1109 0 1109 1109 0 8 0
namei 1024 295311 0 295311 10 9 1 2 0 8 1
percpumem 16 536 0 497 1 0 1 1 0 8 0
vcpupl 2048 103 0 0 13 0 13 13 0 8 0
vmpool 568 108 0 5 8 0 8 8 0 8 0
pfiaddrpl 120 449 0 10 14 0 14 14 0 8 0
kstatmem 264 972 0 938 3 0 3 3 0 8 0
scsiplug 72 8 0 8 3 3 0 1 0 8 0
scxspl 216 250331 0 250331 61 60 1 8 0 8 1
plimitpl 152 3856 0 3840 1 0 1 1 0 8 0
sigapl 424 32583 0 32536 10 3 7 8 0 8 0
futexpl 64 314347 0 314344 5 4 1 1 0 8 0
knotepl 120 1522 0 0 18 0 18 18 0 8 0
kqueuepl 216 5975 0 5967 77 75 2 8 0 8 1
pipepl 320 5614 0 5586 163 155 8 13 0 8 5
fdescpl 496 32540 0 32513 5 0 5 5 0 8 0
filepl 152 229772 0 229530 309 291 18 33 0 8 8
lockfpl 104 8088 0 8086 11 10 1 2 0 8 0
lockfspl 48 2491 0 2489 1 0 1 1 0 8 0
sessionpl 144 186 0 169 1 0 1 1 0 8 0
pgrppl 48 543 0 526 1 0 1 1 0 8 0
ucredpl 104 23106 0 23094 1 0 1 1 0 8 0
zombiepl 144 32537 0 32536 4 3 1 1 0 8 0
processpl 1064 32583 0 32536 5 0 5 5 0 8 0
procpl 672 93187 0 93117 29 20 9 10 0 8 0
srpgc 96 260 0 260 45 44 1 1 0 8 1
sosppl 168 183 0 183 31 30 1 1 0 8 1
sockpl 488 88519 0 88490 1480 1468 12 54 0 8 7
mcl64k 65536 17 0 0 3 0 3 3 0 8 0
mcl16k 16384 41 0 0 3 0 3 3 0 8 0
mcl12k 12288 25 0 0 3 1 2 2 0 8 0
mcl9k 9216 29 0 0 2 0 2 2 0 8 0
mcl8k 8192 73 0 0 6 3 3 6 0 8 0
mcl4k 4096 65 0 0 3 0 3 3 0 8 0
mcl2k2 2112 17 0 0 2 0 2 2 0 8 0
mcl2k 2048 614 0 0 39 15 24 39 0 8 0
mtagpl 96 1371 0 0 27 1 26 27 0 8 0
mbufpl 256 2211 0 0 95 0 95 95 0 8 0
bufpl 288 55224 0 46583 658 5 653 658 0 8 0
anonpl 24 6389828 0 6371232 289 160 129 141 0 186 0
amapchunkpl 152 557113 0 556361 181 148 33 44 0 158 1
amappl16 200 89244 0 88514 260 214 46 50 0 8 0
amappl15 192 6718 0 6718 2 1 1 1 0 8 1
amappl14 184 3850 0 3842 1 0 1 1 0 8 0
amappl13 176 4958 0 4953 1 0 1 1 0 8 0
amappl12 168 4625 0 4616 1 0 1 1 0 8 0
amappl11 160 3795 0 3774 2 0 2 2 0 8 0
amappl10 152 3366 0 3358 1 0 1 1 0 8 0
amappl9 144 4900 0 4888 1 0 1 1 0 8 0
amappl8 136 7617 0 7453 8 2 6 6 0 8 0
amappl7 128 4724 0 4701 1 0 1 1 0 8 0
amappl6 120 5534 0 5509 2 1 1 2 0 8 0
amappl5 112 27252 0 27236 1 0 1 1 0 8 0
amappl4 104 13297 0 13253 2 0 2 2 0 8 0
amappl3 96 102322 0 102261 2 0 2 2 0 8 0
amappl2 88 37549 0 37474 3 1 2 3 0 8 0
amappl1 80 773484 0 772704 23 5 18 23 0 8 0
amappl 88 189396 0 189159 7 1 6 6 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 57 0 3 1 0 1 1 0 8 0
uaddrrnd 24 32650 0 32520 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 32650 0 32520 1 0 1 1 0 8 0
vmmpekpl 168 247405 0 247317 5 0 5 5 0 8 0
vmmpepl 168 3225445 0 3222161 363 203 160 163 0 357 0
vmsppl 368 32649 0 32519 14 1 13 13 0 8 0
rwobjpl 56 796573 0 774469 330 16 314 314 0 8 0
pdppl 4096 65307 0 65141 1463 1291 172 172 0 8 6
pvpl 32 12548120 0 12525860 701 484 217 268 0 265 0
pmappl 248 32649 0 32519 9 0 9 9 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 3154 0 1898 37 0 37 37 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
x86_ipi_db(ffffffff8296dff0) 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
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f kd_curproc sys/dev/kcov.c:578 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f sys/dev/kcov.c:148
uvm_pmr_size_RBT_COMPARE(fffffd8006b334c0,fffffd8006e8a740) at uvm_pmr_size_RBT_COMPARE+0x27 uvm_pmr_size_cmp sys/uvm/uvm_pmemrange.c:232 [inline]
uvm_pmr_size_RBT_COMPARE(fffffd8006b334c0,fffffd8006e8a740) at uvm_pmr_size_RBT_COMPARE+0x27 sys/uvm/uvm_pmemrange.c:98
_rb_insert(ffffffff82869750,fffffd8003734008,fffffd8006b334c0) at _rb_insert+0x66 sys/kern/subr_tree.c:414
uvm_pmr_remove_1strange(ffff800021239c48,0,0,0) at uvm_pmr_remove_1strange+0x6b2
uvm_pmr_freepageq(ffff800021239c48) at uvm_pmr_freepageq+0x126 sys/uvm/uvm_pmemrange.c:1345
amap_wipeout(fffffd8067ffdd08) at amap_wipeout+0x1ff sys/uvm/uvm_amap.c:523
uvm_unmap_detach(ffff800021239d10,1) at uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1351
uvm_map_teardown(fffffd806a9285d0) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2541
uvmspace_free(fffffd806a9285d0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3436
reaper(ffff8000212337a8) at reaper+0x19a sys/kern/kern_exit.c:448
end trace frame: 0x0, count: 2
ddb{0}> trace
x86_ipi_db(ffffffff8296dff0) 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
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f kd_curproc sys/dev/kcov.c:578 [inline]
__sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x2f sys/dev/kcov.c:148
uvm_pmr_size_RBT_COMPARE(fffffd8006b334c0,fffffd8006e8a740) at uvm_pmr_size_RBT_COMPARE+0x27 uvm_pmr_size_cmp sys/uvm/uvm_pmemrange.c:232 [inline]
uvm_pmr_size_RBT_COMPARE(fffffd8006b334c0,fffffd8006e8a740) at uvm_pmr_size_RBT_COMPARE+0x27 sys/uvm/uvm_pmemrange.c:98
_rb_insert(ffffffff82869750,fffffd8003734008,fffffd8006b334c0) at _rb_insert+0x66 sys/kern/subr_tree.c:414
uvm_pmr_remove_1strange(ffff800021239c48,0,0,0) at uvm_pmr_remove_1strange+0x6b2
uvm_pmr_freepageq(ffff800021239c48) at uvm_pmr_freepageq+0x126 sys/uvm/uvm_pmemrange.c:1345
amap_wipeout(fffffd8067ffdd08) at amap_wipeout+0x1ff sys/uvm/uvm_amap.c:523
uvm_unmap_detach(ffff800021239d10,1) at uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1351
uvm_map_teardown(fffffd806a9285d0) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2541
uvmspace_free(fffffd806a9285d0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3436
reaper(ffff8000212337a8) at reaper+0x19a sys/kern/kern_exit.c:448
end trace frame: 0x0, count: -13
ddb{0}> machine ddbcpu 1
Stopped at bpfioctl+0xd25: movq 0x28(%rax),%rdi
bpfioctl(31700,20004269,ffff800021312980,a,ffff800021258550) at bpfioctl+0xd25 sys/net/bpf.c:825
VOP_IOCTL(fffffd8062a9db10,20004269,ffff800021312980,a,fffffd807f7d7270,ffff800021258550) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd806712eb48,20004269,ffff800021312980,ffff800021258550) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
sys_ioctl(ffff800021258550,ffff800021312a98,ffff800021312ae0) at sys_ioctl+0x4a2
syscall(ffff800021312b60) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff800021312b60) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8b6670db2a0, count: 9
ddb{1}> trace
bpfioctl(31700,20004269,ffff800021312980,a,ffff800021258550) at bpfioctl+0xd25 sys/net/bpf.c:825
VOP_IOCTL(fffffd8062a9db10,20004269,ffff800021312980,a,fffffd807f7d7270,ffff800021258550) at VOP_IOCTL+0x96 sys/kern/vfs_vops.c:264
vn_ioctl(fffffd806712eb48,20004269,ffff800021312980,ffff800021258550) at vn_ioctl+0xbc sys/kern/vfs_vnops.c:525
sys_ioctl(ffff800021258550,ffff800021312a98,ffff800021312ae0) at sys_ioctl+0x4a2
syscall(ffff800021312b60) at syscall+0x4c3 mi_syscall sys/sys/syscall_mi.h:101 [inline]
syscall(ffff800021312b60) at syscall+0x4c3 sys/arch/amd64/amd64/trap.c:585
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8b6670db2a0, count: -6


---
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,
Dec 26, 2022, 11:23:28 PM12/26/22
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