syzbot


WARNING in __find_get_block

Status: auto-obsoleted due to no activity on 2023/05/09 20:00
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+250b054f84ffcf12d7f1@syzkaller.appspotmail.com
First crash: 535d, last: 434d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] WARNING in __find_get_block 1 (2) 2022/10/01 14:26

Sample crash report:
VFS: brelse: Trying to free free buffer
WARNING: CPU: 0 PID: 17942 at fs/buffer.c:1145 __brelse fs/buffer.c:1145 [inline]
WARNING: CPU: 0 PID: 17942 at fs/buffer.c:1145 brelse include/linux/buffer_head.h:326 [inline]
WARNING: CPU: 0 PID: 17942 at fs/buffer.c:1145 bh_lru_install fs/buffer.c:1259 [inline]
WARNING: CPU: 0 PID: 17942 at fs/buffer.c:1145 __find_get_block+0xfe9/0x1110 fs/buffer.c:1309
Modules linked in:
CPU: 0 PID: 17942 Comm: syz-executor.0 Not tainted 6.2.0-rc3-syzkaller-00008-g1fe4fd6f5cad #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
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+0xfe9/0x1110 fs/buffer.c:1309
Code: 8a ff e8 ca 29 91 ff fb e9 02 f3 ff ff e8 4f 77 8a ff e9 f8 f2 ff ff e8 45 77 8a ff 48 c7 c7 80 55 fe 8a 31 c0 e8 07 67 51 ff <0f> 0b e9 de f2 ff ff 44 89 f9 80 e1 07 38 c1 0f 8c a1 f3 ff ff 4c
RSP: 0018:ffffc90015f67860 EFLAGS: 00010246

RAX: 3c46efa1d4c14500 RBX: 0000000000000000 RCX: 0000000000040000
RDX: ffffc90012a31000 RSI: 0000000000003dd1 RDI: 0000000000003dd2
RBP: ffffc90015f679a8 R08: ffffffff816f2c9d R09: fffff52002bece85
R10: fffff52002bece85 R11: 1ffff92002bece84 R12: 1ffff11017306c2e
R13: ffff888012f8fcb0 R14: ffff888039481488 R15: ffff888073746148
FS:  00007fe5e6d77700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0023d7f88 CR3: 00000000263be000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __getblk_gfp+0x2d/0x290 fs/buffer.c:1329
 sb_getblk include/linux/buffer_head.h:356 [inline]
 ext4_read_inode_bitmap+0x1e9/0x1070 fs/ext4/ialloc.c:145
 __ext4_new_inode+0x1079/0x46f0 fs/ext4/ialloc.c:1055
 ext4_mkdir+0x41a/0xcf0 fs/ext4/namei.c:2992
 vfs_mkdir+0x3b3/0x590 fs/namei.c:4036
 do_mkdirat+0x25b/0x530 fs/namei.c:4061
 __do_sys_mkdir fs/namei.c:4081 [inline]
 __se_sys_mkdir fs/namei.c:4079 [inline]
 __x64_sys_mkdir+0x6a/0x80 fs/namei.c:4079
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe5e608c0c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe5e6d77168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007fe5e61abf80 RCX: 00007fe5e608c0c9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000300
RBP: 00007fe5e60e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff4b445a9f R14: 00007fe5e6d77300 R15: 0000000000022000
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/09 20:00 upstream 1fe4fd6f5cad 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __find_get_block
2022/12/09 01:50 upstream 479174d402bc 1034e5fa .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __find_get_block
2022/11/06 16:30 upstream b208b9fbbcba 6d752409 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __find_get_block
2022/10/30 10:04 upstream b229b6ca5abb 2a71366b .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in __find_get_block
2022/09/30 05:56 upstream c3e0e1e23c70 45fd7169 .config console log report info [disk image] [vmlinux] ci2-upstream-fs WARNING in __find_get_block
* Struck through repros no longer work on HEAD.