syzbot


WARNING in __brelse (2)

Status: upstream: reported on 2024/11/22 14:30
Reported-by: syzbot+8a8d40795a0c98cec549@syzkaller.appspotmail.com
First crash: 11d, last: 11d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __brelse (3) exfat C done done 265 58m 496d 0/28 upstream: reported C repro on 2023/07/26 14:30
android-49 WARNING in __brelse C 6 2071d 2061d 0/3 public: reported C repro on 2019/04/14 00:00
upstream WARNING in __brelse udf C inconclusive 22 655d 797d 22/28 fixed on 2023/02/24 13:50
linux-4.14 WARNING in __brelse vfs udf C 6 658d 764d 0/1 upstream: reported C repro on 2022/10/31 19:01
linux-6.1 WARNING in __brelse 8 217d 275d 0/3 auto-obsoleted due to no activity on 2024/08/08 10:26
linux-5.15 WARNING in __brelse (2) 4 11d 123d 0/3 upstream: reported on 2024/08/02 08:59
android-414 WARNING in __brelse C 10 2071d 2063d 0/1 public: reported C repro on 2019/04/12 00:00
upstream WARNING in __brelse (2) udf 1 647d 643d 0/28 auto-obsoleted due to no activity on 2023/06/25 16:51
linux-5.15 WARNING in __brelse 1 598d 598d 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 639d 795d 0/1 upstream: reported C repro on 2022/10/01 01:04

Sample crash report:
VFS: Found a Xenix FS (block size = 1024) on device loop6
Bad inode number on dev loop6: 2 is out of range
SysV FS: get root inode failed
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 5550 at fs/buffer.c:1145 __brelse+0x6b/0x90 fs/buffer.c:1145
Modules linked in:
CPU: 0 PID: 5550 Comm: syz.6.263 Not tainted 6.1.118-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:__brelse+0x6b/0x90 fs/buffer.c:1145
Code: 74 17 e8 48 20 89 ff 48 89 df be 04 00 00 00 e8 3b a5 e0 ff f0 ff 0b eb 13 e8 31 20 89 ff 48 c7 c7 a0 0d 1a 8b e8 35 3a 51 ff <0f> 0b 5b 5d c3 89 d9 80 e1 07 80 c1 03 38 c1 7c b8 48 89 df e8 5c
RSP: 0018:ffffc90003327bd8 EFLAGS: 00010246
RAX: f7656b8d91b42300 RBX: ffff8880562b16b8 RCX: 0000000000080000
RDX: ffffc90015d8f000 RSI: 000000000001621a RDI: 000000000001621b
RBP: 0000000000000000 R08: ffffffff8152a88e R09: fffff52000664edd
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880562b1658
R13: ffff888057062800 R14: ffff8880562b1658 R15: ffff888079780000
FS:  00007fb708c0f6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555595107808 CR3: 000000007c860000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 brelse include/linux/buffer_head.h:326 [inline]
 sysv_fill_super+0x69e/0x790 fs/sysv/super.c:417
 mount_bdev+0x2c9/0x3f0 fs/super.c:1443
 legacy_get_tree+0xeb/0x180 fs/fs_context.c:632
 vfs_get_tree+0x88/0x270 fs/super.c:1573
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3056
 do_mount fs/namespace.c:3399 [inline]
 __do_sys_mount fs/namespace.c:3607 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3584
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb707d7ffba
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb708c0ee68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fb708c0eef0 RCX: 00007fb707d7ffba
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fb708c0eeb0
RBP: 0000000020000000 R08: 00007fb708c0eef0 R09: 0000000002000413
R10: 0000000002000413 R11: 0000000000000246 R12: 0000000020000100
R13: 00007fb708c0eeb0 R14: 0000000000009eb5 R15: 0000000020000140
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/22 14:29 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __brelse
* Struck through repros no longer work on HEAD.