syzbot


kqueue: knote !ACTIVE (3)

Status: fixed on 2024/02/06 04:59
Reported-by: syzbot+d19060a65721eb432a72@syzkaller.appspotmail.com
Fix commit: d618cc99d763 Invert broken check of panic string in if_linkstate().
First crash: 291d, last: 291d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
openbsd kqueue: knote !ACTIVE (2) 2 421d 434d 0/3 auto-obsoleted due to no activity on 2023/12/26 05:21
openbsd kqueue: knote !ACTIVE 2 1758d 1762d 0/3 auto-closed as invalid on 2020/04/28 10:51

Sample crash report:
fpanic: trap type 6, code=0, pc=ffffffff822376a6
Starting stack trace...
panic(ffffffff8283a632) at panic+0x159 sys/kern/subr_prf.c:229
kerntrap(ffff800034399140) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
schedclock(ffff80002a6e0ac0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82c96bc0,ffff800034399340,0) at statclock+0x1dd sys/kern/kern_clock.c:341
clockintr_dispatch(ffff800034399340) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:219
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3372 [inline]
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b sys/arch/amd64/amd64/pmap.c:519
buf_map(fffffd806eba27e8) at buf_map+0x22d sys/kern/vfs_biomem.c:120
buf_get(0,0,df131b1) at buf_get+0x758 sys/kern/vfs_bio.c:1175
geteblk(df131b1) at geteblk+0x3c sys/kern/vfs_bio.c:1058
readdisklabel(2902,ffffffff826a4120,ffff800000e8a800,0) at readdisklabel+0x149 sys/arch/amd64/amd64/disksubr.c:96
vndopen(2902,8001,2000,ffff80002a6e0ac0) at vndopen+0x17e sys/dev/vnd.c:204
spec_open(ffff800034399808) at spec_open+0x3e3 sys/kern/spec_vnops.c:150
VOP_OPEN(fffffd806e562b58,8001,fffffd807f7d7888,ffff80002a6e0ac0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138
vn_open(ffff800034399a58,8001,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177
doopenat(ffff80002a6e0ac0,ffffff9c,20000040,8000,0,ffff800034399c00) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126
syscall(ffff800034399cb0) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf8168e4ac30, count: 237
End of stack trace.
fatal page fault panic: wakeup: p_stat is 0
Starting stack trace...
panic(ffffffff8291609d) at panic+0x159 sys/kern/subr_prf.c:229
wakeup(ffff800000686a10) at wakeup+0xec sys/kern/kern_synch.c:545
ttyinput(a,ffff800000686a00) at ttyinput+0x154e ttwakeup sys/kern/tty.c:2087 [inline]
ttyinput(a,ffff800000686a00) at ttyinput+0x154e sys/kern/tty.c:556
comsoft(ffff80000007e000) at comsoft+0x2de sys/dev/ic/com.c:1038
softintr_dispatch(2) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsofttty() at Xsofttty+0x27
Xspllower() at Xspllower+0x1d
cnputc(66) at cnputc+0x4f sys/dev/cons.c:218
kputchar(66,5,0) at kputchar+0x202 sys/kern/subr_prf.c:367
kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724
printf(ffffffff82829488) at printf+0x79 sys/kern/subr_prf.c:529
trap_print(ffff800034398900,6) at trap_print+0x49 sys/arch/amd64/amd64/trap.c:457
kerntrap(ffff800034398900) at kerntrap+0x1ab sys/arch/amd64/amd64/trap.c:328
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
softclock(0) at softclock+0xc7 sys/kern/kern_timeout.c:750
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
tsleep(fffffd8069052d30,11,ffffffff828c772e,0) at tsleep+0x117 sys/kern/kern_synch.c:149
biowait(fffffd8069052d30) at biowait+0x91 sys/kern/vfs_bio.c:1254
bwrite(fffffd8069052d30) at bwrite+0x216 sys/kern/vfs_bio.c:766
ffs_update(fffffd807e7b3960,1) at ffs_update+0x28b sys/ufs/ffs/ffs_inode.c:111
ffs_truncate(fffffd807e7b3960,0,0,ffffffffffffffff) at ffs_truncate+0xa40
ufs_inactive(ffff800034398ea8) at ufs_inactive+0x157 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd80784b7638,ffff80002a6e0ac0) at VOP_INACTIVE+0xbf sys/kern/vfs_vops.c:489
vput(fffffd80784b7638) at vput+0xa7 sys/kern/vfs_subr.c:779
vn_close(fffffd80784b7638,2,ffffffffffffffff,ffff80002a6e0ac0) at vn_close+0x82 sys/kern/vfs_vnops.c:294
acct_shutdown() at acct_shutdown+0x66 sys/kern/kern_acct.c:359
vfs_shutdown(ffff80002a6e0ac0) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779
boot(100) at boot+0xbf sys/arch/amd64/amd64/machdep.c:903
reboot(100) at reboot+0x7b
panic(ffffffff8283a632) at panic+0x179 sys/kern/subr_prf.c:231
kerntrap(ffff800034399140) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
schedclock(ffff80002a6e0ac0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82c96bc0,ffff800034399340,0) at statclock+0x1dd sys/kern/kern_clock.c:341
clockintr_dispatch(ffff800034399340) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:219
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3372 [inline]
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b sys/arch/amd64/amd64/pmap.c:519
buf_map(fffffd806eba27e8) at buf_map+0x22d sys/kern/vfs_biomem.c:120
buf_get(0,0,df131b1) at buf_get+0x758 sys/kern/vfs_bio.c:1175
geteblk(df131b1) at geteblk+0x3c sys/kern/vfs_bio.c:1058
readdisklabel(2902,ffffffff826a4120,ffff800000e8a800,0) at readdisklabel+0x149 sys/arch/amd64/amd64/disksubr.c:96
vndopen(2902,8001,2000,ffff80002a6e0ac0) at vndopen+0x17e sys/dev/vnd.c:204
spec_open(ffff800034399808) at spec_open+0x3e3 sys/kern/spec_vnops.c:150
VOP_OPEN(fffffd806e562b58,8001,fffffd807f7d7888,ffff80002a6e0ac0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138
vn_open(ffff800034399a58,8001,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177
doopenat(ffff80002a6e0ac0,ffffff9c,20000040,8000,0,ffff800034399c00) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126
syscall(ffff800034399cb0) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf8168e4ac30, count: 207
End of stack trace.
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Starting stack trace...
panic(ffffffff828307bf) at panic+0x159 sys/kern/subr_prf.c:229
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd8071705e00) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd8071705e00,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff8000006ab000) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff8000006ab000) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff8000006ab000) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff8291609d) at panic+0x179 sys/kern/subr_prf.c:231
wakeup(ffff800000686a10) at wakeup+0xec sys/kern/kern_synch.c:545
ttyinput(a,ffff800000686a00) at ttyinput+0x154e ttwakeup sys/kern/tty.c:2087 [inline]
ttyinput(a,ffff800000686a00) at ttyinput+0x154e sys/kern/tty.c:556
comsoft(ffff80000007e000) at comsoft+0x2de sys/dev/ic/com.c:1038
softintr_dispatch(2) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsofttty() at Xsofttty+0x27
Xspllower() at Xspllower+0x1d
cnputc(66) at cnputc+0x4f sys/dev/cons.c:218
kputchar(66,5,0) at kputchar+0x202 sys/kern/subr_prf.c:367
kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724
printf(ffffffff82829488) at printf+0x79 sys/kern/subr_prf.c:529
trap_print(ffff800034398900,6) at trap_print+0x49 sys/arch/amd64/amd64/trap.c:457
kerntrap(ffff800034398900) at kerntrap+0x1ab sys/arch/amd64/amd64/trap.c:328
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
softclock(0) at softclock+0xc7 sys/kern/kern_timeout.c:750
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
tsleep(fffffd8069052d30,11,ffffffff828c772e,0) at tsleep+0x117 sys/kern/kern_synch.c:149
biowait(fffffd8069052d30) at biowait+0x91 sys/kern/vfs_bio.c:1254
bwrite(fffffd8069052d30) at bwrite+0x216 sys/kern/vfs_bio.c:766
ffs_update(fffffd807e7b3960,1) at ffs_update+0x28b sys/ufs/ffs/ffs_inode.c:111
ffs_truncate(fffffd807e7b3960,0,0,ffffffffffffffff) at ffs_truncate+0xa40
ufs_inactive(ffff800034398ea8) at ufs_inactive+0x157 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd80784b7638,ffff80002a6e0ac0) at VOP_INACTIVE+0xbf sys/kern/vfs_vops.c:489
vput(fffffd80784b7638) at vput+0xa7 sys/kern/vfs_subr.c:779
vn_close(fffffd80784b7638,2,ffffffffffffffff,ffff80002a6e0ac0) at vn_close+0x82 sys/kern/vfs_vnops.c:294
acct_shutdown() at acct_shutdown+0x66 sys/kern/kern_acct.c:359
vfs_shutdown(ffff80002a6e0ac0) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779
boot(100) at boot+0xbf sys/arch/amd64/amd64/machdep.c:903
reboot(100) at reboot+0x7b
panic(ffffffff8283a632) at panic+0x179 sys/kern/subr_prf.c:231
kerntrap(ffff800034399140) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
schedclock(ffff80002a6e0ac0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82c96bc0,ffff800034399340,0) at statclock+0x1dd sys/kern/kern_clock.c:341
clockintr_dispatch(ffff800034399340) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:219
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3372 [inline]
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b sys/arch/amd64/amd64/pmap.c:519
buf_map(fffffd806eba27e8) at buf_map+0x22d sys/kern/vfs_biomem.c:120
buf_get(0,0,df131b1) at buf_get+0x758 sys/kern/vfs_bio.c:1175
geteblk(df131b1) at geteblk+0x3c sys/kern/vfs_bio.c:1058
readdisklabel(2902,ffffffff826a4120,ffff800000e8a800,0) at readdisklabel+0x149 sys/arch/amd64/amd64/disksubr.c:96
vndopen(2902,8001,2000,ffff80002a6e0ac0) at vndopen+0x17e sys/dev/vnd.c:204
spec_open(ffff800034399808) at spec_open+0x3e3 sys/kern/spec_vnops.c:150
VOP_OPEN(fffffd806e562b58,8001,fffffd807f7d7888,ffff80002a6e0ac0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138
vn_open(ffff800034399a58,8001,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177
doopenat(ffff80002a6e0ac0,ffffff9c,20000040,8000,0,ffff800034399c00) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126
syscall(ffff800034399cb0) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf8168e4ac30, count: 194
End of stack trace.
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Starting stack trace...
panic(ffffffff828307bf) at panic+0x159 sys/kern/subr_prf.c:229
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80783df000) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80783df000,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff80000019e2a8) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff80000019e2a8) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff80000019e2a8) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd8071705e00) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd8071705e00,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff8000006ab000) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff8000006ab000) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff8000006ab000) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff8291609d) at panic+0x179 sys/kern/subr_prf.c:231
wakeup(ffff800000686a10) at wakeup+0xec sys/kern/kern_synch.c:545
ttyinput(a,ffff800000686a00) at ttyinput+0x154e ttwakeup sys/kern/tty.c:2087 [inline]
ttyinput(a,ffff800000686a00) at ttyinput+0x154e sys/kern/tty.c:556
comsoft(ffff80000007e000) at comsoft+0x2de sys/dev/ic/com.c:1038
softintr_dispatch(2) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsofttty() at Xsofttty+0x27
Xspllower() at Xspllower+0x1d
cnputc(66) at cnputc+0x4f sys/dev/cons.c:218
kputchar(66,5,0) at kputchar+0x202 sys/kern/subr_prf.c:367
kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724
printf(ffffffff82829488) at printf+0x79 sys/kern/subr_prf.c:529
trap_print(ffff800034398900,6) at trap_print+0x49 sys/arch/amd64/amd64/trap.c:457
kerntrap(ffff800034398900) at kerntrap+0x1ab sys/arch/amd64/amd64/trap.c:328
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
softclock(0) at softclock+0xc7 sys/kern/kern_timeout.c:750
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
tsleep(fffffd8069052d30,11,ffffffff828c772e,0) at tsleep+0x117 sys/kern/kern_synch.c:149
biowait(fffffd8069052d30) at biowait+0x91 sys/kern/vfs_bio.c:1254
bwrite(fffffd8069052d30) at bwrite+0x216 sys/kern/vfs_bio.c:766
ffs_update(fffffd807e7b3960,1) at ffs_update+0x28b sys/ufs/ffs/ffs_inode.c:111
ffs_truncate(fffffd807e7b3960,0,0,ffffffffffffffff) at ffs_truncate+0xa40
ufs_inactive(ffff800034398ea8) at ufs_inactive+0x157 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd80784b7638,ffff80002a6e0ac0) at VOP_INACTIVE+0xbf sys/kern/vfs_vops.c:489
vput(fffffd80784b7638) at vput+0xa7 sys/kern/vfs_subr.c:779
vn_close(fffffd80784b7638,2,ffffffffffffffff,ffff80002a6e0ac0) at vn_close+0x82 sys/kern/vfs_vnops.c:294
acct_shutdown() at acct_shutdown+0x66 sys/kern/kern_acct.c:359
vfs_shutdown(ffff80002a6e0ac0) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779
boot(100) at boot+0xbf sys/arch/amd64/amd64/machdep.c:903
reboot(100) at reboot+0x7b
panic(ffffffff8283a632) at panic+0x179 sys/kern/subr_prf.c:231
kerntrap(ffff800034399140) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
schedclock(ffff80002a6e0ac0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82c96bc0,ffff800034399340,0) at statclock+0x1dd sys/kern/kern_clock.c:341
clockintr_dispatch(ffff800034399340) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:219
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3372 [inline]
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b sys/arch/amd64/amd64/pmap.c:519
buf_map(fffffd806eba27e8) at buf_map+0x22d sys/kern/vfs_biomem.c:120
buf_get(0,0,df131b1) at buf_get+0x758 sys/kern/vfs_bio.c:1175
geteblk(df131b1) at geteblk+0x3c sys/kern/vfs_bio.c:1058
readdisklabel(2902,ffffffff826a4120,ffff800000e8a800,0) at readdisklabel+0x149 sys/arch/amd64/amd64/disksubr.c:96
vndopen(2902,8001,2000,ffff80002a6e0ac0) at vndopen+0x17e sys/dev/vnd.c:204
spec_open(ffff800034399808) at spec_open+0x3e3 sys/kern/spec_vnops.c:150
VOP_OPEN(fffffd806e562b58,8001,fffffd807f7d7888,ffff80002a6e0ac0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138
vn_open(ffff800034399a58,8001,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177
doopenat(ffff80002a6e0ac0,ffffff9c,20000040,8000,0,ffff800034399c00) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126
syscall(ffff800034399cb0) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf8168e4ac30, count: 181
End of stack trace.
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Starting stack trace...
panic(ffffffff828307bf) at panic+0x159 sys/kern/subr_prf.c:229
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80783df700) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80783df700,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff800000dbb000) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff800000dbb000) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff800000dbb000) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80783df000) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80783df000,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff80000019e2a8) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff80000019e2a8) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff80000019e2a8) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd8071705e00) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd8071705e00,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff8000006ab000) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff8000006ab000) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff8000006ab000) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff8291609d) at panic+0x179 sys/kern/subr_prf.c:231
wakeup(ffff800000686a10) at wakeup+0xec sys/kern/kern_synch.c:545
ttyinput(a,ffff800000686a00) at ttyinput+0x154e ttwakeup sys/kern/tty.c:2087 [inline]
ttyinput(a,ffff800000686a00) at ttyinput+0x154e sys/kern/tty.c:556
comsoft(ffff80000007e000) at comsoft+0x2de sys/dev/ic/com.c:1038
softintr_dispatch(2) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsofttty() at Xsofttty+0x27
Xspllower() at Xspllower+0x1d
cnputc(66) at cnputc+0x4f sys/dev/cons.c:218
kputchar(66,5,0) at kputchar+0x202 sys/kern/subr_prf.c:367
kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724
printf(ffffffff82829488) at printf+0x79 sys/kern/subr_prf.c:529
trap_print(ffff800034398900,6) at trap_print+0x49 sys/arch/amd64/amd64/trap.c:457
kerntrap(ffff800034398900) at kerntrap+0x1ab sys/arch/amd64/amd64/trap.c:328
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
softclock(0) at softclock+0xc7 sys/kern/kern_timeout.c:750
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
tsleep(fffffd8069052d30,11,ffffffff828c772e,0) at tsleep+0x117 sys/kern/kern_synch.c:149
biowait(fffffd8069052d30) at biowait+0x91 sys/kern/vfs_bio.c:1254
bwrite(fffffd8069052d30) at bwrite+0x216 sys/kern/vfs_bio.c:766
ffs_update(fffffd807e7b3960,1) at ffs_update+0x28b sys/ufs/ffs/ffs_inode.c:111
ffs_truncate(fffffd807e7b3960,0,0,ffffffffffffffff) at ffs_truncate+0xa40
ufs_inactive(ffff800034398ea8) at ufs_inactive+0x157 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd80784b7638,ffff80002a6e0ac0) at VOP_INACTIVE+0xbf sys/kern/vfs_vops.c:489
vput(fffffd80784b7638) at vput+0xa7 sys/kern/vfs_subr.c:779
vn_close(fffffd80784b7638,2,ffffffffffffffff,ffff80002a6e0ac0) at vn_close+0x82 sys/kern/vfs_vnops.c:294
acct_shutdown() at acct_shutdown+0x66 sys/kern/kern_acct.c:359
vfs_shutdown(ffff80002a6e0ac0) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779
boot(100) at boot+0xbf sys/arch/amd64/amd64/machdep.c:903
reboot(100) at reboot+0x7b
panic(ffffffff8283a632) at panic+0x179 sys/kern/subr_prf.c:231
kerntrap(ffff800034399140) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
schedclock(ffff80002a6e0ac0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82c96bc0,ffff800034399340,0) at statclock+0x1dd sys/kern/kern_clock.c:341
clockintr_dispatch(ffff800034399340) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:219
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3372 [inline]
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b sys/arch/amd64/amd64/pmap.c:519
buf_map(fffffd806eba27e8) at buf_map+0x22d sys/kern/vfs_biomem.c:120
buf_get(0,0,df131b1) at buf_get+0x758 sys/kern/vfs_bio.c:1175
geteblk(df131b1) at geteblk+0x3c sys/kern/vfs_bio.c:1058
readdisklabel(2902,ffffffff826a4120,ffff800000e8a800,0) at readdisklabel+0x149 sys/arch/amd64/amd64/disksubr.c:96
vndopen(2902,8001,2000,ffff80002a6e0ac0) at vndopen+0x17e sys/dev/vnd.c:204
spec_open(ffff800034399808) at spec_open+0x3e3 sys/kern/spec_vnops.c:150
VOP_OPEN(fffffd806e562b58,8001,fffffd807f7d7888,ffff80002a6e0ac0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138
vn_open(ffff800034399a58,8001,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177
doopenat(ffff80002a6e0ac0,ffffff9c,20000040,8000,0,ffff800034399c00) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126
syscall(ffff800034399cb0) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf8168e4ac30, count: 168
End of stack trace.
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Starting stack trace...
panic(ffffffff828307bf) at panic+0x159 sys/kern/subr_prf.c:229
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80642f6700) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80642f6700,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff800000e76800) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff800000e76800) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff800000e76800) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80783df700) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80783df700,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff800000dbb000) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff800000dbb000) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff800000dbb000) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80783df000) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80783df000,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff80000019e2a8) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff80000019e2a8) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff80000019e2a8) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd8071705e00) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd8071705e00,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff8000006ab000) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff8000006ab000) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff8000006ab000) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff8291609d) at panic+0x179 sys/kern/subr_prf.c:231
wakeup(ffff800000686a10) at wakeup+0xec sys/kern/kern_synch.c:545
ttyinput(a,ffff800000686a00) at ttyinput+0x154e ttwakeup sys/kern/tty.c:2087 [inline]
ttyinput(a,ffff800000686a00) at ttyinput+0x154e sys/kern/tty.c:556
comsoft(ffff80000007e000) at comsoft+0x2de sys/dev/ic/com.c:1038
softintr_dispatch(2) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsofttty() at Xsofttty+0x27
Xspllower() at Xspllower+0x1d
cnputc(66) at cnputc+0x4f sys/dev/cons.c:218
kputchar(66,5,0) at kputchar+0x202 sys/kern/subr_prf.c:367
kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724
printf(ffffffff82829488) at printf+0x79 sys/kern/subr_prf.c:529
trap_print(ffff800034398900,6) at trap_print+0x49 sys/arch/amd64/amd64/trap.c:457
kerntrap(ffff800034398900) at kerntrap+0x1ab sys/arch/amd64/amd64/trap.c:328
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
softclock(0) at softclock+0xc7 sys/kern/kern_timeout.c:750
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
tsleep(fffffd8069052d30,11,ffffffff828c772e,0) at tsleep+0x117 sys/kern/kern_synch.c:149
biowait(fffffd8069052d30) at biowait+0x91 sys/kern/vfs_bio.c:1254
bwrite(fffffd8069052d30) at bwrite+0x216 sys/kern/vfs_bio.c:766
ffs_update(fffffd807e7b3960,1) at ffs_update+0x28b sys/ufs/ffs/ffs_inode.c:111
ffs_truncate(fffffd807e7b3960,0,0,ffffffffffffffff) at ffs_truncate+0xa40
ufs_inactive(ffff800034398ea8) at ufs_inactive+0x157 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd80784b7638,ffff80002a6e0ac0) at VOP_INACTIVE+0xbf sys/kern/vfs_vops.c:489
vput(fffffd80784b7638) at vput+0xa7 sys/kern/vfs_subr.c:779
vn_close(fffffd80784b7638,2,ffffffffffffffff,ffff80002a6e0ac0) at vn_close+0x82 sys/kern/vfs_vnops.c:294
acct_shutdown() at acct_shutdown+0x66 sys/kern/kern_acct.c:359
vfs_shutdown(ffff80002a6e0ac0) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779
boot(100) at boot+0xbf sys/arch/amd64/amd64/machdep.c:903
reboot(100) at reboot+0x7b
panic(ffffffff8283a632) at panic+0x179 sys/kern/subr_prf.c:231
kerntrap(ffff800034399140) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
schedclock(ffff80002a6e0ac0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82c96bc0,ffff800034399340,0) at statclock+0x1dd sys/kern/kern_clock.c:341
clockintr_dispatch(ffff800034399340) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:219
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3372 [inline]
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b sys/arch/amd64/amd64/pmap.c:519
buf_map(fffffd806eba27e8) at buf_map+0x22d sys/kern/vfs_biomem.c:120
buf_get(0,0,df131b1) at buf_get+0x758 sys/kern/vfs_bio.c:1175
geteblk(df131b1) at geteblk+0x3c sys/kern/vfs_bio.c:1058
readdisklabel(2902,ffffffff826a4120,ffff800000e8a800,0) at readdisklabel+0x149 sys/arch/amd64/amd64/disksubr.c:96
vndopen(2902,8001,2000,ffff80002a6e0ac0) at vndopen+0x17e sys/dev/vnd.c:204
spec_open(ffff800034399808) at spec_open+0x3e3 sys/kern/spec_vnops.c:150
VOP_OPEN(fffffd806e562b58,8001,fffffd807f7d7888,ffff80002a6e0ac0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138
vn_open(ffff800034399a58,8001,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177
doopenat(ffff80002a6e0ac0,ffffff9c,20000040,8000,0,ffff800034399c00) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126
syscall(ffff800034399cb0) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf8168e4ac30, count: 155
End of stack trace.
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Starting stack trace...
panic(ffffffff828307bf) at panic+0x159 sys/kern/subr_prf.c:229
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80695b1600) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80695b1600,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff800000dc8800) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff800000dc8800) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff800000dc8800) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80642f6700) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80642f6700,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff800000e76800) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff800000e76800) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff800000e76800) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80783df700) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80783df700,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff800000dbb000) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff800000dbb000) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff800000dbb000) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd80783df000) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd80783df000,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff80000019e2a8) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff80000019e2a8) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff80000019e2a8) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff828307bf) at panic+0x179 sys/kern/subr_prf.c:231
kqueue_do_check(fffffd806ee61b80,ffffffff829035e2,7eb) at kqueue_do_check+0x1dd
knote_enqueue(fffffd806ee5a078) at knote_enqueue+0xb0 sys/kern/kern_event.c:2028
knote_locked(fffffd806ee37e80,0) at knote_locked+0x11d
sowakeup(fffffd806ee37d60,fffffd806ee37e10) at sowakeup+0x82 sys/kern/uipc_socket2.c:590
sorwakeup(fffffd806ee37d60) at sorwakeup+0xcd sys/kern/uipc_socket.c:1767
rtm_sendup(fffffd806ee37d60,fffffd8071705e00) at rtm_sendup+0xfa sys/net/rtsock.c:605
route_input(fffffd8071705e00,0,0) at route_input+0x194 sys/net/rtsock.c:575
rtm_ifchg(ffff8000006ab000) at rtm_ifchg+0xe1 sys/net/rtsock.c:1801
if_down(ffff8000006ab000) at if_down+0x10c if_linkstate sys/net/if.c:1792 [inline]
if_down(ffff8000006ab000) at if_down+0x10c sys/net/if.c:1740
if_downall() at if_downall+0x7d sys/net/if.c:1721
boot(104) at boot+0x123 sys/arch/amd64/amd64/machdep.c:911
reboot(104) at reboot+0x7b
panic(ffffffff8291609d) at panic+0x179 sys/kern/subr_prf.c:231
wakeup(ffff800000686a10) at wakeup+0xec sys/kern/kern_synch.c:545
ttyinput(a,ffff800000686a00) at ttyinput+0x154e ttwakeup sys/kern/tty.c:2087 [inline]
ttyinput(a,ffff800000686a00) at ttyinput+0x154e sys/kern/tty.c:556
comsoft(ffff80000007e000) at comsoft+0x2de sys/dev/ic/com.c:1038
softintr_dispatch(2) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsofttty() at Xsofttty+0x27
Xspllower() at Xspllower+0x1d
cnputc(66) at cnputc+0x4f sys/dev/cons.c:218
kputchar(66,5,0) at kputchar+0x202 sys/kern/subr_prf.c:367
kprintf() at kprintf+0x6ac sys/kern/subr_prf.c:724
printf(ffffffff82829488) at printf+0x79 sys/kern/subr_prf.c:529
trap_print(ffff800034398900,6) at trap_print+0x49 sys/arch/amd64/amd64/trap.c:457
kerntrap(ffff800034398900) at kerntrap+0x1ab sys/arch/amd64/amd64/trap.c:328
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
softclock(0) at softclock+0xc7 sys/kern/kern_timeout.c:750
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
tsleep(fffffd8069052d30,11,ffffffff828c772e,0) at tsleep+0x117 sys/kern/kern_synch.c:149
biowait(fffffd8069052d30) at biowait+0x91 sys/kern/vfs_bio.c:1254
bwrite(fffffd8069052d30) at bwrite+0x216 sys/kern/vfs_bio.c:766
ffs_update(fffffd807e7b3960,1) at ffs_update+0x28b sys/ufs/ffs/ffs_inode.c:111
ffs_truncate(fffffd807e7b3960,0,0,ffffffffffffffff) at ffs_truncate+0xa40
ufs_inactive(ffff800034398ea8) at ufs_inactive+0x157 sys/ufs/ufs/ufs_inode.c:84
VOP_INACTIVE(fffffd80784b7638,ffff80002a6e0ac0) at VOP_INACTIVE+0xbf sys/kern/vfs_vops.c:489
vput(fffffd80784b7638) at vput+0xa7 sys/kern/vfs_subr.c:779
vn_close(fffffd80784b7638,2,ffffffffffffffff,ffff80002a6e0ac0) at vn_close+0x82 sys/kern/vfs_vnops.c:294
acct_shutdown() at acct_shutdown+0x66 sys/kern/kern_acct.c:359
vfs_shutdown(ffff80002a6e0ac0) at vfs_shutdown+0x1a sys/kern/vfs_subr.c:1779
boot(100) at boot+0xbf sys/arch/amd64/amd64/machdep.c:903
reboot(100) at reboot+0x7b
panic(ffffffff8283a632) at panic+0x179 sys/kern/subr_prf.c:231
kerntrap(ffff800034399140) at kerntrap+0x1c7 sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
schedclock(ffff80002a6e0ac0) at schedclock+0xa6 sys/kern/sched_bsd.c:569
statclock(ffffffff82c96bc0,ffff800034399340,0) at statclock+0x1dd sys/kern/kern_clock.c:341
clockintr_dispatch(ffff800034399340) at clockintr_dispatch+0x24c sys/kern/kern_clockintr.c:219
lapic_clockintr(0,0) at lapic_clockintr+0x3a sys/arch/amd64/amd64/lapic.c:482
Xresume_lapic_ltimer() at Xresume_lapic_ltimer+0x2a
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b pmap_tlb_shootpage sys/arch/amd64/amd64/pmap.c:3372 [inline]
pmap_kenter_pa(ffff80002dbcf000,56e56000,3) at pmap_kenter_pa+0x18b sys/arch/amd64/amd64/pmap.c:519
buf_map(fffffd806eba27e8) at buf_map+0x22d sys/kern/vfs_biomem.c:120
buf_get(0,0,df131b1) at buf_get+0x758 sys/kern/vfs_bio.c:1175
geteblk(df131b1) at geteblk+0x3c sys/kern/vfs_bio.c:1058
readdisklabel(2902,ffffffff826a4120,ffff800000e8a800,0) at readdisklabel+0x149 sys/arch/amd64/amd64/disksubr.c:96
vndopen(2902,8001,2000,ffff80002a6e0ac0) at vndopen+0x17e sys/dev/vnd.c:204
spec_open(ffff800034399808) at spec_open+0x3e3 sys/kern/spec_vnops.c:150
VOP_OPEN(fffffd806e562b58,8001,fffffd807f7d7888,ffff80002a6e0ac0) at VOP_OPEN+0x70 sys/kern/vfs_vops.c:138
vn_open(ffff800034399a58,8001,0) at vn_open+0x452 sys/kern/vfs_vnops.c:177
doopenat(ffff80002a6e0ac0,ffffff9c,20000040,8000,0,ffff800034399c00) at doopenat+0x26e sys/kern/vfs_syscalls.c:1126
syscall(ffff800034399cb0) at syscall+0x751 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf8168e4ac30, count: 142
End of stack trace.
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Starting stack trace...
panic(ffffffff828307bf) at pfatal double fault in supervisor mode
trap type 13 code 0 rip ffffffff8127f6e6 cs 8 rflags 10286 cr2 ffff800034395ff8 cpl c rsp ffff800034396000
gsbase 0xffffffff82c95ff0  kgsbase 0x0
panic: trap type 13, code=0, pc=ffffffff8127f6e6
Faulted in traceback, aborting...
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Faulted in traceback, aborting...
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Faulted in traceback, aborting...
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Faulted in traceback, aborting...
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Faulted in traceback, aborting...
panic: knote_enqueue:2027: kq=0xfffffd806ee61b80 kn=0xffff80002a60b050 knote !ACTIVE
Faulted in traceback, aborting...

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 1f64d870-06f2-d8bf-7327-adc6877a2997
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 0x000f28a0: 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> 
|/-\|/-\|/booting hd0a:/bsd: -\|/-\25196469|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+4252688-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+1005232-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+0+1228800| [1490202/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|+128+1615920/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-+1070747\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-]=0x2235070
\|/-\|/-entry point at 0xffffffff81001000
[ using 4178032 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2024 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 7.4-current (SYZKALLER) #0: Sun Feb  4 03:31:18 PST 2024
    root@ci-openbsd.c.syzkaller.internal:/syzkaller/managers/main/kernel/sys/arch/amd64/compile/SYZKALLER
real mem = 2130694144 (2031MB)
avail mem = 2037391360 (1943MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf2930 (12 entries)
bios0: vendor Google version "Google" date 11/17/2023
bios0: Google Google Compute Engine
acpi0 at bios0: ACPI 2.0
acpi0: sleep states S3 S4 S5
acpi0: tables DSDT FACP SRAT APIC SSDT WAET
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU @ 2.20GHz, 2200.28 MHz, 06-4f-00
cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,HTT,SSE3,PCLMUL,VMX,SSSE3,FMA3,CX16,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,ITSC,FSGSBASE,TSC_ADJUST,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,MD_CLEAR,IBRS,IBPB,STIBP,SSBD,ARAT,RSBA,SKIP_L1DFL,IF_PSCHANGE,GDS_NO,XSAVEOPT,MELTDOWN
cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 256KB 64b/line 8-way L2 cache, 55MB 64b/line 20-way L3 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 1000MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
"ACPI0006" at acpi0 not configured
acpipci0 at acpi0 PCI0
acpicmos0 at acpi0
com0 at acpi0 COM1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at acpi0 COM2 addr 0x2f8/0x8 irq 3: ns16550a, 16 byte fifo
com2 at acpi0 COM3 addr 0x3e8/0x8 irq 6: ns16550a, 16 byte fifo
com3 at acpi0 COM4 addr 0x2e8/0x8 irq 7: ns16550a, 16 byte fifo
"QEMU0001" at acpi0 not configured
"ACPI0007" at acpi0 not configured
"ACPI0007" at acpi0 not configured
acpicpu0 at acpi0: C1(@1 halt!)
cpu0: using VERW MDS workaround
pvbus0 at mainbus0: KVM
pvclock0 at pvbus0
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371AB PIIX4 ISA" rev 0x03
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x03: SMBus disabled
virtio0 at pci0 dev 3 function 0 "Qumranet Virtio SCSI" rev 0x00
vioscsi0 at virtio0: qsize 8192
scsibus1 at vioscsi0: 253 targets
sd0 at scsibus1 targ 1 lun 0: <Google, PersistentDisk, 1> serial.Google_PersistentDisk_
sd0: 2048MB, 512 bytes/sector, 4194304 sectors, thin
virtio0: msix per-VQ
virtio1 at pci0 dev 4 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio1: address 42:01:0a:80:0a:01
virtio1: msix per-VQ
unknown vendor 0x1ae0 product 0xa002 (class display subclass VGA, rev 0x01) at pci0 dev 5 function 0 not configured
virtio2 at pci0 dev 6 function 0 "Qumranet Virtio Memory Balloon" rev 0x00
viomb0 at virtio2
virtio2: msix per-VQ
virtio3 at pci0 dev 7 function 0 "Qumranet Virtio RNG" rev 0x00
viornd0 at virtio3
virtio3: msix per-VQ
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0 mux 1
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT (using slow L1TF mitigation)
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (3e1e100607f06f1a.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
WARNING: preposterous time in file system
WARNING: CHECK AND RESET THE DATE!

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/04 12:14 openbsd 851cae3d0655 a67b2c42 .config console log report ci-openbsd-main kqueue: knote !ACTIVE
* Struck through repros no longer work on HEAD.