syzbot
panic: udp_output: shared udbinfo lock, excl inp lock
Status:
fixed on 2019/04/23 14:14
Reported-by: syzbot+1f5c6800e4f99bdb1a48@syzkaller.appspotmail.com
Fix commit:
d86ecbe993a7
iFix udp_output() lock inconsistency.
First crash: 2713d, last: 2675d
Sample crash report:
login: panic: udp_output: shared udbinfo lock, excl inp lock
cpuid = 1
time = 1555565685
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0021236560
vpanic() at vpanic+0x1e0/frame 0xfffffe00212365c0
panic() at panic+0x43/frame 0xfffffe0021236620
udp_send() at udp_send+0x1377/frame 0xfffffe0021236730
sosend_dgram() at sosend_dgram+0x550/frame 0xfffffe00212367a0
sosend() at sosend+0xc6/frame 0xfffffe0021236810
kern_sendit() at kern_sendit+0x35e/frame 0xfffffe00212368c0
sendit() at sendit+0x226/frame 0xfffffe0021236920
sys_sendmsg() at sys_sendmsg+0x8b/frame 0xfffffe0021236980
amd64_syscall() at amd64_syscall+0x436/frame 0xfffffe0021236ab0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0021236ab0
--- syscall (0, FreeBSD ELF64, nosys), rip = 0x41c3aa, rsp = 0x7fffffffeae8, rbp = 0x7fffffffeb40 ---
KDB: enter: panic
[ thread pid 759 tid 100104 ]
Stopped at kdb_enter+0x6a: movq $0,kdb_why
* Struck through repros no longer work on HEAD.