Hello,
syzbot found the following issue on:
HEAD commit: 82821a618568 Fix two aliases in libcrypto spotted by the n..
git tree: openbsd
console output:
https://syzkaller.appspot.com/x/log.txt?x=1513fe21a80000
kernel config:
https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link:
https://syzkaller.appspot.com/bug?extid=9d4584c03d9ca7fe9468
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/73b9dbd7bd3d/disk-82821a61.raw.xz
bsd.gdb:
https://storage.googleapis.com/syzbot-assets/d63776312d0e/bsd-82821a61.gdb.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/2cde8e7f0802/kernel-82821a61.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+9d4584...@syzkaller.appspotmail.com
panic: thread 373010 not in SRUN: 6
Starting stack trace...
panic(ffffffff82789468) at panic+0x16f sys/kern/subr_prf.c:229
sched_chooseproc() at sched_chooseproc+0x34e sys/kern/kern_sched.c:310
mi_switch() at mi_switch+0x24e sys/kern/sched_bsd.c:360
sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411
rwsleep(ffff80002128b5f0,ffffffff82bdac00,120,ffffffff8278e904,0) at rwsleep+0xab sys/kern/kern_synch.c:300
futex_wait(88a38452430,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:259
sys_futex(ffff80002128b5f0,ffff8000212a7c20,ffff8000212a7c70) at sys_futex+0xfc sys/kern/sys_futex.c:110
syscall(ffff8000212a7cf0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff8000212a7cf0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x889bfbe9a40, count: 248
End of stack trace.
syncing disks...panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63
Starting stack trace...
panic(ffffffff82799603) at panic+0x16f sys/kern/subr_prf.c:229
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155
uvm_pagermapin(ffff8000212a75f0,10,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278
uvn_io(fffffd806b886ec8,ffff8000212a75f0,10,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204
uvn_put(fffffd806b886ec8,ffff8000212a75f0,10,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926
uvm_pager_put(fffffd806b886ec8,fffffd80075fbce0,ffff8000212a7688,ffff8000212a76c8,31,0,5c54391cc018877d) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545
uvn_flush(fffffd806b886ec8,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725
uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540
sys_sync(ffff80002128b5f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535
vfs_syncwait(ffff80002128b5f0,1) at vfs_syncwait+0x3a
vfs_shutdown(ffff80002128b5f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791
boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:899
reboot(100) at reboot+0x81
panic(ffffffff82789468) at panic+0x18f sys/kern/subr_prf.c:231
sched_chooseproc() at sched_chooseproc+0x34e sys/kern/kern_sched.c:310
mi_switch() at mi_switch+0x24e sys/kern/sched_bsd.c:360
sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411
rwsleep(ffff80002128b5f0,ffffffff82bdac00,120,ffffffff8278e904,0) at rwsleep+0xab sys/kern/kern_synch.c:300
futex_wait(88a38452430,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:259
sys_futex(ffff80002128b5f0,ffff8000212a7c20,ffff8000212a7c70) at sys_futex+0xfc sys/kern/sys_futex.c:110
syscall(ffff8000212a7cf0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff8000212a7cf0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x889bfbe9a40, count: 233
End of stack trace.
dump to dev 4,1 not possible
panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63
Starting stack trace...
panic(ffffffff82799603) at panic+0x16f sys/kern/subr_prf.c:229
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155
uvm_pagermapin(ffff8000212a75f0,10,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278
uvn_io(fffffd806b886ec8,ffff8000212a75f0,10,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204
uvn_put(fffffd806b886ec8,ffff8000212a75f0,10,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926
uvm_pager_put(fffffd806b886ec8,fffffd80075fbce0,ffff8000212a7688,ffff8000212a76c8,31,0,5c54391cc018877d) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545
uvn_flush(fffffd806b886ec8,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725
uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540
sys_sync(ffff80002128b5f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535
vfs_syncwait(ffff80002128b5f0,1) at vfs_syncwait+0x3a
vfs_shutdown(ffff80002128b5f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791
boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:899
reboot(100) at reboot+0x81
panic(ffffffff82789468) at panic+0x18f sys/kern/subr_prf.c:231
sched_chooseproc() at sched_chooseproc+0x34e sys/kern/kern_sched.c:310
mi_switch() at mi_switch+0x24e sys/kern/sched_bsd.c:360
sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411
rwsleep(ffff80002128b5f0,ffffffff82bdac00,120,ffffffff8278e904,0) at rwsleep+0xab sys/kern/kern_synch.c:300
futex_wait(88a38452430,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:259
sys_futex(ffff80002128b5f0,ffff8000212a7c20,ffff8000212a7c70) at sys_futex+0xfc sys/kern/sys_futex.c:110
syscall(ffff8000212a7cf0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff8000212a7cf0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x889bfbe9a40, count: 218
End of stack trace.
panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63
Starting stack trace...
panic(ffffffff82799603) at panic+0x16f sys/kern/subr_prf.c:229
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155
uvm_pagermapin(ffff8000212a75f0,10,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278
uvn_io(fffffd806b886ec8,ffff8000212a75f0,10,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204
uvn_put(fffffd806b886ec8,ffff8000212a75f0,10,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926
uvm_pager_put(fffffd806b886ec8,fffffd80075fbce0,ffff8000212a7688,ffff8000212a76c8,31,0,5c54391cc018877d) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545
uvn_flush(fffffd806b886ec8,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725
uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540
sys_sync(ffff80002128b5f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535
vfs_syncwait(ffff80002128b5f0,1) at vfs_syncwait+0x3a
vfs_shutdown(ffff80002128b5f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791
boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:899
reboot(100) at reboot+0x81
panic(ffffffff82789468) at panic+0x18f sys/kern/subr_prf.c:231
sched_chooseproc() at sched_chooseproc+0x34e sys/kern/kern_sched.c:310
mi_switch() at mi_switch+0x24e sys/kern/sched_bsd.c:360
sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411
rwsleep(ffff80002128b5f0,ffffffff82bdac00,120,ffffffff8278e904,0) at rwsleep+0xab sys/kern/kern_synch.c:300
futex_wait(88a38452430,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:259
sys_futex(ffff80002128b5f0,ffff8000212a7c20,ffff8000212a7c70) at sys_futex+0xfc sys/kern/sys_futex.c:110
syscall(ffff8000212a7cf0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff8000212a7cf0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x889bfbe9a40, count: 203
End of stack trace.
panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63
Starting stack trace...
panic(ffffffff82799603) at panic+0x16f sys/kern/subr_prf.c:229
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155
uvm_pagermapin(ffff8000212a75f0,10,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278
uvn_io(fffffd806b886ec8,ffff8000212a75f0,10,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204
uvn_put(fffffd806b886ec8,ffff8000212a75f0,10,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926
uvm_pager_put(fffffd806b886ec8,fffffd80075fbce0,ffff8000212a7688,ffff8000212a76c8,31,0,5c54391cc018877d) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545
uvn_flush(fffffd806b886ec8,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725
uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540
sys_sync(ffff80002128b5f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535
vfs_syncwait(ffff80002128b5f0,1) at vfs_syncwait+0x3a
vfs_shutdown(ffff80002128b5f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791
boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:899
reboot(100) at reboot+0x81
panic(ffffffff82789468) at panic+0x18f sys/kern/subr_prf.c:231
sched_chooseproc() at sched_chooseproc+0x34e sys/kern/kern_sched.c:310
mi_switch() at mi_switch+0x24e sys/kern/sched_bsd.c:360
sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411
rwsleep(ffff80002128b5f0,ffffffff82bdac00,120,ffffffff8278e904,0) at rwsleep+0xab sys/kern/kern_synch.c:300
futex_wait(88a38452430,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:259
sys_futex(ffff80002128b5f0,ffff8000212a7c20,ffff8000212a7c70) at sys_futex+0xfc sys/kern/sys_futex.c:110
syscall(ffff8000212a7cf0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff8000212a7cf0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x889bfbe9a40, count: 188
End of stack trace.
panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63
Starting stack trace...
panic(ffffffff82799603) at panic+0x16f sys/kern/subr_prf.c:229
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155
uvm_pagermapin(ffff8000212a75f0,10,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278
uvn_io(fffffd806b886ec8,ffff8000212a75f0,10,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204
uvn_put(fffffd806b886ec8,ffff8000212a75f0,10,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926
uvm_pager_put(fffffd806b886ec8,fffffd80075fbce0,ffff8000212a7688,ffff8000212a76c8,31,0,5c54391cc018877d) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545
uvn_flush(fffffd806b886ec8,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725
uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540
sys_sync(ffff80002128b5f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535
vfs_syncwait(ffff80002128b5f0,1) at vfs_syncwait+0x3a
vfs_shutdown(ffff80002128b5f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791
boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:899
reboot(100) at reboot+0x81
panic(ffffffff82789468) at panic+0x18f sys/kern/subr_prf.c:231
sched_chooseproc() at sched_chooseproc+0x34e sys/kern/kern_sched.c:310
mi_switch() at mi_switch+0x24e sys/kern/sched_bsd.c:360
sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411
rwsleep(ffff80002128b5f0,ffffffff82bdac00,120,ffffffff8278e904,0) at rwsleep+0xab sys/kern/kern_synch.c:300
futex_wait(88a38452430,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:259
sys_futex(ffff80002128b5f0,ffff8000212a7c20,ffff8000212a7c70) at sys_futex+0xfc sys/kern/sys_futex.c:110
syscall(ffff8000212a7cf0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff8000212a7cf0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x889bfbe9a40, count: 173
End of stack trace.
panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63
Starting stack trace...
panic(ffffffff82799603) at panic+0x16f sys/kern/subr_prf.c:229
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155
uvm_pagermapin(ffff8000212a75f0,10,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278
uvn_io(fffffd806b886ec8,ffff8000212a75f0,10,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204
uvn_put(fffffd806b886ec8,ffff8000212a75f0,10,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926
uvm_pager_put(fffffd806b886ec8,fffffd80075fbce0,ffff8000212a7688,ffff8000212a76c8,31,0,5c54391cc018877d) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545
uvn_flush(fffffd806b886ec8,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725
uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540
sys_sync(ffff80002128b5f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535
vfs_syncwait(ffff80002128b5f0,1) at vfs_syncwait+0x3a
vfs_shutdown(ffff80002128b5f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791
boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:899
reboot(100) at reboot+0x81
panic(ffffffff82789468) at panic+0x18f sys/kern/subr_prf.c:231
sched_chooseproc() at sched_chooseproc+0x34e sys/kern/kern_sched.c:310
mi_switch() at mi_switch+0x24e sys/kern/sched_bsd.c:360
sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411
rwsleep(ffff80002128b5f0,ffffffff82bdac00,120,ffffffff8278e904,0) at rwsleep+0xab sys/kern/kern_synch.c:300
futex_wait(88a38452430,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:259
sys_futex(ffff80002128b5f0,ffff8000212a7c20,ffff8000212a7c70) at sys_futex+0xfc sys/kern/sys_futex.c:110
syscall(ffff8000212a7cf0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff8000212a7cf0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x889bfbe9a40, count: 158
End of stack trace.
panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63
Starting stack trace...
panic(ffffffff82799603) at panic+0x16f sys/kern/subr_prf.c:229
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
uvm_pseg_get(0) at uvm_pseg_get+0x30 sys/uvm/uvm_pager.c:155
uvm_pagermapin(ffff8000212a75f0,10,0) at uvm_pagermapin+0xb1 sys/uvm/uvm_pager.c:278
uvn_io(fffffd806b886ec8,ffff8000212a75f0,10,31,1) at uvn_io+0x15c sys/uvm/uvm_vnode.c:1204
uvn_put(fffffd806b886ec8,ffff8000212a75f0,10,31) at uvn_put+0xd4 sys/uvm/uvm_vnode.c:926
uvm_pager_put(fffffd806b886ec8,fffffd80075fbce0,ffff8000212a7688,ffff8000212a76c8,31,0,5c54391cc018877d) at uvm_pager_put+0x137 sys/uvm/uvm_pager.c:545
uvn_flush(fffffd806b886ec8,0,0,31) at uvn_flush+0x532 sys/uvm/uvm_vnode.c:725
uvm_vnp_sync(ffff8000006d8c00) at uvm_vnp_sync+0x16f sys/uvm/uvm_vnode.c:1540
sys_sync(ffff80002128b5f0,0,0) at sys_sync+0x9b sys/kern/vfs_syscalls.c:535
vfs_syncwait(ffff80002128b5f0,1) at vfs_syncwait+0x3a
vfs_shutdown(ffff80002128b5f0) at vfs_shutdown+0x61 sys/kern/vfs_subr.c:1791
boot(100) at boot+0xc5 sys/arch/amd64/amd64/machdep.c:899
reboot(100) at reboot+0x81
panic(ffffffff82789468) at panic+0x18f sys/kern/subr_prf.c:231
sched_chooseproc() at sched_chooseproc+0x34e sys/kern/kern_sched.c:310
mi_switch() at mi_switch+0x24e sys/kern/sched_bsd.c:360
sleep_finish(0,1) at sleep_finish+0x184 sys/kern/kern_synch.c:411
rwsleep(ffff80002128b5f0,ffffffff82bdac00,120,ffffffff8278e904,0) at rwsleep+0xab sys/kern/kern_synch.c:300
futex_wait(88a38452430,2,0,2) at futex_wait+0x13d sys/kern/sys_futex.c:259
sys_futex(ffff80002128b5f0,ffff8000212a7c20,ffff8000212a7c70) at sys_futex+0xfc sys/kern/sys_futex.c:110
syscall(ffff8000212a7cf0) at syscall+0x606 mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff8000212a7cf0) at syscall+0x606 sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x889bfbe9a40, count: 143
End of stack trace.
panic: kernel diagnostic assertion "__mp_lock_held(&sched_lock, curcpu()) == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/kern_lock.c", line 63
Starting stack trace...
panic(ffffffff82799603) at panic+0x16f sys/kern/subr_prf.c:229
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,ffffffff8277efe9,3f,ffffffff8284dbc1) at __assert+0x29 sys/kern/subr_prf.c:157
_kernel_lock() at _kernel_lock+0xb6 sys/kern/kern_lock.c:63
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 scsi_iopool_get sys/scsi/scsi_base.c:257 [inline]
scsi_xs_get(ffff80000002c500,3) at scsi_xs_get+0x131 sys/scsi/scsi_base.c:653
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sd_flush sys/scsi/sd.c:1868 [inline]
sdactivate(ffff80000019f000,6) at sdactivate+0x1e6 sys/scsi/sd.c:271
config_suspend(ffff80000019f000,6) at config_suspend+0x50 sys/kern/subr_autoconf.c:831
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_link sys/scsi/scsiconf.c:410 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b scsi_activate_bus sys/scsi/scsiconf.c:360 [inline]
scsibusactivate(ffff800000049b80,6) at scsibusactivate+0x7b sys/scsi/scsiconf.c:259
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff8000000a3000,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_activate_children(ffff800000024800,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
config_activate_children(ffff80000002ce00,6) at config_activate_children+0x13a sys/kern/subr_autoconf.c:893
pciactivate(ffff80000002ce00,6) at pciactivate+0x79 sys/dev/pci/pci.c:230
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 config_suspend sys/kern/subr_autoconf.c:831 [inline]
config_activate_children(ffff80000002f080,6) at config_activate_children+0x128 sys/kern/subr_autoconf.c:893
config_suspend_all(6) at config_suspend_all+0x312 sys/kern/subr_autoconf.c:855
boot(104) at boot+0x177 sys/arch/amd64/amd64/machdep.c:918
reboot(104) at reboot+0x81
panic(ffffffff82799603) at panic+0x18f sys/kern/subr_prf.c:231
__assert(ffffffff82815677,f
---
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 bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to change bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup