syzkaller login: [ 16.305150] INFO: trying to register non-static key. [ 16.305671] the code is fine but needs lockdep annotation. [ 16.306408] turning off the locking correctness validator. [ 16.306956] CPU: 0 PID: 2990 Comm: syzkaller460037 Not tainted 4.14.0-rc7-next-20171103+ #10 [ 16.307782] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 [ 16.308571] Call Trace: [ 16.308831] dump_stack+0x194/0x257 [ 16.309192] ? arch_local_irq_restore+0x53/0x53 executing program [ 16.309657] register_lock_class+0x55e/0x2c70 [ 16.310347] ? __lock_acquire+0x739/0x4770 [ 16.310761] ? __lock_acquire+0x739/0x4770 [ 16.311174] ? lock_pin_lock+0x370/0x370 [ 16.311569] ? __lock_acquire+0x739/0x4770 [ 16.311981] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 16.312493] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 16.313006] ? check_noncircular+0x20/0x20 [ 16.313419] ? __lock_acquire+0x739/0x4770 [ 16.313924] ? check_noncircular+0x20/0x20 [ 16.314346] ? find_held_lock+0x39/0x1d0 [ 16.314745] ? check_noncircular+0x20/0x20 [ 16.315159] ? lock_downgrade+0x990/0x990 [ 16.315564] ? find_held_lock+0x39/0x1d0 [ 16.315964] __lock_acquire+0x203/0x4770 [ 16.316366] ? find_held_lock+0x39/0x1d0 [ 16.316769] ? debug_check_no_locks_freed+0x3d0/0x3d0 [ 16.317277] ? depot_save_stack+0x1c2/0x490 [ 16.317702] ? do_raw_spin_trylock+0x190/0x190 [ 16.318231] ? is_bpf_text_address+0xa4/0x120 [ 16.318670] ? kernel_text_address+0x102/0x140 [ 16.319116] ? _raw_spin_unlock_irqrestore+0x31/0xba [ 16.319611] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 16.320105] ? trace_hardirqs_on+0xd/0x10 [ 16.320519] ? depot_save_stack+0x3b5/0x490 [ 16.320946] ? save_stack+0xa3/0xd0 [ 16.321301] ? save_stack+0x43/0xd0 [ 16.321656] ? kasan_kmalloc+0xad/0xe0 [ 16.322077] ? __kmalloc+0x162/0x760 [ 16.322443] ? __crypto_alloc_tfm+0xd0/0x4e0 [ 16.322873] ? crypto_alloc_base+0x55/0x1d0 [ 16.323300] ? tcp_fastopen_reset_cipher+0xe5/0x580 [ 16.323790] ? do_tcp_setsockopt.isra.37+0x24d/0x21b0 [ 16.324296] ? tcp_setsockopt+0xb0/0xd0 [ 16.324684] ? sock_common_setsockopt+0x95/0xd0 [ 16.325153] ? SyS_setsockopt+0x189/0x360 [ 16.325868] ? entry_SYSCALL_64_fastpath+0x1f/0xbe [ 16.326348] ? lock_downgrade+0x990/0x990 [ 16.326754] ? rcu_note_context_switch+0x710/0x710 [ 16.327239] ? sock_common_setsockopt+0x95/0xd0 [ 16.327703] ? trace_event_raw_event_sched_switch+0x8a0/0x8a0 [ 16.328281] ? rcu_pm_notify+0xc0/0xc0 [ 16.328665] lock_acquire+0x1d5/0x580 [ 16.329037] ? tcp_fastopen_reset_cipher+0x194/0x580 [ 16.329535] ? __kmalloc+0x471/0x760 [ 16.329961] ? lock_release+0xd70/0xd70 [ 16.330382] ? crypto_aes_set_key+0x32/0x80 [ 16.330805] ? tcp_fastopen_reset_cipher+0x194/0x580 [ 16.331306] _raw_spin_lock_bh+0x31/0x40 [ 16.331707] ? tcp_fastopen_reset_cipher+0x194/0x580 [ 16.332206] tcp_fastopen_reset_cipher+0x194/0x580 [ 16.332690] ? tcp_fastopen_ctx_destroy+0x220/0x220 [ 16.333184] ? __might_sleep+0x95/0x190 [ 16.333578] ? kasan_check_write+0x14/0x20 [ 16.334044] ? _copy_from_user+0x99/0x110 [ 16.334452] do_tcp_setsockopt.isra.37+0x24d/0x21b0 [ 16.334940] ? tcp_get_md5sig_pool+0x60/0x60 [ 16.335368] ? handle_mm_fault+0x410/0x8d0 [ 16.335781] ? down_read_trylock+0xdb/0x170 [ 16.336201] ? __do_page_fault+0x32d/0xc90 [ 16.336615] ? __handle_mm_fault+0x39c0/0x39c0 [ 16.337060] ? vmacache_find+0x5f/0x280 [ 16.337450] ? vmacache_update+0xfe/0x130 [ 16.337902] ? sock_has_perm+0x29c/0x400 [ 16.338310] ? __fget_light+0x29d/0x390 [ 16.338701] ? selinux_secmark_relabel_packet+0xc0/0xc0 [ 16.339225] ? selinux_netlbl_sock_rcv_skb+0x730/0x730 [ 16.339744] tcp_setsockopt+0xb0/0xd0 [ 16.340124] sock_common_setsockopt+0x95/0xd0 [ 16.340566] SyS_setsockopt+0x189/0x360 [ 16.340957] ? SyS_recv+0x40/0x40 [ 16.341296] ? entry_SYSCALL_64_fastpath+0x5/0xbe [ 16.341808] ? trace_hardirqs_on_caller+0x421/0x5c0 [ 16.342317] ? trace_hardirqs_on_thunk+0x1a/0x1c [ 16.342778] entry_SYSCALL_64_fastpath+0x1f/0xbe [ 16.343239] RIP: 0033:0x434e69 [ 16.343553] RSP: 002b:00007ffebc51ad98 EFLAGS: 00000203 ORIG_RAX: 0000000000000036 [ 16.344298] RAX: ffffffffffffffda RBX: 00000000004002b0 RCX: 0000000000434e69 [ 16.345003] RDX: 0000000000000021 RSI: 0000000000000006 RDI: 0000000000000003 [ 16.345704] RBP: 0000000000000086 R08: 0000000000000010 R09: 0000000000000000 [ 16.346826] R10: 0000000020f2b000 R11: 0000000000000203 R12: 0000000000000000 [ 16.347531] R13: 00000000004017e0 R14: 0000000000401870 R15: 0000000000000000