syzbot


WARNING in __brelse (2)

Status: upstream: reported on 2024/08/02 08:59
Reported-by: syzbot+297fdbaedf1207c57154@syzkaller.appspotmail.com
First crash: 43d, last: 43d
Similar bugs (9)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __brelse (3) fs C done done 21 19d 416d 0/28 upstream: reported C repro on 2023/07/26 14:30
android-49 WARNING in __brelse C 6 1991d 1980d 0/3 public: reported C repro on 2019/04/14 00:00
upstream WARNING in __brelse udf C inconclusive 22 574d 717d 22/28 fixed on 2023/02/24 13:50
linux-4.14 WARNING in __brelse vfs udf C 6 577d 684d 0/1 upstream: reported C repro on 2022/10/31 19:01
linux-6.1 WARNING in __brelse 8 137d 195d 0/3 auto-obsoleted due to no activity on 2024/08/08 10:26
android-414 WARNING in __brelse C 10 1991d 1982d 0/1 public: reported C repro on 2019/04/12 00:00
upstream WARNING in __brelse (2) udf 1 567d 563d 0/28 auto-obsoleted due to no activity on 2023/06/25 16:51
linux-5.15 WARNING in __brelse 1 517d 517d 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 558d 714d 0/1 upstream: reported C repro on 2022/10/01 01:04

Sample crash report:
RBP: 00007ff095b0c0a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000bc0 R11: 0000000000000246 R12: 0000000000000002
R13: 000000000000000b R14: 00007ff09781bf80 R15: 00007ffc8b63e4e8
 </TASK>
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 5428 at fs/buffer.c:1148 __brelse+0x6b/0x90 fs/buffer.c:1148
Modules linked in:
CPU: 0 PID: 5428 Comm: syz.1.288 Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__brelse+0x6b/0x90 fs/buffer.c:1148
Code: 74 17 e8 f8 a9 9a ff 48 89 df be 04 00 00 00 e8 6b 7f e4 ff f0 ff 0b eb 13 e8 e1 a9 9a ff 48 c7 c7 a0 6c 97 8a e8 65 4c 66 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:ffffc90002f87868 EFLAGS: 00010246
RAX: 42672adff2dd5700 RBX: ffff888063d475d0 RCX: ffff8880769dbb80
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8166892c R09: ffffed10173467a8
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88806125ae30
R13: 1ffff920005f0f30 R14: ffff888063d47570 R15: dffffc0000000000
FS:  00007ff095b0c6c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f77b0689af0 CR3: 000000007561a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 brelse include/linux/buffer_head.h:325 [inline]
 udf_rename+0x1029/0x14d0 fs/udf/namei.c:1214
 vfs_rename+0xd32/0x10f0 fs/namei.c:4832
 do_renameat2+0xe0f/0x1700 fs/namei.c:4985
 __do_sys_renameat2 fs/namei.c:5018 [inline]
 __se_sys_renameat2 fs/namei.c:5015 [inline]
 __x64_sys_renameat2+0xce/0xe0 fs/namei.c:5015
 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:0x7ff09768d3b9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007ff095b0c048 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007ff09781bf80 RCX: 00007ff09768d3b9
RDX: ffffffffffffff9c RSI: 0000000020000b80 RDI: ffffffffffffff9c
RBP: 00007ff095b0c0a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020000bc0 R11: 0000000000000246 R12: 0000000000000002
R13: 000000000000000b R14: 00007ff09781bf80 R15: 00007ffc8b63e4e8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
* Struck through repros no longer work on HEAD.