syzbot


assert "obj == NULL || UVM_OBJ_IS_DUMMY(obj) || rw_write_held(obj->vmobjlock)" failed in uvm_page.c

Status: upstream: reported on 2024/05/09 22:53
Reported-by: syzbot+25d9e4f34c5621c5e297@syzkaller.appspotmail.com
First crash: 35d, last: 35d

Sample crash report:
login: panic: acquiring blockable sleep lock with spinlock or critical section held (kernel_lock) &kernel_lock
Starting stack trace...
panic(ffffffff828e5809) at panic+0x16f sys/kern/subr_prf.c:229
witness_checkorder(ffffffff82d732c0,9,0) at witness_checkorder+0xd03 witness_debugger sys/kern/subr_witness.c:2524 [inline]
witness_checkorder(ffffffff82d732c0,9,0) at witness_checkorder+0xd03 sys/kern/subr_witness.c:786
__mp_lock(ffffffff82d730b8) at __mp_lock+0xa2 read_rflags machine/cpufunc.h:195 [inline]
__mp_lock(ffffffff82d730b8) at __mp_lock+0xa2 intr_disable machine/cpufunc.h:216 [inline]
__mp_lock(ffffffff82d730b8) at __mp_lock+0xa2 sys/kern/kern_lock.c:142
intr_handler(ffff800037374890,ffff80000006bc00) at intr_handler+0x62 sys/arch/amd64/amd64/intr.c:539
Xintr_ioapic_edge23_untramp() at Xintr_iopanic: kernel diagnostic assertion "obj == NULL || UVM_OBJ_IS_DUMMY(obj) || rw_write_held(obj->vmobjlock)" failed: file "/syzkaller/managers/multicore/kernel/sys/uvm/uvm_page.c", line 696
Parallel traceback, suppressed...

dump to dev 4,1 not possible
rebooting...
SeaBIOS (version 1.8.2-google)
Total RAM Size = 0x0000000080000000 = 2048 MiB
CPUs found: 2     Max CPUs supported: 2
SeaBIOS (version 1.8.2-google)
Machine UUID f8e08a03-81bc-3227-53c0-939594373760
found virtio-scsi at 0:3
virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=4194304 = 2048 MiB
drive 0x000f27f0: PCHS=0/0/0 translation=lba LCHS=520/128/63 s=4194304
Sending Seabios boot VM event.
Booting from Hard Disk 0...
>> OpenBSD/amd64 BOOT 3.65
boot> set $lines = 0
set: syntax error
boot> set $maxwidth = 0
set: syntax error
boot> show panic
boot: illegal argument panic
boot> trace
boot> show registers
boot> show proc
boot> ps
boot> show all locks
boot> show malloc
boot> show all pools
boot> machine ddbcpu 0
machine: syntax error
boot> trace
boot> machine ddbcpu 1
machine: syntax error
boot> trace

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/09 22:52 openbsd a7b9eedcb4c1 de979bc2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore assert "obj == NULL || UVM_OBJ_IS_DUMMY(obj) || rw_write_held(obj->vmobjlock)" failed in uvm_page.c
* Struck through repros no longer work on HEAD.