[<prev] [next>] [day] [month] [year] [list]
Message-ID: <000000000000fa83bb05f3f4f2f3@google.com>
Date: Sun, 05 Feb 2023 06:44:17 -0800
From: syzbot <syzbot+0bbf896c8341c8e137c2@...kaller.appspotmail.com>
To: hdanton@...a.com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] general protection fault in __blk_rq_map_sg
Hello,
syzbot has tested the proposed patch but the reproducer is still triggering an issue:
general protection fault in do_exit
general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077]
CPU: 1 PID: 5774 Comm: syz-executor.4 Not tainted 6.2.0-rc6-next-20230203-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:find_child_reaper kernel/exit.c:585 [inline]
RIP: 0010:forget_original_parent kernel/exit.c:693 [inline]
RIP: 0010:exit_notify kernel/exit.c:730 [inline]
RIP: 0010:do_exit+0xbd7/0x2b60 kernel/exit.c:889
Code: 85 89 12 00 00 e8 79 fa 36 00 48 89 df e8 21 1c 07 00 48 8d 78 70 48 89 c5 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 62 1b 00 00 48 8b 45 70 48 39 c3 48 89 04 24 0f
RSP: 0018:ffffc90005d9fc00 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff88801901d7c0 RCX: 0000000000000000
RDX: 000000000000000e RSI: ffffffff81548cf9 RDI: 0000000000000070
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000bb3f72 R11: 0000000000000000 R12: 0000000000000001
R13: ffff88807ef04028 R14: 0000000000000000 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe617f4e718 CR3: 000000002923b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
do_group_exit+0xd4/0x2a0 kernel/exit.c:1019
get_signal+0x2321/0x25b0 kernel/signal.c:2859
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe61728c0c9
Code: Unable to access opcode bytes at 0x7fe61728c09f.
RSP: 002b:00007fe617f6f218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 00007fe6173abf88 RCX: 00007fe61728c0c9
RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 00007fe6173abf8c
RBP: 00007fe6173abf80 R08: 00007ffe35fc5080 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe6173abf8c
R13: 00007ffe35e051ff R14: 00007fe617f6f300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:find_child_reaper kernel/exit.c:585 [inline]
RIP: 0010:forget_original_parent kernel/exit.c:693 [inline]
RIP: 0010:exit_notify kernel/exit.c:730 [inline]
RIP: 0010:do_exit+0xbd7/0x2b60 kernel/exit.c:889
Code: 85 89 12 00 00 e8 79 fa 36 00 48 89 df e8 21 1c 07 00 48 8d 78 70 48 89 c5 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 62 1b 00 00 48 8b 45 70 48 39 c3 48 89 04 24 0f
RSP: 0018:ffffc90005d9fc00 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff88801901d7c0 RCX: 0000000000000000
RDX: 000000000000000e RSI: ffffffff81548cf9 RDI: 0000000000000070
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000003
R10: fffff52000bb3f72 R11: 0000000000000000 R12: 0000000000000001
R13: ffff88807ef04028 R14: 0000000000000000 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe617f4e718 CR3: 000000002923b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 85 89 12 00 00 e8 test %ecx,-0x17ffffee(%rcx)
6: 79 fa jns 0x2
8: 36 00 48 89 add %cl,%ss:-0x77(%rax)
c: df e8 fucomip %st(0),%st
e: 21 1c 07 and %ebx,(%rdi,%rax,1)
11: 00 48 8d add %cl,-0x73(%rax)
14: 78 70 js 0x86
16: 48 89 c5 mov %rax,%rbp
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
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 62 1b 00 00 jne 0x1b96
34: 48 8b 45 70 mov 0x70(%rbp),%rax
38: 48 39 c3 cmp %rax,%rbx
3b: 48 89 04 24 mov %rax,(%rsp)
3f: 0f .byte 0xf
Tested on:
commit: 4fafd969 Add linux-next specific files for 20230203
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
console output: https://syzkaller.appspot.com/x/log.txt?x=12b901bb480000
kernel config: https://syzkaller.appspot.com/x/.config?x=1d2fba7d42502ca4
dashboard link: https://syzkaller.appspot.com/bug?extid=0bbf896c8341c8e137c2
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
patch: https://syzkaller.appspot.com/x/patch.diff?x=14d1b8f5480000
Powered by blists - more mailing lists