general protection fault in guard_bio_eod

瀏覽次數:4 次
跳到第一則未讀訊息

syzbot

未讀,
2023年2月5日 清晨5:29:502023/2/5
收件者:syzkaller-upst...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 66eee64b2354 Add linux-next specific files for 20230201
git tree: linux-next
console output: https://syzkaller.appspot.com/x/log.txt?x=10d39511480000
kernel config: https://syzkaller.appspot.com/x/.config?x=e14cff5442dd778f
dashboard link: https://syzkaller.appspot.com/bug?extid=9ca54f60dbb6dda1a51e
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
CC: [ax...@kernel.dk linux...@vger.kernel.org linux-...@vger.kernel.org]

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/4c0a2e6bd806/disk-66eee64b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/f943ad925f61/vmlinux-66eee64b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/5783dedaf307/bzImage-66eee64b.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9ca54f...@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: 0 PID: 4405 Comm: jbd2/sda1-8 Not tainted 6.2.0-rc6-next-20230201-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:bdev_nr_sectors include/linux/blkdev.h:785 [inline]
RIP: 0010:guard_bio_eod+0x52/0x800 block/bio.c:684
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 da 06 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5f 08 48 8d 7b 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ad 06 00 00 48 8b 5b 08 31 ff 48 89 de e8 16 40
RSP: 0018:ffffc90005ecf9f0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff83f986da RDI: 0000000000000008
RBP: ffff888077fae3c0 R08: 0000000000000006 R09: 0000000000001000
R10: 0000000000001000 R11: 0000000000094001 R12: 0000000000000000
R13: ffff88803b90a668 R14: ffff88803b90a678 R15: ffff888077fae3c0
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020404030 CR3: 0000000032b59000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
submit_bh_wbc+0x406/0x650 fs/buffer.c:2743
jbd2_journal_commit_transaction+0x2109/0x6a70 fs/jbd2/commit.c:734
kjournald2+0x1d4/0x890 fs/jbd2/journal.c:209
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:bdev_nr_sectors include/linux/blkdev.h:785 [inline]
RIP: 0010:guard_bio_eod+0x52/0x800 block/bio.c:684
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 da 06 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5f 08 48 8d 7b 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ad 06 00 00 48 8b 5b 08 31 ff 48 89 de e8 16 40
RSP: 0018:ffffc90005ecf9f0 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff83f986da RDI: 0000000000000008
RBP: ffff888077fae3c0 R08: 0000000000000006 R09: 0000000000001000
R10: 0000000000001000 R11: 0000000000094001 R12: 0000000000000000
R13: ffff88803b90a668 R14: ffff88803b90a678 R15: ffff888077fae3c0
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555556ee9848 CR3: 0000000077f2c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 89 fa mov %rdi,%rdx
3: 48 c1 ea 03 shr $0x3,%rdx
7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
b: 0f 85 da 06 00 00 jne 0x6eb
11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
18: fc ff df
1b: 49 8b 5f 08 mov 0x8(%r15),%rbx
1f: 48 8d 7b 08 lea 0x8(%rbx),%rdi
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 ad 06 00 00 jne 0x6e1
34: 48 8b 5b 08 mov 0x8(%rbx),%rbx
38: 31 ff xor %edi,%edi
3a: 48 89 de mov %rbx,%rsi
3d: e8 .byte 0xe8
3e: 16 (bad)
3f: 40 rex


---
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

未讀,
2023年4月2日 清晨6:20:442023/4/2
收件者:syzkaller-upst...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
回覆所有人
回覆作者
轉寄
0 則新訊息