syzbot


KASAN: use-after-free Read in idr_for_each (2)
Status: fixed on 2021/04/19 22:36
Reported-by: syzbot+12056a09a0311d758e60@syzkaller.appspotmail.com
Fix commit: 61cf9370 io_uring: Convert personality_idr to XArray
First crash: 261d, last: 97d

Cause bisection: failed (bisect log)

Fix bisection: fixed by (bisect log) :
commit 61cf93700fe6359552848ed5e3becba6cd760efa
Author: Matthew Wilcox (Oracle) <willy@infradead.org>
Date: Mon Mar 8 14:16:16 2021 +0000

  io_uring: Convert personality_idr to XArray

similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KASAN: use-after-free Read in idr_for_each C 4 293d 311d 0/22 closed as dup on 2020/08/13 18:43
Patch testing requests:
Created Duration User Patch Repo Result
2021/03/19 10:42 19m asml.silence@gmail.com git://git.kernel.dk/linux-block io_uring-5.12 OK
2021/03/12 12:33 19m mail@anirudhrb.com linux-next OK
2021/03/11 19:27 18m mail@anirudhrb.com upstream report log
2020/12/18 15:47 17m asml.silence@gmail.com git://git.kernel.dk/linux-block dfea9fce29fda6f2f91161677e0e0d9b671bc099 report log

Sample crash report:

Crashes (86):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-selinux-root 2021/02/05 20:33 upstream dd86e7fa 23a562df .config log report syz C KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-root 2020/11/28 17:18 upstream c84e1efa 76b4dcc7 .config log report syz C
ci-upstream-kasan-gce-smack-root 2021/01/17 08:22 upstream 0da0a8a0 65a7a854 .config log report syz
ci-upstream-kasan-gce 2021/03/09 03:26 upstream 144c79ef 09fbf400 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-selinux-root 2021/03/03 02:49 upstream 7a7fd0de e5b64d68 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-smack-root 2021/02/26 14:45 upstream 2c87f7a3 4c37c133 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-smack-root 2021/02/26 05:09 upstream 29c395c7 76f7fc95 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce 2021/02/24 23:27 upstream 719bbd4a fcc6d71b .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-root 2021/02/22 19:11 upstream a99163e9 c26fb06b .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-root 2021/02/22 06:18 upstream 55f62bc8 a659b3f1 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce 2021/02/19 23:22 upstream f40ddce8 f689d40a .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-selinux-root 2021/02/18 14:05 upstream f40ddce8 14052202 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce 2021/02/18 02:17 upstream f40ddce8 14052202 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce 2021/02/16 23:09 upstream f40ddce8 98682e5e .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-smack-root 2021/02/11 12:39 upstream 291009f6 a52ee10a .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-root 2021/02/10 15:48 upstream e0756cfc 2bd9619f .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-root 2021/02/09 15:33 upstream e0756cfc 2bd9619f .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce 2021/02/08 23:08 upstream e0756cfc 2bd9619f .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-root 2021/02/04 22:41 upstream 61556703 42b90a7c .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-smack-root 2021/02/04 10:56 upstream 61556703 42b90a7c .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-selinux-root 2021/02/03 09:54 upstream 3aaf0a27 624dad51 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-root 2021/01/31 12:58 upstream 6642d600 fc9fd31e .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-selinux-root 2021/01/26 17:06 upstream 13391c60 55a7d4df .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-smack-root 2021/01/26 08:23 upstream f8ad8187 52e37319 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce 2021/01/25 19:24 upstream 6ee1d745 52e37319 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-smack-root 2021/01/24 08:20 upstream e1ae4b0b 52e37319 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-selinux-root 2021/01/24 01:47 upstream e1ae4b0b 52e37319 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-smack-root 2021/01/21 00:14 upstream 75439bc4 d4f4eca5 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-smack-root 2021/01/20 17:01 upstream 45dfb8a5 d4f4eca5 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-selinux-root 2021/01/19 23:02 upstream 1e2a199f 63631df1 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-smack-root 2021/01/19 13:18 upstream 1e2a199f 63631df1 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/03/10 21:59 upstream 05a59d79 764067f3 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-386 2021/03/08 05:49 upstream 144c79ef 09fbf400 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64 2021/03/08 04:47 upstream 144c79ef 09fbf400 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64 2021/02/28 06:22 upstream 5695e516 4c37c133 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64 2021/02/27 20:33 upstream 3fb6d0e0 4c37c133 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64 2021/02/25 21:32 upstream 29c395c7 76f7fc95 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/02/25 12:35 upstream 29c395c7 fcc6d71b .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64 2021/02/22 08:47 upstream 31caf8b2 a659b3f1 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/02/15 01:38 upstream f40ddce8 98682e5e .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/02/12 21:24 upstream dcc0b490 98682e5e .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/02/12 07:46 upstream dcc0b490 a5f86b15 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64 2021/02/11 18:35 upstream 291009f6 a5f86b15 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/02/07 23:21 upstream b75dba7f 2ce644fc .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/02/07 07:42 upstream 825b5991 2ce644fc .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/02/06 12:40 upstream 1e0d27fc 0655e081 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-386 2021/02/06 08:34 upstream 1e0d27fc 23a562df .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/02/02 15:08 upstream 88bb507a 19e09687 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce-386 2021/01/30 23:35 upstream 8c947645 fc9fd31e .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/01/30 00:46 upstream bec4c296 93d04185 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-arm64-compat 2021/01/28 11:51 upstream 76c057c8 eefc07f2 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-linux-next-kasan-gce-root 2021/02/06 07:10 linux-next aa2b8820 23a562df .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-linux-next-kasan-gce-root 2021/02/03 01:50 linux-next fb2a9c32 624dad51 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-linux-next-kasan-gce-root 2021/01/18 07:27 linux-next b3a3cbde fd103621 .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-riscv64 2021/03/16 13:32 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0d7588ab fdb2bb2c .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-riscv64 2021/03/13 01:23 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0d7588ab 429d8a6b .config log report info KASAN: use-after-free Read in idr_for_each
ci-qemu2-riscv64 2021/03/11 01:11 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0d7588ab 764067f3 .config log report info KASAN: use-after-free Read in idr_for_each
ci-upstream-kasan-gce 2021/01/17 10:32 upstream 0da0a8a0 65a7a854 .config log report info
ci-upstream-kasan-gce-selinux-root 2020/11/22 03:53 upstream a349e4c6 0d27f508 .config log report info
ci-upstream-kasan-gce-root 2020/11/17 13:45 upstream 9c87c9f4 bd2a760b .config log report info
ci-upstream-kasan-gce-selinux-root 2020/11/14 18:20 upstream f01c30de 1bf9a662 .config log report info
ci-upstream-kasan-gce-root 2020/11/02 22:12 upstream 3cea11cd 8bc4594f .config log report info
ci-qemu2-arm64-mte 2021/02/23 11:17 upstream a99163e9 fcc6d71b .config log report info KASAN: invalid-access Read in idr_for_each
ci-qemu2-arm64-mte 2021/02/10 19:49 upstream e0756cfc 9c8b8541 .config log report info KASAN: invalid-access Read in idr_for_each
ci-upstream-kasan-gce-386 2020/10/03 01:53 upstream 472e5b05 4969d6ca .config log report info