------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:118! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2614 Comm: kworker/u4:5 Not tainted 5.15.162-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 Workqueue: events_unbound fsnotify_mark_destroy_workfn RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:118 Code: 48 89 df e8 cf b0 e1 ff 48 83 3b 00 75 17 e8 d4 e1 97 ff 48 8b 3d 6d 2a fc 0b 4c 89 f6 5b 41 5e e9 92 d9 e0 ff e8 bd e1 97 ff <0f> 0b cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc9000a27fb88 EFLAGS: 00010293 RAX: ffffffff81e879a3 RBX: ffff8880170ac080 RCX: ffff888022ca1dc0 RDX: 0000000000000000 RSI: ffffffff8a8b2a00 RDI: ffff8880170ac000 RBP: ffffc9000a27fc50 R08: dffffc0000000000 R09: fffffbfff1f7f230 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801883d800 R13: ffffc9000a27fbe0 R14: ffff8880170ac000 R15: ffff8880170ac000 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f30e3a6b000 CR3: 00000000753a3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fsnotify_final_mark_destroy fs/notify/mark.c:278 [inline] fsnotify_mark_destroy_workfn+0x2c7/0x340 fs/notify/mark.c:902 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:300 Modules linked in: ---[ end trace 08e18347070d5dcc ]--- RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:118 Code: 48 89 df e8 cf b0 e1 ff 48 83 3b 00 75 17 e8 d4 e1 97 ff 48 8b 3d 6d 2a fc 0b 4c 89 f6 5b 41 5e e9 92 d9 e0 ff e8 bd e1 97 ff <0f> 0b cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 41 55 41 54 RSP: 0018:ffffc9000a27fb88 EFLAGS: 00010293 RAX: ffffffff81e879a3 RBX: ffff8880170ac080 RCX: ffff888022ca1dc0 RDX: 0000000000000000 RSI: ffffffff8a8b2a00 RDI: ffff8880170ac000 RBP: ffffc9000a27fc50 R08: dffffc0000000000 R09: fffffbfff1f7f230 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801883d800 R13: ffffc9000a27fbe0 R14: ffff8880170ac000 R15: ffff8880170ac000 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000563dd8be7278 CR3: 000000002288d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400