syzbot


KASAN: use-after-free Write in sk_psock_stop
Status: upstream: reported syz repro on 2021/04/06 03:15
Reported-by: syzbot+7b6548ae483d6f4c64ae@syzkaller.appspotmail.com
Fix commit: sock_map: Fix a potential use-after-free in sock_map_close()
Patched on: [ci-upstream-bpf-next-kasan-gce ci-upstream-linux-next-kasan-gce-root], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-gce-leak ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386 ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 21d, last: 4d01h

Cause bisection: introduced by (bisect log) :
commit 997acaf6b4b59c6a9c259740312a69ea549cc684
Author: Mark Rutland <mark.rutland@arm.com>
Date: Mon Jan 11 15:37:07 2021 +0000

  lockdep: report broken irq restoration

Crash: WARNING in kvm_wait (log)
Repro: syz .config

Sample crash report:

Crashes (67):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-bpf-next-kasan-gce 2021/04/05 10:45 bpf-next f73ea1eb 6a81331a .config log report syz KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/05 05:30 bpf-next f73ea1eb 6a81331a .config log report syz KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/04 13:02 bpf-next f73ea1eb 6a81331a .config log report syz KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/05 12:00 bpf-next f73ea1eb 6a81331a .config log report syz KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/04 21:35 bpf-next f73ea1eb 6a81331a .config log report syz KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/03 23:11 bpf-next f07669df 6a81331a .config log report syz KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/16 17:12 net-next c329e5af 7e2b734b .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/11 22:42 bpf-next 92d3bff2 bfeda1b1 .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/10 02:58 bpf-next 92d3bff2 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/08 12:16 bpf-next 957dca3d 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/06 11:07 bpf-next 1e1032b0 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/06 06:56 bpf-next 1e1032b0 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/06 04:08 bpf-next 1e1032b0 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/05 04:23 bpf-next f73ea1eb 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/04 22:57 bpf-next f73ea1eb 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/02 03:08 bpf-next 89d69c5d 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-linux-next-kasan-gce-root 2021/04/09 23:04 linux-next e99d8a84 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-linux-next-kasan-gce-root 2021/04/09 20:50 linux-next e99d8a84 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-linux-next-kasan-gce-root 2021/04/08 12:33 linux-next 6145d80c 6a81331a .config log report info KASAN: use-after-free Write in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/19 15:21 net-next e7ad33fa 50f523d7 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/17 09:26 net-next e7ad33fa 7e2b734b .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/16 19:53 net-next e7ad33fa 7e2b734b .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/16 13:11 net-next c329e5af 7e2b734b .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/16 11:21 net-next c329e5af c59079a6 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/16 05:07 net-next c329e5af c59079a6 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/16 04:57 net-next c329e5af c59079a6 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/16 00:14 net-next c329e5af c59079a6 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/15 11:59 net-next 3a1aa533 fcdb12ba .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/13 13:46 net-next 8ef7adc6 bfeda1b1 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/13 01:00 net-next c82eaa40 bfeda1b1 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/12 15:24 bpf-next 92d3bff2 bfeda1b1 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/12 04:14 bpf-next 92d3bff2 bfeda1b1 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/11 17:49 bpf-next 92d3bff2 bfeda1b1 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/11 05:07 bpf-next 92d3bff2 bfeda1b1 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/10 20:57 bpf-next 92d3bff2 bfeda1b1 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/10 19:43 bpf-next 92d3bff2 bfeda1b1 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/10 05:44 net-next 626b598a 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/10 00:32 bpf-next 92d3bff2 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/09 18:06 bpf-next 92d3bff2 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/09 14:17 net-next 4438669e 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/08 21:07 bpf-next 957dca3d 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/08 18:46 bpf-next 957dca3d 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/08 12:23 bpf-next 957dca3d 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/07 21:09 net-next be107538 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/07 14:30 net-next be107538 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/07 06:22 bpf-next 928dc406 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/07 05:15 bpf-next 928dc406 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/06 07:39 bpf-next 1e1032b0 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/06 03:06 net-next 514e1150 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/05 17:54 net-next 7d42e84e 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/05 11:58 bpf-next f73ea1eb 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/05 11:09 bpf-next f73ea1eb 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/05 10:06 bpf-next f73ea1eb 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/05 09:33 bpf-next f73ea1eb 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/04 20:28 bpf-next f73ea1eb 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-net-kasan-gce 2021/04/04 18:04 net-next 7d42e84e 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/04 11:58 bpf-next f73ea1eb 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/03 22:09 bpf-next f07669df 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/03 01:00 bpf-next 89d69c5d 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-bpf-next-kasan-gce 2021/04/02 09:13 bpf-next 89d69c5d 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-linux-next-kasan-gce-root 2021/04/10 12:36 linux-next e99d8a84 bfeda1b1 .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-linux-next-kasan-gce-root 2021/04/07 16:09 linux-next 5103a5be 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-linux-next-kasan-gce-root 2021/04/06 17:09 linux-next 9c54130c 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop
ci-upstream-linux-next-kasan-gce-root 2021/04/06 14:12 linux-next 9c54130c 6a81331a .config log report info KASAN: use-after-free Read in sk_psock_stop