syzbot


WARNING in __brelse (2)

Status: upstream: reported on 2024/08/02 08:59
Reported-by: syzbot+297fdbaedf1207c57154@syzkaller.appspotmail.com
First crash: 286d, last: 64d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __brelse (3) fs C done done 1118 62d 658d 0/28 upstream: reported C repro on 2023/07/26 14:30
android-49 WARNING in __brelse C 6 2233d 2223d 0/3 public: reported C repro on 2019/04/14 00:00
upstream WARNING in __brelse udf C inconclusive 22 817d 959d 22/28 fixed on 2023/02/24 13:50
linux-4.14 WARNING in __brelse vfs udf C 6 820d 926d 0/1 upstream: reported C repro on 2022/10/31 19:01
linux-6.1 WARNING in __brelse 8 380d 437d 0/3 auto-obsoleted due to no activity on 2024/08/08 10:26
linux-6.1 WARNING in __brelse (2) 4 121d 173d 0/3 auto-obsoleted due to no activity on 2025/04/23 19:37
android-414 WARNING in __brelse C 10 2233d 2225d 0/1 public: reported C repro on 2019/04/12 00:00
upstream WARNING in __brelse (2) udf 1 809d 805d 0/28 auto-obsoleted due to no activity on 2023/06/25 16:51
linux-5.15 WARNING in __brelse 1 760d 760d 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 801d 957d 0/1 upstream: reported C repro on 2022/10/01 01:04

Sample crash report:
SysV FS: get root inode failed
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 1 PID: 9824 at fs/buffer.c:1148 __brelse+0x6b/0x90 fs/buffer.c:1148
Modules linked in:
CPU: 1 PID: 9824 Comm: syz.3.1478 Not tainted 5.15.177-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:__brelse+0x6b/0x90 fs/buffer.c:1148
Code: 74 17 e8 88 8f 9a ff 48 89 df be 04 00 00 00 e8 7b 79 e4 ff f0 ff 0b eb 13 e8 71 8f 9a ff 48 c7 c7 a0 6f b7 8a e8 05 29 66 ff <0f> 0b 5b 5d c3 89 d9 80 e1 07 80 c1 03 38 c1 7c b8 48 89 df e8 9c
RSP: 0018:ffffc90003d2fbd8 EFLAGS: 00010246
RAX: 834e50c263217d00 RBX: ffff8880600634e8 RCX: 0000000000080000
RDX: ffffc9000de89000 RSI: 0000000000020130 RDI: 0000000000020131
RBP: 0000000000000000 R08: ffffffff8166aa8c R09: ffffed10171e4f24
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888060063488
R13: ffff8880784b7c00 R14: ffff888060063488 R15: ffff88807c594000
FS:  00007f6c8c3f46c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c9a98c270 CR3: 0000000059edd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 brelse include/linux/buffer_head.h:325 [inline]
 sysv_fill_super+0x69e/0x790 fs/sysv/super.c:415
 mount_bdev+0x2c9/0x3f0 fs/super.c:1400
 legacy_get_tree+0xeb/0x180 fs/fs_context.c:611
 vfs_get_tree+0x88/0x270 fs/super.c:1530
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3012
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3540
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f6c8e58c4ca
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:00007f6c8c3f3e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f6c8c3f3ef0 RCX: 00007f6c8e58c4ca
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f6c8c3f3eb0
RBP: 0000000020000000 R08: 00007f6c8c3f3ef0 R09: 0000000002000412
R10: 0000000002000412 R11: 0000000000000246 R12: 0000000020000100
R13: 00007f6c8c3f3eb0 R14: 0000000000009eb9 R15: 0000000020000400
 </TASK>

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/25 03:21 linux-5.15.y 003148680b79 1293872d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __brelse
2024/12/29 06:05 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __brelse
2024/12/22 21:27 linux-5.15.y 91786f140358 b4fbdbd4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __brelse
2024/11/05 09:49 linux-5.15.y 72244eab0dad 509da429 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __brelse
2024/08/02 08:58 linux-5.15.y 7e89efd3ae1c 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in __brelse
2025/03/12 08:11 linux-5.15.y c16c81c81336 ee70e6db .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __brelse
2025/01/25 03:05 linux-5.15.y 003148680b79 1293872d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __brelse
2025/01/17 02:22 linux-5.15.y 4735586da88e f9e07a6e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __brelse
2024/11/22 11:25 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __brelse
2024/10/19 09:02 linux-5.15.y 584a40a22cb9 cd6fc0a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in __brelse
* Struck through repros no longer work on HEAD.