kernel BUG at fs/notify/dnotify/dnotify.c:131! invalid opcode: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 18051 Comm: syz-executor2 Not tainted 4.14.0-rc7+ #160 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c4776700 task.stack: ffff8801cf448000 RIP: 0010:dnotify_free_mark+0x4b/0x60 fs/notify/dnotify/dnotify.c:131 RSP: 0018:ffff8801cf44fb20 EFLAGS: 00010246 RAX: 0000000000010000 RBX: ffff8801ca21b900 RCX: ffffc90001b35000 RDX: 0000000000010000 RSI: ffffffff81bc523b RDI: ffff8801ca21b978 RBP: ffff8801cf44fb28 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff87080aa0 R11: 0000000000000000 R12: ffff8801ca21b900 R13: ffffffff84f23fe0 R14: ffff8801cf44fc60 R15: 0000000000000000 FS: 00007f0d758f2700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000208d7ff0 CR3: 00000001c09ff000 CR4: 00000000001406e0 Call Trace: fsnotify_final_mark_destroy+0x7d/0xc0 fs/notify/mark.c:202 fsnotify_put_mark+0x469/0x730 fs/notify/mark.c:215 fcntl_dirnotify+0xa12/0xb90 fs/notify/dnotify/dnotify.c:371 do_fcntl+0x9e0/0x1050 fs/fcntl.c:413 SYSC_fcntl fs/fcntl.c:463 [inline] SyS_fcntl+0xd6/0x110 fs/fcntl.c:448 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x452869 RSP: 002b:00007f0d758f1be8 EFLAGS: 00000212 ORIG_RAX: 0000000000000048 RAX: ffffffffffffffda RBX: 0000000000758020 RCX: 0000000000452869 RDX: ffffffffffffffff RSI: 0000000000000402 RDI: 0000000000000013 RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000212 R12: 00000000004b7550 R13: 00007f0d758f1b58 R14: 00000000004b7560 R15: 0000000000000000 Code: ea 03 80 3c 02 00 75 25 48 83 7b 78 00 75 17 e8 cc 6e b1 ff 48 8b 3d a5 a9 5e 04 48 89 de e8 8d fa e5 ff 5b 5d c3 e8 b5 6e b1 ff <0f> 0b e8 fe 35 e6 ff eb d4 66 90 66 2e 0f 1f 84 00 00 00 00 00 RIP: dnotify_free_mark+0x4b/0x60 fs/notify/dnotify/dnotify.c:131 RSP: ffff8801cf44fb20 ---[ end trace 7f7a5ae9f39992fb ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..