------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:136! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3705 Comm: kworker/u4:6 Not tainted 6.1.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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 00 de ff 48 83 3b 00 75 17 e8 14 7e 86 ff 48 8b 3d ad f9 95 0c 4c 89 f6 5b 41 5e e9 62 29 dd ff e8 fd 7d 86 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:ffffc900045dfb88 EFLAGS: 00010293 RAX: ffffffff82043143 RBX: ffff88807c229080 RCX: ffff88802a7ad940 RDX: 0000000000000000 RSI: 0000000000000017 RDI: ffff88807c229000 RBP: ffffc900045dfc50 R08: ffffffff8203a0dc R09: ffffed1005cf9d02 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881442ed000 R13: ffffc900045dfbe0 R14: ffff88807c229000 R15: ffff88807c229000 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f32aa3052d8 CR3: 000000007aa6e000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fsnotify_final_mark_destroy fs/notify/mark.c:304 [inline] fsnotify_mark_destroy_workfn+0x2c7/0x340 fs/notify/mark.c:928 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 process_scheduled_works kernel/workqueue.c:2355 [inline] worker_thread+0xd04/0x1200 kernel/workqueue.c:2441 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 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 00 de ff 48 83 3b 00 75 17 e8 14 7e 86 ff 48 8b 3d ad f9 95 0c 4c 89 f6 5b 41 5e e9 62 29 dd ff e8 fd 7d 86 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:ffffc900045dfb88 EFLAGS: 00010293 RAX: ffffffff82043143 RBX: ffff88807c229080 RCX: ffff88802a7ad940 RDX: 0000000000000000 RSI: 0000000000000017 RDI: ffff88807c229000 RBP: ffffc900045dfc50 R08: ffffffff8203a0dc R09: ffffed1005cf9d02 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881442ed000 R13: ffffc900045dfbe0 R14: ffff88807c229000 R15: ffff88807c229000 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f616ff8 CR3: 000000007bcae000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400