syzbot


general protection fault in block_invalidatepage

Status: auto-closed as invalid on 2020/12/08 13:52
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+7d85441eb444f9387dea@syzkaller.appspotmail.com
First crash: 1790d, last: 1790d

Sample crash report:
general protection fault, probably for non-canonical address 0xe00eeae000000ee4: 0000 [#1] PREEMPT SMP KASAN
KASAN: maybe wild-memory-access in range [0x0077770000007720-0x0077770000007727]
CPU: 1 PID: 19608 Comm: syz-executor.1 Not tainted 5.9.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:block_invalidatepage+0x2c2/0x620 fs/buffer.c:1520
Code: 54 24 08 0f 84 9a 01 00 00 48 8b 2c 24 44 89 eb e8 93 a7 a5 ff 48 8d 7d 20 48 ba 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <80> 3c 10 00 0f 85 c8 02 00 00 44 8b 6d 20 48 8d 7d 08 48 ba 00 00
RSP: 0018:ffffc90005167a18 EFLAGS: 00010206
RAX: 000eeee000000ee4 RBX: 0000000000000000 RCX: ffffc90004104000
RDX: dffffc0000000000 RSI: ffffffff81cea5ed RDI: 0077770000007720
RBP: 0077770000007700 R08: 0000000000000001 R09: ffff88802009fb27
R10: ffffed1004013f64 R11: 0000000000000000 R12: ffffea000148cb00
R13: 0000000000000000 R14: 0000770000007704 R15: 0000000000001000
FS:  0000000000000000(0000) GS:ffff8880ae700000(0063) knlGS:00000000f5528b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000f5568db0 CR3: 00000000513af000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 do_invalidatepage mm/truncate.c:163 [inline]
 truncate_cleanup_page+0x3c8/0x5a0 mm/truncate.c:185
 truncate_inode_pages_range+0x54a/0x16a0 mm/truncate.c:365
 blk_ioctl_zeroout block/ioctl.c:170 [inline]
 blkdev_common_ioctl+0xae2/0x1760 block/ioctl.c:510
 compat_blkdev_ioctl+0x33e/0x8c0 block/ioctl.c:689
 __do_compat_sys_ioctl+0x1d3/0x230 fs/ioctl.c:842
 do_syscall_32_irqs_on arch/x86/entry/common.c:78 [inline]
 __do_fast_syscall_32+0x60/0x90 arch/x86/entry/common.c:137
 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:160
 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf7f2e549
Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 002b:00000000f55280cc EFLAGS: 00000296 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000000127f
RDX: 0000000020000080 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Modules linked in:
---[ end trace 9268367a25209aa2 ]---
RIP: 0010:block_invalidatepage+0x2c2/0x620 fs/buffer.c:1520
Code: 54 24 08 0f 84 9a 01 00 00 48 8b 2c 24 44 89 eb e8 93 a7 a5 ff 48 8d 7d 20 48 ba 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <80> 3c 10 00 0f 85 c8 02 00 00 44 8b 6d 20 48 8d 7d 08 48 ba 00 00
RSP: 0018:ffffc90005167a18 EFLAGS: 00010206
RAX: 000eeee000000ee4 RBX: 0000000000000000 RCX: ffffc90004104000
RDX: dffffc0000000000 RSI: ffffffff81cea5ed RDI: 0077770000007720
RBP: 0077770000007700 R08: 0000000000000001 R09: ffff88802009fb27
R10: ffffed1004013f64 R11: 0000000000000000 R12: ffffea000148cb00
R13: 0000000000000000 R14: 0000770000007704 R15: 0000000000001000
FS:  0000000000000000(0000) GS:ffff8880ae700000(0063) knlGS:00000000f5528b40
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 00000000081590f0 CR3: 00000000513af000 CR4: 00000000001526e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/09 13:51 upstream 34d4ddd359db 0ea7a887 .config console log report ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.