syzbot


kernel panic: stack is corrupted in validate_chain
Status: fixed on 2019/08/27 17:15
Reported-by: syzbot+6ba34346b252f2d497c7@syzkaller.appspotmail.com
Fix commit: 95fa1454 bpf: sockmap/tls, close can race with map free
First crash: 142d, last: 142d

Cause bisection: introduced by (bisect log):

commit e9db4ef6bf4ca9894bb324c76e01b8f1a16b2650
Author: John Fastabend <john.fastabend@gmail.com>
Date: Sat Jun 30 13:17:47 2018 +0000

  bpf: sockhash fix omitted bucket lock in sock_close

Crash: KASAN: use-after-free Write in bpf_tcp_close (log)
Repro: syz .config

Sample crash report:

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro
ci-upstream-kasan-gce-smack-root 2019/06/25 19:17 upstream 249155c2 0a8d1a96 .config log report syz