syzbot


KASAN: use-after-free Read in lock_sock_nested
Status: upstream: reported C repro on 2019/01/02 10:41
Reported-by: syzbot+500c69d1e21d970e461b@syzkaller.appspotmail.com
First crash: 460d, last: 159d

Cause bisection: the bug happens on the oldest tested release
Crash: inconsistent lock state in nr_find_socket (log)
Repro: syz .config

Fix bisection: fixed by (bisect log):

commit a07e3324538a989b7cdbf2c679be6a7f9df2544f
Author: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Date: Mon May 13 11:47:25 2019 +0000

  MIPS: kernel: only use i8253 clocksource with periodic clockevent

similar bugs (4):
Kernel Title Repro Bisected Count Last Reported Patched Status
linux-4.19 KASAN: use-after-free Read in lock_sock_nested syz 2 2d13h 254d 0/1 upstream: reported syz repro on 2019/07/26 21:27
linux-4.14 KASAN: use-after-free Read in lock_sock_nested syz 48 2d21h 348d 0/1 upstream: reported syz repro on 2019/04/24 06:28
android-44 KASAN: use-after-free Read in lock_sock_nested C 40 590d 361d 0/2 public: reported C repro on 2019/04/11 08:44
android-49 KASAN: use-after-free Read in lock_sock_nested C 39 592d 786d 0/3 closed as invalid on 2019/03/07 05:41

Sample crash report:

Crashes (22):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro Maintainers
ci-upstream-kasan-gce-smack-root 2019/07/27 09:44 upstream 3ea54d9b c85e1c5b .config log report syz C davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-linux-next-kasan-gce-root 2019/02/15 05:24 linux-next b3418f8b 76dd003f .config log report syz davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-root 2019/08/03 18:12 upstream dcb8cfbd 6affd8e8 .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-selinux-root 2019/08/01 10:34 upstream 5c620753 c692b5bd .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-root 2019/07/28 10:47 upstream 5168afe6 c85e1c5b .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-root 2019/07/27 06:40 upstream 3ea54d9b c85e1c5b .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-smack-root 2019/07/27 06:39 upstream 3ea54d9b c85e1c5b .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-root 2019/07/27 06:36 upstream 3ea54d9b c85e1c5b .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-smack-root 2019/07/25 00:08 upstream bed38c3e 32329ceb .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-smack-root 2019/04/24 05:04 upstream 7142eaa5 4d3d6a50 .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-selinux-root 2019/02/15 08:35 upstream cb5b020a 76dd003f .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-kasan-gce-selinux-root 2019/01/01 20:21 upstream e1ef035d 3d85f48c .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-net-this-kasan-gce 2019/07/30 23:36 net 107e47cc 7c7ded69 .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-net-this-kasan-gce 2019/07/27 16:32 net 107e47cc c85e1c5b .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-net-this-kasan-gce 2019/07/26 19:01 net 107e47cc 3e5d1beb .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-net-this-kasan-gce 2019/07/20 06:35 net 31cc088a 1656845f .config log report
ci-upstream-net-this-kasan-gce 2019/06/02 06:42 net e8d67fa5 53c81ea5 .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-net-kasan-gce 2019/10/30 18:26 net-next 74923441 5ea87a66 .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-net-kasan-gce 2019/07/31 01:54 net-next 31cc088a 7c7ded69 .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-net-kasan-gce 2019/07/24 23:02 net-next 31cc088a 32329ceb .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-net-kasan-gce 2019/03/16 10:18 net-next 3b319ee2 bab43553 .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org
ci-upstream-linux-next-kasan-gce-root 2019/07/25 22:57 linux-next 13bf6d6a 732bc5a0 .config log report davem@davemloft.net, linux-hams@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ralf@linux-mips.org