WARNING: CPU: 1 PID: 4947 at fs/notify/fanotify/fanotify.h:216 fanotify_info_copy_name fs/notify/fanotify/fanotify.h:216 [inline] WARNING: CPU: 1 PID: 4947 at fs/notify/fanotify/fanotify.h:216 fanotify_alloc_name_event fs/notify/fanotify/fanotify.c:646 [inline] WARNING: CPU: 1 PID: 4947 at fs/notify/fanotify/fanotify.h:216 fanotify_alloc_event fs/notify/fanotify/fanotify.c:810 [inline] WARNING: CPU: 1 PID: 4947 at fs/notify/fanotify/fanotify.h:216 fanotify_handle_event+0x237d/0x36a0 fs/notify/fanotify/fanotify.c:948 Modules linked in: CPU: 1 PID: 4947 Comm: syz.1.146 Not tainted 5.15.186-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:fanotify_info_copy_name fs/notify/fanotify/fanotify.h:216 [inline] RIP: 0010:fanotify_alloc_name_event fs/notify/fanotify/fanotify.c:646 [inline] RIP: 0010:fanotify_alloc_event fs/notify/fanotify/fanotify.c:810 [inline] RIP: 0010:fanotify_handle_event+0x237d/0x36a0 fs/notify/fanotify/fanotify.c:948 Code: ae dd ff ff e8 74 f5 9d ff 0f 0b eb 79 e8 6b f5 9d ff 0f 0b e9 b2 fa ff ff e8 5f f5 9d ff 0f 0b e9 e6 fb ff ff e8 53 f5 9d ff <0f> 0b e9 47 fd ff ff e8 47 f5 9d ff 0f 0b e9 cd fe ff ff e8 3b f5 RSP: 0018:ffffc9000404f920 EFLAGS: 00010287 RAX: ffffffff81d9cdbd RBX: 0000000000000ffd RCX: 0000000000080000 RDX: ffffc90004a29000 RSI: 0000000000008b17 RDI: 0000000000008b18 RBP: ffffc9000404fb00 R08: ffff888029633b80 R09: 0000000000000002 R10: 00000000000000ff R11: 0000000000000002 R12: ffff88801f100000 R13: ffff88801f100000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fdd0bbc86c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c40aaa8 CR3: 0000000054c28000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: send_to_group fs/notify/fsnotify.c:374 [inline] fsnotify+0x10d6/0x1ca0 fs/notify/fsnotify.c:584 __fsnotify_parent+0x5ae/0x6e0 fs/notify/fsnotify.c:241 fsnotify_parent include/linux/fsnotify.h:77 [inline] fsnotify_file include/linux/fsnotify.h:105 [inline] fsnotify_close include/linux/fsnotify.h:347 [inline] __fput+0x71a/0x930 fs/file_table.c:297 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fdd0dd60929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdd0bbc8038 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffe6 RBX: 00007fdd0df87fa0 RCX: 00007fdd0dd60929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000440 RBP: 00007fdd0dde2b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdd0df87fa0 R15: 00007ffc811cc368