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: 0 PID: 29626 Comm: syz-executor5 Not tainted 4.14.0-rc8+ #168 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801cab82600 task.stack: ffff880196610000 RIP: 0010:perf_trace_lock_acquire+0xdb/0x900 include/trace/events/lock.h:13 RSP: 0018:ffff880196616650 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 1ffff10032cc2cd4 RCX: 0000000000000000 RDX: 000000000000001b RSI: 00000000000000c0 RDI: ffffffff85d203e0 RBP: ffff8801966167e8 R08: 0000000000000000 R09: 00000000000000c0 R10: dffffc0000000000 R11: ffffffff8153b1d0 R12: ffff8801966167c0 R13: 0000000000000000 R14: 0000000000000000 R15: ffffffff85d20360 FS: 00007f074e301700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020666000 CR3: 00000001c6aa7000 CR4: 00000000001426f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000020000000 DR3: 0000000020000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x394/0x580 kernel/locking/lockdep.c:3993 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152 spin_lock include/linux/spinlock.h:317 [inline] inode_free_security security/selinux/hooks.c:346 [inline] selinux_inode_free_security+0x12a/0x410 security/selinux/hooks.c:2873 security_inode_free+0x50/0x90 security/security.c:442 __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+0x4d0/0x730 fs/notify/mark.c:237 fsnotify_clear_marks_by_group+0x19a/0x5f0 fs/notify/mark.c:691 fsnotify_destroy_group+0xde/0x3f0 fs/notify/group.c:70 inotify_release+0x37/0x50 fs/notify/inotify/inotify_user.c:280 __fput+0x327/0x7e0 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:865 do_group_exit+0x149/0x400 kernel/exit.c:968 get_signal+0x73f/0x16d0 kernel/signal.c:2334 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:197 [inline] syscall_return_slowpath+0x42f/0x510 arch/x86/entry/common.c:266 entry_SYSCALL_64_fastpath+0xbc/0xbe RIP: 0033:0x452879 RSP: 002b:00007f074e300ce8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00000000007581b8 RCX: 0000000000452879 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000007581b8 RBP: 00000000007581b8 R08: 0000000000000330 R09: 0000000000758190 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000a6f7ff R14: 00007f074e3019c0 R15: 000000000000000c Code: 10 00 0f 85 23 08 00 00 49 8d 41 18 4d 8b b7 80 00 00 00 48 89 c2 48 89 85 b0 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 d7 07 00 00 49 8b 79 18 48 85 ff 0f 84 fe 03 RIP: perf_trace_lock_acquire+0xdb/0x900 include/trace/events/lock.h:13 RSP: ffff880196616650 ---[ end trace f2fc777b5d7a978d ]---