syzbot


general protection fault in lockdep_invariant_state (2)

Status: fixed on 2018/01/27 14:55
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+2e39c7a45268c036c9e90433a48c9dd550276dc6@syzkaller.appspotmail.com
Fix commit: 5e351ad10699 locking/lockdep: Fix possible NULL deref
First crash: 2422d, last: 2388d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in lockdep_invariant_state kernel 39 2444d 2425d 0/27 closed as invalid on 2017/10/30 19:46

Sample crash report:
R13: 0000000000402260 R14: 00000000004022f0 R15: 0000000000000000
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 3 PID: 2982 Comm: syzkaller521009 Not tainted 4.14.0-rc7-next-20171103+ #10
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
task: ffff88003d6b25c0 task.stack: ffff88003abd0000
RIP: 0010:invalidate_xhlock kernel/locking/lockdep.c:4719 [inline]
RIP: 0010:lockdep_invariant_state+0xd6/0x120 kernel/locking/lockdep.c:4793
RSP: 0018:ffff88003abd7e38 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: 0000000000001d88 RCX: ffffffff81008d3f
RDX: 00000000000003bc RSI: 0000000000000000 RDI: 0000000000001de0
RBP: ffff88003abd7e48 R08: ffffffff85f3b680 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88003abd7ee0 R14: ffff88003d6b25c0 R15: ffffffff85ecb390
FS:  0000000002024880(0000) GS:ffff88006df00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005585762cd008 CR3: 000000003a704000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 lockdep_sys_exit+0x47/0xf0 kernel/locking/lockdep.c:4629
 prepare_exit_to_usermode arch/x86/entry/common.c:192 [inline]
 syscall_return_slowpath+0x244/0x510 arch/x86/entry/common.c:266
 ret_from_fork+0x15/0x40 arch/x86/entry/entry_64.S:424
RIP: 0033:0x4358a9
RSP: 002b:0000000020218fa0 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004358a9
RDX: 0000000020acc000 RSI: 0000000020218fa0 RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000201fa000 R09: 0000000000000000
R10: 000000002097b000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000402260 R14: 00000000004022f0 R15: 0000000000000000
Code: 83 90 11 00 00 83 e0 3f 48 89 c2 48 c1 e2 04 48 29 c2 48 b8 00 00 00 00 00 fc ff df 49 8d 1c d4 48 8d 7b 58 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 2f 48 c7 43 58 00 00 00 00 5b 41 5c 5d c3 0f ff 
RIP: invalidate_xhlock kernel/locking/lockdep.c:4719 [inline] RSP: ffff88003abd7e38
RIP: lockdep_invariant_state+0xd6/0x120 kernel/locking/lockdep.c:4793 RSP: ffff88003abd7e38
---[ end trace b75e41873a1a07c3 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (114):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/11/07 21:08 linux-next 5a3517e009e9 e0a2b195 .config console log report syz C skylake-linux-next-kasan-qemu
2017/12/05 10:05 upstream fd6d2e506ce6 de212f1a .config console log report ci-upstream-kasan-gce
2017/12/04 07:41 upstream ae64f9bd1d36 48359b97 .config console log report ci-upstream-kasan-gce
2017/12/03 22:09 upstream ae64f9bd1d36 48359b97 .config console log report ci-upstream-kasan-gce
2017/12/03 22:08 upstream ae64f9bd1d36 48359b97 .config console log report ci-upstream-kasan-gce
2017/12/03 13:30 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce
2017/12/03 10:41 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce
2017/12/03 01:35 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce
2017/12/02 16:45 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce
2017/12/02 05:46 upstream a0651c7fa2c0 48359b97 .config console log report ci-upstream-kasan-gce
2017/12/01 18:23 upstream 3c1c4ddffb58 2fa91450 .config console log report ci-upstream-kasan-gce
2017/12/01 02:17 upstream df8ba95c572a 16668351 .config console log report ci-upstream-kasan-gce
2017/11/30 14:12 upstream a0908a1b7d68 5153aeaf .config console log report ci-upstream-kasan-gce
2017/12/06 19:32 upstream e56d565d67ae 5d643f8e .config console log report ci-upstream-kasan-gce-386
2017/12/04 20:34 upstream ae64f9bd1d36 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/04 09:35 upstream ae64f9bd1d36 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/04 03:35 upstream ae64f9bd1d36 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/03 16:44 upstream ae64f9bd1d36 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/03 09:32 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/03 03:03 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 22:17 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 15:26 upstream 2db767d9889c 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 11:46 upstream a0651c7fa2c0 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 09:11 upstream a0651c7fa2c0 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 05:22 upstream a0651c7fa2c0 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 04:38 upstream a0651c7fa2c0 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 03:38 upstream a0651c7fa2c0 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 02:00 upstream a0651c7fa2c0 48359b97 .config console log report ci-upstream-kasan-gce-386
2017/12/02 00:49 upstream 3c1c4ddffb58 2fa91450 .config console log report ci-upstream-kasan-gce-386
2017/12/01 20:57 upstream 3c1c4ddffb58 2fa91450 .config console log report ci-upstream-kasan-gce-386
2017/11/29 14:22 upstream 43570f0383d6 34f2c233 .config console log report ci-upstream-kasan-gce-386
2017/11/28 18:58 upstream 43f462f1c2e1 ac93d7e1 .config console log report ci-upstream-kasan-gce-386
2017/11/27 19:23 upstream 4fbd8d194f06 ac93d7e1 .config console log report ci-upstream-kasan-gce-386
2017/12/04 18:46 linux-next 7cc61a0a562c 48359b97 .config console log report ci-upstream-next-kasan-gce
2017/12/04 00:37 linux-next fb20eb9d798d 16668351 .config console log report ci-upstream-next-kasan-gce
2017/12/02 01:08 linux-next fb20eb9d798d 16668351 .config console log report ci-upstream-next-kasan-gce
2017/12/01 19:38 mmots 4131d5166185 29b0fd90 .config console log report ci-upstream-mmots-kasan-gce
2017/12/01 18:32 mmots 4131d5166185 29b0fd90 .config console log report ci-upstream-mmots-kasan-gce
2017/12/01 09:57 linux-next fb20eb9d798d 16668351 .config console log report ci-upstream-next-kasan-gce
2017/12/01 03:15 linux-next fb20eb9d798d 16668351 .config console log report ci-upstream-next-kasan-gce
2017/11/29 02:29 mmots dbf9f9124937 1808de66 .config console log report ci-upstream-mmots-kasan-gce
* Struck through repros no longer work on HEAD.