syzbot


general protection fault in do_syscall_64

Status: closed as dup on 2020/08/15 11:55
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+f9b2c53f55a9270fc778@syzkaller.appspotmail.com
First crash: 1720d, last: 1668d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in sysfs_warn_dup (log)
Repro: C syz .config
  
Fix bisection: failed (error log, bisect log)
  
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
general protection fault in syscall_return_slowpath kernel syz inconclusive done 1 1633d 1719d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in do_syscall_64 2 (3) 2020/03/31 12:38
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in do_syscall_64 (3) 1 1031d 1031d 0/1 auto-closed as invalid on 2022/05/25 11:05
linux-4.19 general protection fault in do_syscall_64 6 1648d 1684d 0/1 auto-closed as invalid on 2020/09/15 12:00
linux-4.14 general protection fault in do_syscall_64 1 1850d 1850d 0/1 auto-closed as invalid on 2020/02/26 05:52
linux-4.19 general protection fault in do_syscall_64 (2) syz done 2 1184d 1517d 1/1 fixed on 2021/09/26 12:12
linux-4.14 general protection fault in do_syscall_64 (2) syz error 8 997d 1647d 0/1 upstream: reported syz repro on 2020/05/18 23:19
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2020/05/27 23:32 0m bisect fix upstream error job log
2020/04/27 23:01 30m bisect fix upstream OK (0) job log log

Sample crash report:
general protection fault, probably for non-canonical address 0x1ffffffff1215a85: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7207 Comm: syz-executor045 Not tainted 5.6.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline]
RIP: 0010:do_syscall_64+0x5f/0x1b0 arch/x86/entry/common.c:289
Code: 48 c7 c7 28 d4 0a 89 e8 bf 5d b0 00 48 83 3d af 5b 0a 08 00 0f 84 58 01 00 00 fb 66 0f 1f 44 00 00 65 48 8b 1c 25 c0 1d 02 00 <48> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSP: 0018:ffffc90001617f28 EFLAGS: 00010282
RAX: 1ffffffff1215a85 RBX: ffff888095530380 RCX: ffff888095530380
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888095530bc4
RBP: 0000000000000000 R08: ffffffff817a2210 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000023
R13: dffffc0000000000 R14: ffffc90001617f58 R15: 0000000000000000
FS:  0000000001333880(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f87bf9aae78 CR3: 00000000a6a3f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4454e1
Code: 75 14 b8 23 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 64 1f fc ff c3 48 83 ec 08 e8 9a 42 00 00 48 89 04 24 b8 23 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 e3 42 00 00 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007ffd72d164b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000023
RAX: ffffffffffffffda RBX: 000000000000000c RCX: 00000000004454e1
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007ffd72d164c0
RBP: 00000000006dbc20 R08: 0000000000000000 R09: 0000000000000000
R10: 00007ffd72d164e0 R11: 0000000000000293 R12: 0000000000000000
R13: 00000000006dbc2c R14: 000000000000000a R15: 0000000000000000
Modules linked in:
---[ end trace 3da67f82bf6bae14 ]---
RIP: 0010:__read_once_size include/linux/compiler.h:199 [inline]
RIP: 0010:do_syscall_64+0x5f/0x1b0 arch/x86/entry/common.c:289
Code: 48 c7 c7 28 d4 0a 89 e8 bf 5d b0 00 48 83 3d af 5b 0a 08 00 0f 84 58 01 00 00 fb 66 0f 1f 44 00 00 65 48 8b 1c 25 c0 1d 02 00 <48> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
RSP: 0018:ffffc90001617f28 EFLAGS: 00010282
RAX: 1ffffffff1215a85 RBX: ffff888095530380 RCX: ffff888095530380
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffff888095530bc4
RBP: 0000000000000000 R08: ffffffff817a2210 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000023
R13: dffffc0000000000 R14: ffffc90001617f58 R15: 0000000000000000
FS:  0000000001333880(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f87bf9aae78 CR3: 00000000a6a3f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/28 19:33 upstream 69c5eea3128e f1ebdfba .config console log report syz C ci-upstream-kasan-gce-smack-root
2020/03/20 16:03 upstream 6c90b86a745a 2c31c529 .config console log report ci-upstream-kasan-gce-smack-root
2020/03/10 02:06 upstream 30bb5572ce7a 35f53e45 .config console log report ci-upstream-kasan-gce-smack-root
2020/03/07 15:47 linux-next 770fbb32d34e 2e9971bb .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.