------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:135! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 PID: 1041 Comm: kworker/u8:6 Not tainted 6.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: events_unbound fsnotify_mark_destroy_workfn RIP: 0010:dnotify_free_mark+0x57/0x60 fs/notify/dnotify/dnotify.c:135 Code: 48 89 df e8 7b 36 db ff 48 83 3b 00 75 17 e8 50 3b 78 ff 48 8b 3d 61 18 54 0b 4c 89 f6 5b 41 5e e9 9e c6 cf ff e8 39 3b 78 ff <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900044e7b08 EFLAGS: 00010293 RAX: ffffffff821c0f77 RBX: ffff888024614080 RCX: ffff8880212c5a00 RDX: 0000000000000000 RSI: ffffffff8b6aaf80 RDI: ffff888024614000 RBP: ffffc900044e7bd0 R08: ffffffff927f157f R09: 1ffffffff24fe2af R10: dffffc0000000000 R11: ffffffff821c0f20 R12: ffff8880157e8800 R13: ffffc900044e7b60 R14: ffff888024614000 R15: ffff888024614000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560e54dc2e38 CR3: 000000002bb8e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: fsnotify_final_mark_destroy fs/notify/mark.c:355 [inline] fsnotify_mark_destroy_workfn+0x2cf/0x340 fs/notify/mark.c:982 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1810 kernel/workqueue.c:3312 worker_thread+0xa60/0xfc0 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dnotify_free_mark+0x57/0x60 fs/notify/dnotify/dnotify.c:135 Code: 48 89 df e8 7b 36 db ff 48 83 3b 00 75 17 e8 50 3b 78 ff 48 8b 3d 61 18 54 0b 4c 89 f6 5b 41 5e e9 9e c6 cf ff e8 39 3b 78 ff <0f> 0b 0f 1f 80 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 RSP: 0018:ffffc900044e7b08 EFLAGS: 00010293 RAX: ffffffff821c0f77 RBX: ffff888024614080 RCX: ffff8880212c5a00 RDX: 0000000000000000 RSI: ffffffff8b6aaf80 RDI: ffff888024614000 RBP: ffffc900044e7bd0 R08: ffffffff927f157f R09: 1ffffffff24fe2af R10: dffffc0000000000 R11: ffffffff821c0f20 R12: ffff8880157e8800 R13: ffffc900044e7b60 R14: ffff888024614000 R15: ffff888024614000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0000ad000 CR3: 000000006979c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400