syzbot


WARNING in __brelse

Status: public: reported C repro on 2019/04/14 00:00
Reported-by: syzbot+dea3831bfc5dae8a83d9@syzkaller.appspotmail.com
First crash: 1638d, last: 1635d
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __brelse (3) fs C done 1 46d 60d 0/25 upstream: reported C repro on 2023/07/26 14:30
upstream WARNING in __brelse udf C inconclusive 22 219d 361d 24/25 fixed on 2023/02/24 13:50
linux-4.14 WARNING in __brelse vfs udf C 6 222d 328d 0/1 upstream: reported C repro on 2022/10/31 19:01
android-414 WARNING in __brelse C 10 1635d 1627d 0/1 public: reported C repro on 2019/04/12 00:00
upstream WARNING in __brelse (2) udf 1 211d 207d 0/25 auto-obsoleted due to no activity on 2023/06/25 16:51
linux-5.15 WARNING in __brelse 1 162d 162d 0/3 auto-obsoleted due to no activity on 2023/08/14 05:07
linux-4.19 WARNING in __brelse vfs reiserfs ext4 udf C 43 203d 359d 0/1 upstream: reported C repro on 2022/10/01 01:04

Sample crash report:
random: crng init done
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2060 at fs/buffer.c:1197 __brelse fs/buffer.c:1197 [inline]
WARNING: CPU: 0 PID: 2060 at fs/buffer.c:1197 __brelse+0x6c/0x80 fs/buffer.c:1191
VFS: brelse: Trying to free free buffer
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2060 Comm: syz-executor543 Not tainted 4.9.166+ #35
 ffff8801cedaf8b0 ffffffff81b4ef81 ffff8801cedafa00 ffffffff82a39ba0
 00000000ffffffff 0000000000000000 0000000000000009 ffff8801cedaf990
 ffffffff813f91aa 0000000041b58ab3 ffffffff82e2ec1a ffffffff813f8fd1
Call Trace:
 [<00000000034285cb>] __dump_stack lib/dump_stack.c:15 [inline]
 [<00000000034285cb>] dump_stack+0xc1/0x120 lib/dump_stack.c:51
 [<0000000027e5214a>] panic+0x1d9/0x3bd kernel/panic.c:180
 [<00000000fc65cc8a>] __warn.cold+0x2f/0x2f kernel/panic.c:546
 [<00000000370e8802>] warn_slowpath_fmt+0xc2/0x100 kernel/panic.c:569
 [<00000000f6ca6260>] __brelse fs/buffer.c:1197 [inline]
 [<00000000f6ca6260>] __brelse+0x6c/0x80 fs/buffer.c:1191
 [<000000001bf99807>] brelse include/linux/buffer_head.h:288 [inline]
 [<000000001bf99807>] ext4_ind_remove_space+0xfa3/0x13e0 fs/ext4/indirect.c:1390
 [<00000000017d29df>] ext4_punch_hole+0xb28/0x1000 fs/ext4/inode.c:4104
 [<0000000043d49354>] ext4_fallocate+0x34e/0x2070 fs/ext4/extents.c:4951
 [<000000006e11dd45>] vfs_fallocate+0x407/0x6a0 fs/open.c:329
 [<00000000daca6fc8>] SYSC_fallocate fs/open.c:352 [inline]
 [<00000000daca6fc8>] SyS_fallocate+0x52/0x90 fs/open.c:346
 [<000000000200ae04>] do_syscall_64+0x1ad/0x570 arch/x86/entry/common.c:285
 [<00000000ad22cc6b>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/03/31 21:53 https://android.googlesource.com/kernel/common android-4.9 5f5c16578d2b 0c624d4d .config console log report syz C ci-android-49-kasan-gce-root
2019/04/03 15:46 https://android.googlesource.com/kernel/common android-4.9 e1a8babe929c dfd3394d .config console log report ci-android-49-kasan-gce-root
2019/03/31 18:01 https://android.googlesource.com/kernel/common android-4.9 5f5c16578d2b 0c624d4d .config console log report ci-android-49-kasan-gce-root
2019/03/31 17:33 https://android.googlesource.com/kernel/common android-4.9 5f5c16578d2b 0c624d4d .config console log report ci-android-49-kasan-gce-root
2019/03/31 15:31 https://android.googlesource.com/kernel/common android-4.9 5f5c16578d2b 0c624d4d .config console log report ci-android-49-kasan-gce-root
2019/03/31 15:12 https://android.googlesource.com/kernel/common android-4.9 5f5c16578d2b 0c624d4d .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.