------------[ cut here ]------------ WARNING: CPU: 1 PID: 4822 at fs/notify/fanotify/fanotify.h:216 fanotify_info_copy_name fs/notify/fanotify/fanotify.h:216 [inline] WARNING: CPU: 1 PID: 4822 at fs/notify/fanotify/fanotify.h:216 fanotify_alloc_name_event fs/notify/fanotify/fanotify.c:646 [inline] WARNING: CPU: 1 PID: 4822 at fs/notify/fanotify/fanotify.h:216 fanotify_alloc_event fs/notify/fanotify/fanotify.c:810 [inline] WARNING: CPU: 1 PID: 4822 at fs/notify/fanotify/fanotify.h:216 fanotify_handle_event+0x237d/0x36a0 fs/notify/fanotify/fanotify.c:948 Modules linked in: CPU: 1 PID: 4822 Comm: syz.3.105 Not tainted 6.1.143-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 24 5e 8e ff 0f 0b eb 79 e8 1b 5e 8e ff 0f 0b e9 b2 fa ff ff e8 0f 5e 8e ff 0f 0b e9 e6 fb ff ff e8 03 5e 8e ff <0f> 0b e9 47 fd ff ff e8 f7 5d 8e ff 0f 0b e9 cd fe ff ff e8 eb 5d RSP: 0018:ffffc900054af8a0 EFLAGS: 00010283 RAX: ffffffff81f2797d RBX: 0000000000000ffd RCX: 0000000000080000 RDX: ffffc9000f68a000 RSI: 000000000000c3d5 RDI: 000000000000c3d6 RBP: ffffc900054afa80 R08: ffff88802a8ad940 R09: 0000000000000002 R10: 00000000000000ff R11: 0000000000000002 R12: ffff888058798000 R13: ffff888058798000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007f89ed91c6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbb03781ab8 CR3: 00000000511ff000 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+0x10ee/0x1cc0 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+0x6fa/0x920 fs/file_table.c:306 task_work_run+0x1ca/0x250 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f89ecb8e929 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:00007f89ed91c038 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffe6 RBX: 00007f89ecdb5fa0 RCX: 00007f89ecb8e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000440 RBP: 00007f89ecc10b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f89ecdb5fa0 R15: 00007fff15af5ca8