Kernel bug: WARNING in fanotify_handle_event (2)
Subsystem: exfat
Status: open

Crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5640 at fs/notify/fanotify/fanotify.h:216 fanotify_info_copy_name fs/notify/fanotify/fanotify.h:216 [inline]
WARNING: CPU: 0 PID: 5640 at fs/notify/fanotify/fanotify.h:216 fanotify_alloc_name_event fs/notify/fanotify/fanotify.c:686 [inline]
WARNING: CPU: 0 PID: 5640 at fs/notify/fanotify/fanotify.h:216 fanotify_alloc_event fs/notify/fanotify/fanotify.c:851 [inline]
WARNING: CPU: 0 PID: 5640 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: 5640 Comm: syz.0.17 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 da 72 ff 90 0f 0b 90 e9 3e f9 ff ff e8 85 da 72 ff 90 0f 0b 90 4c 8b 64 24 08 e9 62 fa ff ff e8 72 da 72 ff 90 <0f> 0b 90 e9 f4 fb ff ff e8 64 da 72 ff 90 0f 0b 90 e9 9d fd ff ff
RSP: 0018:ffffc9000d2bf8a0 EFLAGS: 00010293
RAX: ffffffff824d791e RBX: 0000000000000ffd RCX: ffff888034962480
RDX: 0000000000000000 RSI: 0000000000000ffd RDI: 00000000000000ff
RBP: ffffc9000d2bfa80 R08: 0000000000000002 R09: 0000000000000000
R10: ffff888050d04038 R11: ffffffff8244c590 R12: 0000000000000ffd
R13: 1ffff92001a57f2c R14: ffffc9000d2bfca0 R15: ffff888050d04000
FS:  00007f93075f66c0(0000) GS:ffff88808d301000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9308179460 CR3: 0000000051767000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 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_close include/linux/fsnotify.h:457 [inline]
 __fput+0x34e/0xa70 fs/file_table.c:454
 task_work_run+0x1d4/0x260 kernel/task_work.c:227
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 exit_to_user_mode_loop+0xe9/0x130 kernel/entry/common.c:43
 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
 syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline]
 syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline]
 do_syscall_64+0x2bd/0xfa0 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9307f8eec9
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:00007f93075f6038 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: fffffffffffffff8 RBX: 00007f93081e5fa0 RCX: 00007f9307f8eec9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000440
RBP: 00007f9308011f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f93081e6038 R14: 00007f93081e5fa0 R15: 00007fff2305f618
 </TASK>