general protection fault in block_is_partially_uptodate

4 views
Skip to first unread message

syzbot

unread,
May 31, 2022, 12:04:26 PM5/31/22
to syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 8291eaafed36 Merge tag 'mm-stable-2022-05-27' of git://git..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1702504df00000
kernel config: https://syzkaller.appspot.com/x/.config?x=34cecf6c08cd4065
dashboard link: https://syzkaller.appspot.com/bug?extid=5412e514b86a63bc0691
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [linux-...@vger.kernel.org linux-...@vger.kernel.org vi...@zeniv.linux.org.uk]

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+5412e5...@syzkaller.appspotmail.com

general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 15305 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-10139-g8291eaafed36 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
RIP: 0010:block_is_partially_uptodate+0x154/0x610 fs/buffer.c:2240
Code: 39 e3 0f 87 5e 01 00 00 48 8b 1c 24 31 ed eb 32 e8 e1 5c 95 ff 48 8d 7b 08 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 10 04 00 00 48 8b 5b 08 48 3b 1c 24 0f 84 93 00
RSP: 0000:ffffc900036afba0 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000040000 RSI: ffffffff81e443ff RDI: 0000000000000008
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000001000 R15: 0000000000000000
FS: 00007fef925f1700(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b3354b000 CR3: 000000001bf30000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
folio_seek_hole_data mm/filemap.c:2850 [inline]
mapping_seek_hole_data+0xc29/0x1330 mm/filemap.c:2911
iomap_seek_data_iter fs/iomap/seek.c:68 [inline]
iomap_seek_data+0x137/0x2c0 fs/iomap/seek.c:96
ext4_llseek+0x272/0x2e0 fs/ext4/file.c:902
vfs_llseek fs/read_write.c:300 [inline]
ksys_lseek+0x14f/0x1b0 fs/read_write.c:313
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fef91489109
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fef925f1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000008
RAX: ffffffffffffffda RBX: 00007fef9159c030 RCX: 00007fef91489109
RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007fef914e308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc21d5c4bf R14: 00007fef925f1300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:block_is_partially_uptodate+0x154/0x610 fs/buffer.c:2240
Code: 39 e3 0f 87 5e 01 00 00 48 8b 1c 24 31 ed eb 32 e8 e1 5c 95 ff 48 8d 7b 08 48 b9 00 00 00 00 00 fc ff df 48 89 f8 48 c1 e8 03 <80> 3c 08 00 0f 85 10 04 00 00 48 8b 5b 08 48 3b 1c 24 0f 84 93 00
RSP: 0000:ffffc900036afba0 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000000 RCX: dffffc0000000000
RDX: 0000000000040000 RSI: ffffffff81e443ff RDI: 0000000000000008
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000001000 R15: 0000000000000000
FS: 00007fef925f1700(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33561000 CR3: 000000001bf30000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 39 e3 cmp %esp,%ebx
2: 0f 87 5e 01 00 00 ja 0x166
8: 48 8b 1c 24 mov (%rsp),%rbx
c: 31 ed xor %ebp,%ebp
e: eb 32 jmp 0x42
10: e8 e1 5c 95 ff callq 0xff955cf6
15: 48 8d 7b 08 lea 0x8(%rbx),%rdi
19: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
20: fc ff df
23: 48 89 f8 mov %rdi,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction
2e: 0f 85 10 04 00 00 jne 0x444
34: 48 8b 5b 08 mov 0x8(%rbx),%rbx
38: 48 3b 1c 24 cmp (%rsp),%rbx
3c: 0f .byte 0xf
3d: 84 .byte 0x84
3e: 93 xchg %eax,%ebx


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Sep 17, 2022, 4:09:28 PM9/17/22
to syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages