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: 11119 Comm: syz-executor6 Not tainted 4.14.0-rc8-next-20171110+ #12 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 task: ffff8800274bc240 task.stack: ffff880029fe0000 RIP: 0010:perf_trace_lock_acquire+0xc0/0x980 include/trace/events/lock.h:13 RSP: 0018:ffff880029fe6620 EFLAGS: 00010006 RAX: 000000000000001d RBX: 1ffff100053fccce RCX: 0000000000000000 RDX: dffffc0000000000 RSI: 00000000000000d0 RDI: ffffffff85f24fa0 RBP: ffff880029fe67f8 R08: 0000000000000000 R09: 00000000000000d0 R10: dffffc0000000000 R11: ffffffff8154a1e0 R12: ffff880029fe67d0 R13: 0000000000000000 R14: ffffffff85f24fa0 R15: 0000000000000001 FS: 00007f89f5db5700(0000) GS:ffff88007fd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000204f9000 CR3: 000000002c674000 CR4: 00000000000026e0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x394/0x580 kernel/locking/lockdep.c:4003 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:151 spin_lock include/linux/spinlock.h:315 [inline] inode_free_security security/selinux/hooks.c:347 [inline] selinux_inode_free_security+0x12a/0x410 security/selinux/hooks.c:2891 security_inode_free+0x50/0x90 security/security.c:443 __destroy_inode+0x287/0x650 fs/inode.c:236 destroy_inode+0xe7/0x200 fs/inode.c:263 evict+0x57e/0x920 fs/inode.c:570 iput_final fs/inode.c:1515 [inline] iput+0x7b9/0xaf0 fs/inode.c:1542 fsnotify_put_mark+0x4e8/0x740 fs/notify/mark.c:227 fsnotify_clear_marks_by_group+0x19a/0x5f0 fs/notify/mark.c:690 fsnotify_destroy_group+0xde/0x3f0 fs/notify/group.c:70 inotify_release+0x37/0x50 fs/notify/inotify/inotify_user.c:280 __fput+0x333/0x7f0 fs/file_table.c:210 ____fput+0x15/0x20 fs/file_table.c:244 task_work_run+0x199/0x270 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x9b5/0x1ad0 kernel/exit.c:869 do_group_exit+0x149/0x400 kernel/exit.c:972 get_signal+0x73f/0x16c0 kernel/signal.c:2333 do_signal+0x94/0x1ee0 arch/x86/kernel/signal.c:809 exit_to_usermode_loop+0x214/0x310 arch/x86/entry/common.c:158 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline] syscall_return_slowpath+0x490/0x550 arch/x86/entry/common.c:264 entry_SYSCALL_64_fastpath+0x94/0x96 RIP: 0033:0x447c99 RSP: 002b:00007f89f5db4bd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: fffffffffffffe00 RBX: 00007f89f5db56cc RCX: 0000000000447c99 RDX: 000000000000004f RSI: 0000000020196000 RDI: 0000000000000015 RBP: 00000000007480d8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000005fe8 R14: 00000000006ea088 R15: 00007f89f5db5700 Code: c7 40 1c 00 f2 f2 f2 c7 40 20 f2 f2 f2 f2 c7 40 24 00 f2 f2 f2 c7 40 28 f3 f3 f3 f3 48 8d 46 18 48 89 85 70 fe ff ff 48 c1 e8 03 <80> 3c 10 00 0f 85 da 04 00 00 49 8b 79 18 48 85 ff 0f 84 62 04 RIP: perf_trace_lock_acquire+0xc0/0x980 include/trace/events/lock.h:13 RSP: ffff880029fe6620 ---[ end trace b629000f62b7e0ce ]---