------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:136! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2910 Comm: kworker/u4:12 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/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 bb 80 00 00 00 00 75 15 e8 a6 07 88 ff 48 89 de 48 8b 3d 04 b4 ad 0c 5b e9 76 eb dc ff e8 91 07 88 ff <0f> 0b e8 8a 44 dd ff eb d3 0f 1f 84 00 00 00 00 00 41 55 49 89 fd RSP: 0018:ffffc9000bf17c30 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807c5ea000 RCX: 0000000000000000 RDX: ffff8880276e5940 RSI: ffffffff81ffbfef RDI: ffff88807c5ea080 RBP: dffffc0000000000 R08: 1ffff920017e2f91 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8881412be800 R13: ffffc9000bf17c70 R14: ffff88807c5ea010 R15: ffff88807c5ea018 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055928150bf08 CR3: 0000000025a60000 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+0x249/0x3e0 fs/notify/mark.c:902 process_one_work+0x887/0x15d0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8bb/0x1290 kernel/workqueue.c:2784 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 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 bb 80 00 00 00 00 75 15 e8 a6 07 88 ff 48 89 de 48 8b 3d 04 b4 ad 0c 5b e9 76 eb dc ff e8 91 07 88 ff <0f> 0b e8 8a 44 dd ff eb d3 0f 1f 84 00 00 00 00 00 41 55 49 89 fd RSP: 0018:ffffc9000bf17c30 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807c5ea000 RCX: 0000000000000000 RDX: ffff8880276e5940 RSI: ffffffff81ffbfef RDI: ffff88807c5ea080 RBP: dffffc0000000000 R08: 1ffff920017e2f91 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8881412be800 R13: ffffc9000bf17c70 R14: ffff88807c5ea010 R15: ffff88807c5ea018 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055928150ff88 CR3: 000000000c776000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400