loop0: detected capacity change from 0 to 128 ------------[ cut here ]------------ name->len > NAME_MAX WARNING: fs/notify/fanotify/fanotify.h:217 at fanotify_info_copy_name fs/notify/fanotify/fanotify.h:217 [inline], CPU#0: syz.0.0/5342 WARNING: fs/notify/fanotify/fanotify.h:217 at fanotify_alloc_name_event fs/notify/fanotify/fanotify.c:686 [inline], CPU#0: syz.0.0/5342 WARNING: fs/notify/fanotify/fanotify.h:217 at fanotify_alloc_event fs/notify/fanotify/fanotify.c:851 [inline], CPU#0: syz.0.0/5342 WARNING: fs/notify/fanotify/fanotify.h:217 at fanotify_handle_event+0x28e0/0x3e20 fs/notify/fanotify/fanotify.c:982, CPU#0: syz.0.0/5342 Modules linked in: CPU: 0 UID: 0 PID: 5342 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:fanotify_info_copy_name fs/notify/fanotify/fanotify.h:217 [inline] RIP: 0010:fanotify_alloc_name_event fs/notify/fanotify/fanotify.c:686 [inline] RIP: 0010:fanotify_alloc_event fs/notify/fanotify/fanotify.c:851 [inline] RIP: 0010:fanotify_handle_event+0x28e0/0x3e20 fs/notify/fanotify/fanotify.c:982 Code: 6a ff 90 0f 0b 90 e9 97 00 00 00 e8 ea 8c 6a ff 90 0f 0b 90 eb 75 e8 df 8c 6a ff 90 0f 0b 90 e9 7d fb ff ff e8 d1 8c 6a ff 90 <0f> 0b 90 e9 0c fd ff ff e8 c3 8c 6a ff 90 0f 0b 90 4c 8b 6c 24 20 RSP: 0018:ffffc90003c6f3a0 EFLAGS: 00010287 RAX: ffffffff825b541f RBX: ffff88803ca48000 RCX: 0000000000100000 RDX: ffffc90020802000 RSI: 000000000000361d RDI: 000000000000361e RBP: ffffc90003c6f580 R08: 0000000000000002 R09: 0000000000000000 R10: ffff88803ca48038 R11: ffffffff8251e8d0 R12: 0000000000000ffd R13: 1ffff9200078de8c R14: ffffc90003c6f7c4 R15: dffffc0000000000 FS: 00007fdf2bac76c0(0000) GS:ffff88808c809000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b577928168 CR3: 00000000412d9000 CR4: 0000000000352ef0 Call Trace: send_to_group fs/notify/fsnotify.c:371 [inline] fsnotify+0x142f/0x1ae0 fs/notify/fsnotify.c:592 __fsnotify_parent+0x50d/0x620 fs/notify/fsnotify.c:238 fsnotify_parent include/linux/fsnotify.h:96 [inline] fsnotify_path include/linux/fsnotify.h:113 [inline] fsnotify_file include/linux/fsnotify.h:127 [inline] fsnotify_open include/linux/fsnotify.h:446 [inline] vfs_open+0x28a/0x340 fs/open.c:1086 do_open fs/namei.c:4699 [inline] path_openat+0x2e08/0x3860 fs/namei.c:4858 do_file_open+0x23e/0x4a0 fs/namei.c:4887 do_open_execat+0x12b/0x580 fs/exec.c:781 alloc_bprm+0x28/0x5c0 fs/exec.c:1401 class_bprm_constructor fs/exec.c:1466 [inline] do_execveat_common+0x175/0x690 fs/exec.c:1799 __do_sys_execve fs/exec.c:1930 [inline] __se_sys_execve fs/exec.c:1924 [inline] __x64_sys_execve+0x97/0xc0 fs/exec.c:1924 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdf2ab9c819 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdf2bac6fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00007fdf2ae15fa0 RCX: 00007fdf2ab9c819 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000003500 RBP: 00007fdf2ac32c91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fdf2ae16038 R14: 00007fdf2ae15fa0 R15: 00007ffe5c25a868