syzbot


WARNING in close_fs_devices (3)
Status: upstream: reported C repro on 2020/11/28 20:17
Reported-by: syzbot+a70e2ad0879f160b9217@syzkaller.appspotmail.com
Fix commit: b2a616676839 btrfs: fix rw device counting in __btrfs_free_extra_devids
Patched on: [ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-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-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-kcsan-gce ci2-upstream-usb], missing on: [ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-upstream-kmsan-gce ci-upstream-kmsan-gce-386]
First crash: 302d, last: 53d

Cause bisection: introduced by (bisect log) :
commit 4d004099a668c41522242aa146a38cc4eb59cb1e
Author: Peter Zijlstra <peterz@infradead.org>
Date: Fri Oct 2 09:04:21 2020 +0000

  lockdep: Fix lockdep recursion

Crash: BUG: using __this_cpu_read() in preemptible code in trace_hardirqs_on (log)
Repro: C syz .config
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in close_fs_devices C 137 1162d 1205d 9/22 fixed on 2018/08/28 17:48
linux-4.19 WARNING in close_fs_devices C done 105 53d 371d 1/1 fixed on 2021/08/30 09:32
upstream WARNING in close_fs_devices (2) C 23 308d 369d 17/22 fixed on 2020/11/20 14:54
Patch testing requests:
Created Duration User Patch Repo Result
2021/07/15 08:10 20m desmondcheongzx@gmail.com patch upstream OK

Sample crash report:

Crashes (98):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2021/05/14 20:17 upstream 315d99318179 8bdd5343 .config log report syz C WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/05/14 17:36 upstream 315d99318179 8bdd5343 .config log report syz C WARNING in close_fs_devices
ci-upstream-linux-next-kasan-gce-root 2021/06/07 08:45 linux-next a1f92694393a 500c2339 .config log report syz C WARNING in close_fs_devices
ci-upstream-linux-next-kasan-gce-root 2020/11/29 13:58 linux-next 6174f05255e6 a0092f9d .config log report syz C
ci-upstream-kasan-gce-root 2021/07/30 22:04 upstream 764a5bc89b12 6c236867 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-selinux-root 2021/07/30 09:10 upstream 7e96bf476270 c585c7b0 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/29 07:31 upstream 4010a528219e 9a4781d4 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/07/28 18:22 upstream 7d549995d4e0 17d6ab15 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/07/26 05:03 upstream d8079fac1681 4d1b57d4 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/26 01:51 upstream d8079fac1681 4d1b57d4 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-selinux-root 2021/07/25 20:13 upstream 6498f6151825 4d1b57d4 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/24 18:21 upstream f0fddcec6b62 4d1b57d4 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-selinux-root 2021/07/24 05:23 upstream 8baef6386baa bc5f1d88 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/07/21 00:39 upstream 8cae8cd89f05 1b201b48 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/18 23:00 upstream 1d67c8d993ba f115ae98 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/17 22:51 upstream d980cc0620ae f115ae98 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/16 06:23 upstream dd9c7df94c1b f115ae98 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/07/15 20:48 upstream 8096acd7442e b9a2f64e .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/15 01:33 upstream 8096acd7442e 94e0b707 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/07/13 14:27 upstream 7fef2edf7cc7 f415556d .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-selinux-root 2021/07/12 16:00 upstream e73f0f0ee754 a4869c92 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/07 22:13 upstream 3dbdb38e2869 4846d5c1 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/07/07 19:04 upstream 3dbdb38e2869 4846d5c1 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/07 05:54 upstream 3dbdb38e2869 cca78469 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-selinux-root 2021/07/06 14:00 upstream 3dbdb38e2869 6c4484eb .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/07/06 03:26 upstream 3dbdb38e2869 55aa55c2 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/07/04 20:00 upstream 3dbdb38e2869 55aa55c2 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/07/01 15:36 upstream dbe69e433722 658ebc66 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/06/28 22:54 upstream 62fb9874f5da 9d2ab5df .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/06/28 11:32 upstream b4b27b9eed8e 9d2ab5df .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/06/15 08:12 upstream 009c9aa5be65 1ba81399 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/06/15 07:07 upstream 009c9aa5be65 1ba81399 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/06/07 22:50 upstream 614124bea77e e59537be .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/06/06 01:22 upstream e5220dd16778 500c2339 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/05/29 07:04 upstream 5ff2756afde0 858ea628 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/05/29 05:56 upstream 5ff2756afde0 858ea628 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/05/28 01:38 upstream d7c5303fbc8a 858ea628 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/05/26 05:56 upstream a050a6d2b7e8 93d3a9f6 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/05/24 02:39 upstream 6ebb6814a1ef 3c7fef33 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/05/19 16:50 upstream 8ac91e6c6033 a343ba6b .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-selinux-root 2021/05/13 07:16 upstream dbb5afad100a ed7d41c5 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/05/01 23:14 upstream d2b6f8a17919 77e2b668 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/04/30 04:51 upstream d2b6f8a17919 77e2b668 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-selinux-root 2021/04/23 19:29 upstream 18a3c5f7abfd 17f0b706 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/04/23 04:31 upstream 90c911ad7445 590921a5 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-smack-root 2021/04/22 07:09 upstream 16fc44d6387e 2bc8999a .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-selinux-root 2021/04/22 00:54 upstream 16fc44d6387e 2bc8999a .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/04/17 23:58 upstream 194cf4825638 7e2b734b .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/04/15 05:18 upstream 7f75285ca572 fcdb12ba .config log report info WARNING in close_fs_devices
ci-qemu-upstream-386 2021/02/02 00:34 upstream 88bb507a74ea e6b95f32 .config log report info WARNING in close_fs_devices
ci-upstream-linux-next-kasan-gce-root 2021/07/10 10:09 linux-next 92510a7fd93c 8f5a7b8c .config log report info WARNING in close_fs_devices
ci-upstream-linux-next-kasan-gce-root 2021/07/07 03:55 linux-next d72e63193059 cca78469 .config log report info WARNING in close_fs_devices
ci-upstream-linux-next-kasan-gce-root 2021/07/05 01:44 linux-next a1f92694393a 55aa55c2 .config log report info WARNING in close_fs_devices
ci-upstream-linux-next-kasan-gce-root 2021/06/13 09:35 linux-next a1f92694393a 1ba81399 .config log report info WARNING in close_fs_devices
ci-upstream-linux-next-kasan-gce-root 2021/05/31 18:11 linux-next a1f92694393a 032639db .config log report info WARNING in close_fs_devices
ci-upstream-linux-next-kasan-gce-root 2021/05/14 15:18 linux-next cd557f1c605f 8bdd5343 .config log report info WARNING in close_fs_devices
ci-upstream-kasan-gce-root 2021/01/04 15:54 upstream e71ba9452f0b 79264ae3 .config log report info
ci-upstream-kasan-gce-smack-root 2020/11/24 20:06 upstream d5beb3140f91 e34b696c .config log report info