------------[ cut here ]------------ kernel BUG at fs/notify/dnotify/dnotify.c:136! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 2525 Comm: kworker/u4:11 Not tainted 6.5.0-syzkaller-12530-gff6e6ded5472 #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 d6 56 87 ff 48 89 de 48 8b 3d f4 d7 cd 0c 5b e9 36 bf dc ff e8 c1 56 87 ff <0f> 0b e8 fa 17 dd ff eb d3 0f 1f 84 00 00 00 00 00 41 55 49 89 fd RSP: 0018:ffffc90009d47c30 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888070750000 RCX: 0000000000000000 RDX: ffff888025453b80 RSI: ffffffff82007aff RDI: ffff888070750080 RBP: dffffc0000000000 R08: 1ffff920013a8f91 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888141ae5000 R13: ffffc90009d47c70 R14: ffff888070750010 R15: ffff888070750018 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1f654c53be CR3: 00000000264c9000 CR4: 0000000000350ee0 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:147 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 d6 56 87 ff 48 89 de 48 8b 3d f4 d7 cd 0c 5b e9 36 bf dc ff e8 c1 56 87 ff <0f> 0b e8 fa 17 dd ff eb d3 0f 1f 84 00 00 00 00 00 41 55 49 89 fd RSP: 0018:ffffc90009d47c30 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888070750000 RCX: 0000000000000000 RDX: ffff888025453b80 RSI: ffffffff82007aff RDI: ffff888070750080 RBP: dffffc0000000000 R08: 1ffff920013a8f91 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888141ae5000 R13: ffffc90009d47c70 R14: ffff888070750010 R15: ffff888070750018 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc1408d05e8 CR3: 00000000163e7000 CR4: 0000000000350ee0