syzbot


WARNING in fanotify_handle_event (2)

Status: upstream: reported C repro on 2024/11/12 04:21
Subsystems: exfat
[Documentation on labels]
Reported-by: syzbot+318aab2cf26bb7d40228@syzkaller.appspotmail.com
First crash: 382d, last: 2d20h
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly exfat report (Sep 2025) 0 (1) 2025/09/26 18:13
[syzbot] Monthly exfat report (Jul 2025) 0 (1) 2025/07/26 08:56
[syzbot] [fs?] WARNING in fanotify_handle_event (2) 1 (2) 2024/11/12 11:50
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 WARNING in fanotify_handle_event origin:upstream -1 C 1 9d00h 83d 0/2 upstream: reported C repro on 2025/09/02 05:01
linux-5.15 WARNING in fanotify_handle_event origin:upstream -1 C 4 13d 139d 0/3 upstream: reported C repro on 2025/07/08 09:14
linux-6.1 WARNING in fanotify_handle_event origin:upstream -1 C 5 3d03h 139d 0/3 upstream: reported C repro on 2025/07/08 10:20
upstream WARNING in fanotify_handle_event fs -1 C done 5 2352d 2351d 12/29 fixed on 2019/07/10 21:40
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/10/28 11:19 14m retest repro upstream report log
2025/10/06 18:15 14m retest repro upstream report log
2025/10/06 18:15 14m retest repro upstream report log
2025/09/15 20:18 13m retest repro upstream report log
2025/09/15 20:18 14m retest repro upstream report log
2025/07/22 10:50 14m retest repro upstream report log
2025/07/22 10:50 15m retest repro upstream report log
2025/07/03 01:01 14m retest repro upstream report log
2025/07/03 01:01 15m retest repro upstream report log
2025/04/25 09:22 15m retest repro upstream report log

Sample 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>

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/14 10:30 upstream 3a8660878839 b6605ba8 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2025/06/19 00:51 upstream 52da431bf03b ed3e87f7 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2024/11/08 05:59 upstream 906bd684e4b1 179b040e .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2024/11/08 05:20 upstream 906bd684e4b1 179b040e .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2024/11/08 04:43 upstream 906bd684e4b1 179b040e .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2025/07/08 10:22 upstream d7b8f8e20813 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in fanotify_handle_event
2025/07/08 10:21 upstream d7b8f8e20813 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in fanotify_handle_event
2025/07/08 08:27 upstream d7b8f8e20813 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in fanotify_handle_event
2025/07/08 08:27 upstream d7b8f8e20813 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in fanotify_handle_event
2025/11/22 08:17 upstream 2eba5e05d9bc 4fb8ef37 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2025/11/08 16:53 upstream e811c33b1f13 4e1406b4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2025/10/14 09:08 upstream 3a8660878839 b6605ba8 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2025/09/22 18:15 upstream 07e27ad16399 770ff59f .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2025/07/08 07:49 upstream d7b8f8e20813 4f67c4ae .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2025/06/18 23:46 upstream 52da431bf03b ed3e87f7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2025/01/08 08:23 upstream 09a0fa92e5b4 f3558dbf .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2024/11/08 04:15 upstream 906bd684e4b1 179b040e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in fanotify_handle_event
2025/07/08 08:40 linux-next 26ffb3d6f02c 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in fanotify_handle_event
2025/09/01 20:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 8f5ae30d69d7 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in fanotify_handle_event
2025/02/14 11:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a64dcfb451e2 d9a046cf .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in fanotify_handle_event
* Struck through repros no longer work on HEAD.