syzbot


WARNING in __brelse (2)

Status: upstream: reported on 2024/11/22 14:30
Reported-by: syzbot+8a8d40795a0c98cec549@syzkaller.appspotmail.com
First crash: 60d, last: 8d15h
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __brelse (3) exfat C done done 1113 4d22h 545d 0/28 upstream: reported C repro on 2023/07/26 14:30
android-49 WARNING in __brelse C 6 2120d 2110d 0/3 public: reported C repro on 2019/04/14 00:00
upstream WARNING in __brelse udf C inconclusive 22 704d 846d 22/28 fixed on 2023/02/24 13:50
linux-4.14 WARNING in __brelse vfs udf C 6 707d 813d 0/1 upstream: reported C repro on 2022/10/31 19:01
linux-6.1 WARNING in __brelse 8 267d 324d 0/3 auto-obsoleted due to no activity on 2024/08/08 10:26
linux-5.15 WARNING in __brelse (2) 7 5d09h 173d 0/3 upstream: reported on 2024/08/02 08:59
android-414 WARNING in __brelse C 10 2120d 2112d 0/1 public: reported C repro on 2019/04/12 00:00
upstream WARNING in __brelse (2) udf 1 696d 692d 0/28 auto-obsoleted due to no activity on 2023/06/25 16:51
linux-5.15 WARNING in __brelse 1 647d 647d 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 688d 844d 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: 6389 at fs/buffer.c:1145 __brelse+0x6b/0x90 fs/buffer.c:1145
Modules linked in:
CPU: 1 PID: 6389 Comm: syz.5.450 Not tainted 6.1.124-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__brelse+0x6b/0x90 fs/buffer.c:1145
Code: 74 17 e8 b8 0c 89 ff 48 89 df be 04 00 00 00 e8 6b a4 e0 ff f0 ff 0b eb 13 e8 a1 0c 89 ff 48 c7 c7 e0 11 1a 8b e8 55 26 51 ff <0f> 0b 5b 5d c3 89 d9 80 e1 07 80 c1 03 38 c1 7c b8 48 89 df e8 8c
RSP: 0018:ffffc90004cf7bd8 EFLAGS: 00010246
RAX: be276a633d238800 RBX: ffff888056a7a318 RCX: 0000000000080000
RDX: ffffc9001c509000 RSI: 000000000002febe RDI: 000000000002febf
RBP: 0000000000000000 R08: ffffffff8152b84e R09: fffff5200099ef1d
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888056a7a2b8
R13: ffff8880579ed400 R14: ffff888056a7a2b8 R15: ffff88802f442000
FS:  00007ff243c496c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558c368b1008 CR3: 000000004e8f1000 CR4: 00000000003506e0
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:0x7ff242d874ca
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:00007ff243c48e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ff243c48ef0 RCX: 00007ff242d874ca
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ff243c48eb0
RBP: 0000000020000000 R08: 00007ff243c48ef0 R09: 0000000002000412
R10: 0000000002000412 R11: 0000000000000246 R12: 0000000020000100
R13: 00007ff243c48eb0 R14: 0000000000009eb5 R15: 0000000020000140
 </TASK>

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/13 19:36 linux-6.1.y c63962be84ef 249ceea9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __brelse
2025/01/11 06:45 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __brelse
2024/12/26 09:26 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __brelse
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.