------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:136! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 2422 Comm: kworker/u4:5 Not tainted 6.4.0-syzkaller-10173-ga901a3568fd2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: events_unbound fsnotify_mark_destroy_workfn RIP: 0010:dnotify_free_mark+0x4f/0x60 fs/notify/dnotify/dnotify.c:136 Code: 80 3c 02 00 75 26 48 83 bd 80 00 00 00 00 75 15 e8 46 df 8a ff 48 89 ee 48 8b 3d 6c f5 af 0c 5d e9 46 b6 dd ff e8 31 df 8a ff <0f> 0b e8 fa 0e de ff eb d3 0f 1f 84 00 00 00 00 00 41 55 49 89 fd RSP: 0018:ffffc9000a1b7c58 EFLAGS: 00010293 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff888026e55940 RSI: ffffffff81f9ef9f RDI: ffff888071807080 RBP: ffff888071807000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000096001 R12: ffff888145e47000 R13: ffffc9000a1b7c98 R14: ffff888071807010 R15: ffff888071807018 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbcac869e58 CR3: 000000000c775000 CR4: 0000000000350ef0 Call Trace: fsnotify_final_mark_destroy fs/notify/mark.c:278 [inline] fsnotify_mark_destroy_workfn+0x232/0x3c0 fs/notify/mark.c:902 process_one_work+0xa34/0x16f0 kernel/workqueue.c:2597 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2748 kthread+0x344/0x440 kernel/kthread.c:389 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dnotify_free_mark+0x4f/0x60 fs/notify/dnotify/dnotify.c:136 Code: 80 3c 02 00 75 26 48 83 bd 80 00 00 00 00 75 15 e8 46 df 8a ff 48 89 ee 48 8b 3d 6c f5 af 0c 5d e9 46 b6 dd ff e8 31 df 8a ff <0f> 0b e8 fa 0e de ff eb d3 0f 1f 84 00 00 00 00 00 41 55 49 89 fd RSP: 0018:ffffc9000a1b7c58 EFLAGS: 00010293 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000 RDX: ffff888026e55940 RSI: ffffffff81f9ef9f RDI: ffff888071807080 RBP: ffff888071807000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000096001 R12: ffff888145e47000 R13: ffffc9000a1b7c98 R14: ffff888071807010 R15: ffff888071807018 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056295597c108 CR3: 000000002a12c000 CR4: 0000000000350ee0