------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:136! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 1257 Comm: kworker/u4:5 Not tainted 6.2.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: events_unbound fsnotify_mark_destroy_workfn RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:136 Code: 48 89 df e8 5f 29 dd ff 48 83 3b 00 75 17 e8 74 81 87 ff 48 8b 3d d5 3e 92 0c 4c 89 f6 5b 41 5e e9 f2 54 dc ff e8 5d 81 87 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:ffffc90005187b68 EFLAGS: 00010293 RAX: ffffffff82045a13 RBX: ffff88807882a3a0 RCX: ffff888021123a80 RDX: 0000000000000000 RSI: ffffffff8aedbac0 RDI: ffff88807882a320 RBP: ffffc90005187c30 R08: dffffc0000000000 R09: fffffbfff20fc248 R10: fffffbfff20fc248 R11: 1ffffffff20fc247 R12: ffff888012a84800 R13: ffffc90005187bc0 R14: ffff88807882a320 R15: ffff88807882a320 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b6d442000 CR3: 000000002a84d000 CR4: 00000000003506f0 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+0x2cc/0x340 fs/notify/mark.c:902 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:136 Code: 48 89 df e8 5f 29 dd ff 48 83 3b 00 75 17 e8 74 81 87 ff 48 8b 3d d5 3e 92 0c 4c 89 f6 5b 41 5e e9 f2 54 dc ff e8 5d 81 87 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:ffffc90005187b68 EFLAGS: 00010293 RAX: ffffffff82045a13 RBX: ffff88807882a3a0 RCX: ffff888021123a80 RDX: 0000000000000000 RSI: ffffffff8aedbac0 RDI: ffff88807882a320 RBP: ffffc90005187c30 R08: dffffc0000000000 R09: fffffbfff20fc248 R10: fffffbfff20fc248 R11: 1ffffffff20fc247 R12: ffff888012a84800 R13: ffffc90005187bc0 R14: ffff88807882a320 R15: ffff88807882a320 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0b63d96008 CR3: 000000001e1c7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400