------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:118! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 4239 Comm: kworker/u4:6 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 Workqueue: events_unbound fsnotify_mark_destroy_workfn RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:118 Code: 48 89 df e8 8f a6 e1 ff 48 83 3b 00 75 17 e8 44 ce 97 ff 48 8b 3d dd f4 00 0c 4c 89 f6 5b 41 5e e9 52 cf e0 ff e8 2d ce 97 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:ffffc90004167b88 EFLAGS: 00010293 RAX: ffffffff81e8a573 RBX: ffff888075ab8080 RCX: ffff888020fcbb80 RDX: 0000000000000000 RSI: 0000000000000027 RDI: ffff888075ab8000 RBP: ffffc90004167c50 R08: ffffffff81e814eb R09: ffffed10045d9302 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888145f94800 R13: ffffc90004167be0 R14: ffff888075ab8000 R15: ffff888075ab8000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbdda4b1a8c CR3: 0000000066663000 CR4: 00000000003506f0 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+0x8a1/0x10c0 kernel/workqueue.c:2310 process_scheduled_works kernel/workqueue.c:2373 [inline] worker_thread+0xdcf/0x1280 kernel/workqueue.c:2459 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Modules linked in: ---[ end trace 359e66ac2fbc5bb1 ]--- RIP: 0010:dnotify_free_mark+0x53/0x60 fs/notify/dnotify/dnotify.c:118 Code: 48 89 df e8 8f a6 e1 ff 48 83 3b 00 75 17 e8 44 ce 97 ff 48 8b 3d dd f4 00 0c 4c 89 f6 5b 41 5e e9 52 cf e0 ff e8 2d ce 97 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:ffffc90004167b88 EFLAGS: 00010293 RAX: ffffffff81e8a573 RBX: ffff888075ab8080 RCX: ffff888020fcbb80 RDX: 0000000000000000 RSI: 0000000000000027 RDI: ffff888075ab8000 RBP: ffffc90004167c50 R08: ffffffff81e814eb R09: ffffed10045d9302 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888145f94800 R13: ffffc90004167be0 R14: ffff888075ab8000 R15: ffff888075ab8000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3607db CR3: 0000000024122000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400