syzbot


WARNING in __find_get_block

Status: auto-obsoleted due to no activity on 2024/10/20 14:44
Reported-by: syzbot+cda52a9b94d0306360df@syzkaller.appspotmail.com
First crash: 153d, last: 153d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in __find_get_block ext4 5 703d 803d 0/28 auto-obsoleted due to no activity on 2023/05/09 20:00
linux-5.15 WARNING in __find_get_block 4 179d 181d 0/3 auto-obsoleted due to no activity on 2024/09/24 23:36
upstream WARNING in __find_get_block (2) udf 69 17m 19d 0/28 upstream: reported on 2024/11/23 13:14

Sample crash report:
------------[ cut here ]------------
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 5494 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline]
WARNING: CPU: 0 PID: 5494 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline]
WARNING: CPU: 0 PID: 5494 at fs/buffer.c:1145 bh_lru_install fs/buffer.c:1259 [inline]
WARNING: CPU: 0 PID: 5494 at fs/buffer.c:1145 __find_get_block+0x1006/0x1120 fs/buffer.c:1309
Modules linked in:
CPU: 0 PID: 5494 Comm: syz.1.402 Not tainted 6.1.98-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
RIP: 0010:__brelse fs/buffer.c:1145 [inline]
RIP: 0010:brelse include/linux/buffer_head.h:326 [inline]
RIP: 0010:bh_lru_install fs/buffer.c:1259 [inline]
RIP: 0010:__find_get_block+0x1006/0x1120 fs/buffer.c:1309
Code: b0 5f 89 ff e8 4b 22 90 ff fb e9 dd f2 ff ff e8 a0 5f 89 ff e9 d3 f2 ff ff e8 96 5f 89 ff 48 c7 c7 60 fb f9 8a e8 1a 5a 51 ff <0f> 0b e9 bb f2 ff ff 44 89 f9 80 e1 07 38 c1 0f 8c 7f f3 ff ff 4c
RSP: 0018:ffffc9000348f000 EFLAGS: 00010246
RAX: 274dd8f10e5fdc00 RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc90003db1000 RSI: 0000000000022d46 RDI: 0000000000022d47
RBP: ffffc9000348f140 R08: ffffffff8152936e R09: fffff52000691d61
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff11017306d36
R13: ffff88805e79c740 R14: ffff88805ad860e8 R15: ffff88805e4aca58
FS:  00007fa5cd8d46c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa5cd891fa8 CR3: 000000007ef31000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __getblk_gfp+0x2d/0xa20 fs/buffer.c:1329
 __bread_gfp+0x2a/0x370 fs/buffer.c:1367
 sb_bread include/linux/buffer_head.h:338 [inline]
 fat__get_entry fs/fat/dir.c:100 [inline]
 fat_get_entry+0x78b/0xae0 fs/fat/dir.c:128
 fat_get_short_entry fs/fat/dir.c:873 [inline]
 fat_scan+0x18a/0x3a0 fs/fat/dir.c:958
 vfat_find_form fs/fat/namei_vfat.c:239 [inline]
 vfat_create_shortname fs/fat/namei_vfat.c:487 [inline]
 vfat_build_slots fs/fat/namei_vfat.c:611 [inline]
 vfat_add_entry+0x20b3/0x34d0 fs/fat/namei_vfat.c:672
 vfat_create+0x18b/0x300 fs/fat/namei_vfat.c:771
 lookup_open fs/namei.c:3484 [inline]
 open_last_lookups fs/namei.c:3552 [inline]
 path_openat+0x12f1/0x2e60 fs/namei.c:3782
 do_filp_open+0x230/0x480 fs/namei.c:3812
 do_sys_openat2+0x13b/0x4f0 fs/open.c:1318
 do_sys_open fs/open.c:1334 [inline]
 __do_sys_openat fs/open.c:1350 [inline]
 __se_sys_openat fs/open.c:1345 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1345
 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:0x7fa5ccb75bd9
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:00007fa5cd8d4048 EFLAGS: 00000246
 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fa5ccd03f60 RCX: 00007fa5ccb75bd9
RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c
RBP: 00007fa5ccbe4e60 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa5ccd03f60 R15: 00007fff19306958
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/12 14:43 linux-6.1.y 266ee8e06d5b eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in __find_get_block
* Struck through repros no longer work on HEAD.