syzbot


invalid opcode in do_syscall_64

Status: auto-closed as invalid on 2021/01/07 18:51
Reported-by: syzbot+054d12d8fb9413929a1a@syzkaller.appspotmail.com
First crash: 1546d, last: 1546d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 invalid opcode in do_syscall_64 syz error 3 1009d 1527d 0/1 upstream: reported syz repro on 2020/09/28 17:19
upstream invalid opcode in do_syscall_64 kernel 1 1817d 1817d 0/28 auto-closed as invalid on 2020/03/12 14:07

Sample crash report:
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 16200 Comm: syz-executor.2 Not tainted 4.19.144-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:317 [inline]
RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:84 [inline]
RIP: 0010:addr_limit_user_check include/linux/syscalls.h:262 [inline]
RIP: 0010:prepare_exit_to_usermode arch/x86/entry/common.c:190 [inline]
RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
RIP: 0010:do_syscall_64+0x212/0x620 arch/x86/entry/common.c:296
Code: 84 1f 03 00 00 e8 de 17 69 00 fa 66 0f 1f 44 00 00 65 48 8b 1c 25 40 ee 00 00 00 00 4e 6e 00 48 89 da 48 b8 00 00 00 00 00 fc <ff> df 48 c1 ea 03 80 3c 02 00 0f 85 83 03 00 00 4c 8b 23 31 ff 49
RSP: 0018:ffff888219937f28 EFLAGS: 00010086
RAX: ffff88804ac5c540 RBX: 0000000000000000 RCX: ffffffff810099b3
RDX: 0000000000000000 RSI: ffffffff810099f3 RDI: 0000000000000005
RBP: ffff888219937f58 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: ffffffff88d25b58 R14: 0000000000000000 R15: 0000000000000000
FS:  00000000026ab940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e9b55b4978 CR3: 0000000218972000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45ba81
Code: 75 14 b8 23 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 84 cf fb ff c3 48 83 ec 08 e8 ea 46 00 00 48 89 04 24 b8 23 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 33 47 00 00 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffd40aa0b00 EFLAGS: 00000293 ORIG_RAX: 0000000000000023
RAX: 0000000000000000 RBX: 00000000001134bb RCX: 000000000045ba81
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffd40aa0b10
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
R10: 00007ffd40aa0c10 R11: 0000000000000293 R12: 000000000118cf40
R13: 000000000118d940 R14: ffffffffffffffff R15: 000000000118cf4c
Modules linked in:
---[ end trace 6ea1f082407e047b ]---
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:317 [inline]
RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:84 [inline]
RIP: 0010:addr_limit_user_check include/linux/syscalls.h:262 [inline]
RIP: 0010:prepare_exit_to_usermode arch/x86/entry/common.c:190 [inline]
RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
RIP: 0010:do_syscall_64+0x212/0x620 arch/x86/entry/common.c:296
Code: 84 1f 03 00 00 e8 de 17 69 00 fa 66 0f 1f 44 00 00 65 48 8b 1c 25 40 ee 00 00 00 00 4e 6e 00 48 89 da 48 b8 00 00 00 00 00 fc <ff> df 48 c1 ea 03 80 3c 02 00 0f 85 83 03 00 00 4c 8b 23 31 ff 49
RSP: 0018:ffff888219937f28 EFLAGS: 00010086
RAX: ffff88804ac5c540 RBX: 0000000000000000 RCX: ffffffff810099b3
RDX: 0000000000000000 RSI: ffffffff810099f3 RDI: 0000000000000005
invalid opcode: 0000 [#2] PREEMPT SMP KASAN
RBP: ffff888219937f58 R08: 0000000000000000 R09: 0000000000000000
CPU: 1 PID: 11502 Comm: syz-executor.0 Tainted: G      D           4.19.144-syzkaller #0
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
R13: ffffffff88d25b58 R14: 0000000000000000 R15: 0000000000000000
RIP: 0010:constant_test_bit arch/x86/include/asm/bitops.h:317 [inline]
RIP: 0010:test_ti_thread_flag include/linux/thread_info.h:84 [inline]
RIP: 0010:addr_limit_user_check include/linux/syscalls.h:262 [inline]
RIP: 0010:prepare_exit_to_usermode arch/x86/entry/common.c:190 [inline]
RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
RIP: 0010:do_syscall_64+0x212/0x620 arch/x86/entry/common.c:296
FS:  00000000026ab940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
Code: 84 1f 03 00 00 e8 de 17 69 00 fa 66 0f 1f 44 00 00 65 48 8b 1c 25 40 ee 00 00 00 00 4e 6e 00 48 89 da 48 b8 00 00 00 00 00 fc <ff> df 48 c1 ea 03 80 3c 02 00 0f 85 83 03 00 00 4c 8b 23 31 ff 49
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
RSP: 0018:ffff88805b2aff28 EFLAGS: 00010082
CR2: 000055e9b55b4978 CR3: 0000000218972000 CR4: 00000000001426f0
RAX: ffff888056928500 RBX: 0000000000000000 RCX: ffffffff810099b3
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff810099f3 RDI: 0000000000000005
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
RBP: ffff88805b2aff58 R08: 0000000000000000 R09: 0000000000000000

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/09/09 18:50 linux-4.19.y 67957f12548c ac7ca78e .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.