------------[ cut here ]------------ WARNING: CPU: 0 PID: 5321 at fs/notify/fanotify/fanotify.h:216 fanotify_info_copy_name fs/notify/fanotify/fanotify.h:216 [inline] WARNING: CPU: 0 PID: 5321 at fs/notify/fanotify/fanotify.h:216 fanotify_alloc_name_event fs/notify/fanotify/fanotify.c:686 [inline] WARNING: CPU: 0 PID: 5321 at fs/notify/fanotify/fanotify.h:216 fanotify_alloc_event fs/notify/fanotify/fanotify.c:851 [inline] WARNING: CPU: 0 PID: 5321 at fs/notify/fanotify/fanotify.h:216 fanotify_handle_event+0x30bf/0x3cc0 fs/notify/fanotify/fanotify.c:982 Modules linked in: CPU: 0 UID: 0 PID: 5321 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~bpo12+1 04/01/2014 RIP: 0010:fanotify_info_copy_name fs/notify/fanotify/fanotify.h:216 [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+0x30bf/0x3cc0 fs/notify/fanotify/fanotify.c:982 Code: f8 ff ff e8 93 d1 72 ff 90 0f 0b 90 e9 3e f9 ff ff e8 85 d1 72 ff 90 0f 0b 90 4c 8b 64 24 08 e9 62 fa ff ff e8 72 d1 72 ff 90 <0f> 0b 90 e9 f4 fb ff ff e8 64 d1 72 ff 90 0f 0b 90 e9 9d fd ff ff RSP: 0018:ffffc9000d3ef3e0 EFLAGS: 00010283 RAX: ffffffff824d44be RBX: 0000000000000ffd RCX: 0000000000100000 RDX: ffffc9000dfea000 RSI: 00000000000037fc RDI: 00000000000037fd RBP: ffffc9000d3ef5c0 R08: 0000000000000002 R09: 0000000000000000 R10: ffff8880333d4038 R11: ffffffff82449100 R12: 0000000000000ffd R13: 1ffff92001a7de94 R14: ffffc9000d3ef7e0 R15: ffff8880333d4000 FS: 00007f962a1df6c0(0000) GS:ffff88808d730000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003520 CR3: 0000000012224000 CR4: 0000000000352ef0 Call Trace: send_to_group fs/notify/fsnotify.c:420 [inline] fsnotify+0x1412/0x1a80 fs/notify/fsnotify.c:641 __fsnotify_parent+0x3fe/0x540 fs/notify/fsnotify.c:287 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:1104 do_open fs/namei.c:3975 [inline] path_openat+0x2ee5/0x3830 fs/namei.c:4134 do_filp_open+0x1fa/0x410 fs/namei.c:4161 do_open_execat+0x135/0x560 fs/exec.c:783 alloc_bprm+0x28/0x5c0 fs/exec.c:1410 do_execveat_common+0x1b3/0x6a0 fs/exec.c:1811 do_execve fs/exec.c:1934 [inline] __do_sys_execve fs/exec.c:2010 [inline] __se_sys_execve fs/exec.c:2005 [inline] __x64_sys_execve+0x94/0xb0 fs/exec.c:2005 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f962938f6c9 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:00007f962a1df038 EFLAGS: 00000246 ORIG_RAX: 000000000000003b RAX: ffffffffffffffda RBX: 00007f96295e5fa0 RCX: 00007f962938f6c9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000003500 RBP: 00007f9629411f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f96295e6038 R14: 00007f96295e5fa0 R15: 00007ffcf721a008