syzbot


kernel BUG at fs/buffer.c:LINE!

Status: fixed on 2020/09/01 18:34
Reported-by: syzbot+0b3fae6fc3c4feb104a4@syzkaller.appspotmail.com
Fix commit: 954fc7da99a9 fs/minix: reject too-large maximum file size
First crash: 1809d, last: 1356d
Fix bisection: fixed by (bisect log) :
commit 954fc7da99a9513d5e6b3ccf38f6f7c9af5a276d
Author: Eric Biggers <ebiggers@google.com>
Date: Wed Aug 12 01:35:30 2020 +0000

  fs/minix: reject too-large maximum file size

  
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG at fs/buffer.c:LINE! nilfs C done error 567 10d 2191d 26/26 fixed on 2024/04/10 03:59
android-49 kernel BUG at fs/buffer.c:LINE! 5 2090d 2145d 0/3 auto-closed as invalid on 2019/02/22 13:09
linux-4.14 kernel BUG at fs/buffer.c:LINE! C error 59 423d 1818d 0/1 upstream: reported C repro on 2019/04/27 19:47
linux-4.19 kernel BUG at fs/buffer.c:LINE! (2) udf ext4 C error 31 430d 1244d 0/1 upstream: reported C repro on 2020/11/21 07:48
android-54 kernel BUG at fs/buffer.c:LINE! ext4 C 182 1h02m 1549d 0/2 upstream: reported C repro on 2020/01/21 13:12
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2020/09/01 01:31 4h03m bisect fix linux-4.19.y job log (1)
2020/08/02 00:50 40m bisect fix linux-4.19.y job log (0) log
2020/03/22 04:32 28m bisect fix linux-4.19.y job log (0) log
2020/02/21 04:05 27m bisect fix linux-4.19.y job log (0) log
2020/01/22 00:52 28m bisect fix linux-4.19.y job log (0) log

Sample crash report:
MINIX-fs: mounting unchecked file system, running fsck is recommended
MINIX-fs: mounting unchecked file system, running fsck is recommended
MINIX-fs: mounting unchecked file system, running fsck is recommended
------------[ cut here ]------------
kernel BUG at fs/buffer.c:3065!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 15804 Comm: syz-executor.0 Not tainted 4.19.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:submit_bh_wbc+0x5e5/0x760 fs/buffer.c:3065
Code: 10 4c 8d 7b 20 48 89 44 24 08 e9 3e fc ff ff e8 e1 82 b1 ff f0 80 63 01 f7 e9 4d fb ff ff e8 d2 82 b1 ff 0f 0b e8 cb 82 b1 ff <0f> 0b e8 c4 82 b1 ff 0f 0b e8 bd 82 b1 ff 0f 0b e8 b6 82 b1 ff 0f
RSP: 0018:ffff888073cb7b48 EFLAGS: 00010293
RAX: ffff88808b10a580 RBX: ffff8880802289d8 RCX: ffffffff81b82001
RDX: 0000000000000000 RSI: ffffffff81b82575 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000008
FS:  00007fe475312700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000a4d1a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 submit_bh fs/buffer.c:3112 [inline]
 __bread_slow fs/buffer.c:1176 [inline]
 __bread_gfp+0x14e/0x300 fs/buffer.c:1369
 sb_bread include/linux/buffer_head.h:309 [inline]
 minix_fill_super+0x936/0x1a10 fs/minix/inode.c:255
 mount_bdev+0x2fc/0x3b0 fs/super.c:1158
 mount_fs+0xa3/0x30c fs/super.c:1261
 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
 vfs_kern_mount fs/namespace.c:951 [inline]
 do_new_mount fs/namespace.c:2469 [inline]
 do_mount+0x113c/0x2f10 fs/namespace.c:2799
 ksys_mount+0xcf/0x130 fs/namespace.c:3015
 __do_sys_mount fs/namespace.c:3029 [inline]
 __se_sys_mount fs/namespace.c:3026 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3026
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45f57a
Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 8c fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 8c fb ff c3 66 0f 1f 84 00 00 00 00 00
RSP: 002b:00007fe475311a68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 000000000050a2a0 RCX: 000000000045f57a
RDX: 00007fe475311ae0 RSI: 0000000020000080 RDI: 00007fe475311b00
RBP: 000000000078bf00 R08: 00007fe475311b40 R09: 00007fe475311ae0
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000c31 R14: 00000000004ce829 R15: 00007fe4753126d4
Modules linked in:
minix_free_inode: bit 1 already cleared
minix_free_inode: bit 1 already cleared
minix_free_inode: bit 1 already cleared
---[ end trace bcd54bf0a8406327 ]---
minix_free_inode: bit 1 already cleared
RIP: 0010:submit_bh_wbc+0x5e5/0x760 fs/buffer.c:3065
Code: 10 4c 8d 7b 20 48 89 44 24 08 e9 3e fc ff ff e8 e1 82 b1 ff f0 80 63 01 f7 e9 4d fb ff ff e8 d2 82 b1 ff 0f 0b e8 cb 82 b1 ff <0f> 0b e8 c4 82 b1 ff 0f 0b e8 bd 82 b1 ff 0f 0b e8 b6 82 b1 ff 0f
RSP: 0018:ffff888073cb7b48 EFLAGS: 00010293
RAX: ffff88808b10a580 RBX: ffff8880802289d8 RCX: ffffffff81b82001
RDX: 0000000000000000 RSI: ffffffff81b82575 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000008
minix_free_inode: bit 1 already cleared
FS:  00007fe475312700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000043e360 CR3: 00000000a4d1a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/03 00:50 linux-4.19.y 399849e4654e f30c14bf .config console log report syz ci2-linux-4-19
2019/12/18 08:44 linux-4.19.y 7d120bf21c05 64ca0a37 .config console log report syz ci2-linux-4-19
2020/06/21 11:52 linux-4.19.y 3fc898571b97 4f2acff9 .config console log report ci2-linux-4-19
2020/06/06 19:19 linux-4.19.y 4707d8e57273 e6b89e4e .config console log report ci2-linux-4-19
2020/06/01 18:36 linux-4.19.y 2d16cf4817bc a0331e89 .config console log report ci2-linux-4-19
2020/05/23 14:07 linux-4.19.y 1bab61d3e8cd 4afdfa20 .config console log report ci2-linux-4-19
2020/05/15 09:47 linux-4.19.y 258f0cf7ac3b 2d572622 .config console log report ci2-linux-4-19
2020/04/28 21:37 linux-4.19.y 7edd66cf6167 e3ecea2e .config console log report ci2-linux-4-19
2020/04/28 13:38 linux-4.19.y 7edd66cf6167 e3ecea2e .config console log report ci2-linux-4-19
2020/04/27 07:50 linux-4.19.y 7edd66cf6167 0ce7569e .config console log report ci2-linux-4-19
2020/03/30 17:02 linux-4.19.y 54b4fa6d3955 c8d1cc20 .config console log report ci2-linux-4-19
2019/12/23 00:52 linux-4.19.y 672481c2deff 8b967267 .config console log report ci2-linux-4-19
2019/12/21 21:56 linux-4.19.y 672481c2deff bc586918 .config console log report ci2-linux-4-19
2019/11/23 19:46 linux-4.19.y c63ee2939dc1 598ca6c8 .config console log report ci2-linux-4-19
2019/10/06 22:06 linux-4.19.y 6cad9d0cf87b f3f7d9c8 .config console log report ci2-linux-4-19
2019/10/05 09:48 linux-4.19.y 555161ee1b7a f3f7d9c8 .config console log report ci2-linux-4-19
2019/09/25 06:33 linux-4.19.y d573e8a79f70 e38a6630 .config console log report ci2-linux-4-19
2019/09/20 02:21 linux-4.19.y dbc29aff8d04 4d3ae0b7 .config console log report ci2-linux-4-19
2019/09/09 21:02 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/08/23 15:52 linux-4.19.y a5aa80588fcd 78ded196 .config console log report ci2-linux-4-19
2019/08/16 17:40 linux-4.19.y a5aa80588fcd 8fd428a1 .config console log report ci2-linux-4-19
2019/06/12 04:25 linux-4.19.y 768292d05361 ea2f4006 .config console log report ci2-linux-4-19
2019/05/06 17:55 linux-4.19.y 1656b1457209 148296f4 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.