------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:135! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 1 PID: 1050 Comm: kworker/u8:7 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Workqueue: events_unbound fsnotify_mark_destroy_workfn RIP: 0010:dnotify_free_mark fs/notify/dnotify/dnotify.c:135 [inline] RIP: 0010:dnotify_free_mark+0x50/0x60 fs/notify/dnotify/dnotify.c:129 Code: 3c 02 00 75 27 48 83 bb 80 00 00 00 00 75 15 e8 66 77 80 ff 48 89 de 48 8b 3d 04 e3 15 0b 5b e9 96 4c d1 ff e8 51 77 80 ff 90 <0f> 0b e8 b9 59 db ff eb d2 0f 1f 80 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc90004667be8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807afde000 RCX: 1ffff1100f5fbc02 RDX: ffff888021ff1e00 RSI: ffffffff820dc4df RDI: ffff88807afde080 RBP: ffff888015fef000 R08: 1ffff920008ccf8c R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: ffffffff8b1e4400 R13: ffffc90004667c48 R14: ffff88807afde010 R15: ffff88807afde018 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555574a6b738 CR3: 0000000077fa2000 CR4: 0000000000350ef0 Call Trace: fsnotify_final_mark_destroy+0x79/0xc0 fs/notify/mark.c:278 fsnotify_mark_destroy_workfn+0x204/0x360 fs/notify/mark.c:866 process_one_work+0x9ac/0x1a60 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c4/0x3a0 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dnotify_free_mark fs/notify/dnotify/dnotify.c:135 [inline] RIP: 0010:dnotify_free_mark+0x50/0x60 fs/notify/dnotify/dnotify.c:129 Code: 3c 02 00 75 27 48 83 bb 80 00 00 00 00 75 15 e8 66 77 80 ff 48 89 de 48 8b 3d 04 e3 15 0b 5b e9 96 4c d1 ff e8 51 77 80 ff 90 <0f> 0b e8 b9 59 db ff eb d2 0f 1f 80 00 00 00 00 90 90 90 90 90 90 RSP: 0018:ffffc90004667be8 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff88807afde000 RCX: 1ffff1100f5fbc02 RDX: ffff888021ff1e00 RSI: ffffffff820dc4df RDI: ffff88807afde080 RBP: ffff888015fef000 R08: 1ffff920008ccf8c R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: ffffffff8b1e4400 R13: ffffc90004667c48 R14: ffff88807afde010 R15: ffff88807afde018 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555574a6b738 CR3: 000000000d57a000 CR4: 0000000000350ef0