syzbot


freebsd boot error: panic: sleeping without a lock

Status: fixed on 2021/08/06 05:14
Reported-by: syzbot+4c96f7a52464192ac369@syzkaller.appspotmail.com
Fix commit: 2694c869ff9f ktls: fix a panic with INVARIANTS
First crash: 1206d, last: 1206d

Sample crash report:
TCP_ratelimit: Ispanic: sleeping without a lock
cpuid = 1
time = 1
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0xc7/frame 0xfffffe00077f3630
kdb_backtrace() at kdb_backtrace+0xd3/frame 0xfffffe00077f3790
vpanic() at vpanic+0x2c5/frame 0xfffffe00077f3870
panic() at panic+0xb5/frame 0xfffffe00077f3930
_sleep() at _sleep+0x80c/frame 0xfffffe00077f3a80
ktls_alloc_thread() at ktls_alloc_thread+0x272/frame 0xfffffe00077f3bb0
fork_exit() at fork_exit+0xd0/frame 0xfffffe00077f3bf0
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00077f3bf0
--- trap 0, rip = 0, rsp = 0, rbp = 0 ---
KDB: enter: panic
[ thread pid 2 tid 100031 ]
Stopped at      kdb_enter+0x6b: movq    $0,0x28ebada(%rip)
db> 

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/08/05 17:22 freebsd-src 4cc6fe1e5b73 d2d6e680 console log report ci-freebsd-main freebsd boot error: panic: sleeping without a lock
2021/08/05 17:22 freebsd-src 4cc6fe1e5b73 d2d6e680 console log report ci-freebsd-main freebsd boot error: panic: sleeping without a lock
2021/08/05 17:22 freebsd-src 4cc6fe1e5b73 d2d6e680 console log report ci-freebsd-main freebsd boot error: panic: sleeping without a lock
2021/08/05 16:40 freebsd-src 4cc6fe1e5b73 d2d6e680 console log report ci-freebsd-i386 freebsd boot error: panic: sleeping without a lock
2021/08/05 16:40 freebsd-src 4cc6fe1e5b73 d2d6e680 console log report ci-freebsd-i386 freebsd boot error: panic: sleeping without a lock
2021/08/05 16:40 freebsd-src 4cc6fe1e5b73 d2d6e680 console log report ci-freebsd-i386 freebsd boot error: panic: sleeping without a lock
* Struck through repros no longer work on HEAD.