syzbot


WARNING in fuse_writepages

Status: closed as dup on 2024/10/02 00:02
Subsystems: fuse
[Documentation on labels]
Reported-by: syzbot+217a976dc26ef2fa8711@syzkaller.appspotmail.com
Fix commit: 184429a17f8f Revert "fuse: move initialization of fuse_file to fuse_writepages() instead of in callback"
First crash: 93d, last: 76d
Duplicate of
Title Repro Cause bisect Fix bisect Count Last Reported
WARNING in fuse_write_file_get (2) fuse 6 73d 90d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [fuse?] WARNING in fuse_writepages 5 (6) 2024/10/21 10:42

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 12 at fs/fuse/file.c:1989 fuse_write_file_get fs/fuse/file.c:1989 [inline]
WARNING: CPU: 0 PID: 12 at fs/fuse/file.c:1989 fuse_write_file_get fs/fuse/file.c:1986 [inline]
WARNING: CPU: 0 PID: 12 at fs/fuse/file.c:1989 fuse_writepages+0x497/0x5a0 fs/fuse/file.c:2368
Modules linked in:
CPU: 0 UID: 0 PID: 12 Comm: kworker/u8:1 Not tainted 6.12.0-rc3-syzkaller-00007-g6485cf5ea253 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: writeback wb_workfn (flush-0:41)
RIP: 0010:fuse_write_file_get fs/fuse/file.c:1989 [inline]
RIP: 0010:fuse_write_file_get fs/fuse/file.c:1986 [inline]
RIP: 0010:fuse_writepages+0x497/0x5a0 fs/fuse/file.c:2368
Code: 00 00 00 44 89 f8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc e8 49 a4 90 fe 48 8b 7c 24 08 e8 af 86 27 08 e8 3a a4 90 fe 90 <0f> 0b 90 41 bf fb ff ff ff eb 8b e8 29 a4 90 fe 48 8b 7c 24 18 be
RSP: 0018:ffffc900001174a8 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffc900001174f8 RCX: 0000000000000000
RDX: ffff88801d2b5a00 RSI: ffffffff82fcde66 RDI: 0000000000000001
RBP: ffff8880760f8960 R08: 0000000000000000 R09: ffffed100ec1f1af
R10: ffff8880760f8d7b R11: ffffffff961c60a8 R12: ffffc90000117840
R13: ffff8880760f8740 R14: ffff88807aaa1000 R15: ffff8880760f8c10
FS:  0000000000000000(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30706ff8 CR3: 0000000078856000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 do_writepages+0x1a3/0x7f0 mm/page-writeback.c:2683
 __writeback_single_inode+0x166/0xfa0 fs/fs-writeback.c:1658
 writeback_sb_inodes+0x603/0xfa0 fs/fs-writeback.c:1954
 wb_writeback+0x199/0xb50 fs/fs-writeback.c:2134
 wb_do_writeback fs/fs-writeback.c:2281 [inline]
 wb_workfn+0x294/0xbc0 fs/fs-writeback.c:2321
 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229
 process_scheduled_works kernel/workqueue.c:3310 [inline]
 worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
 kthread+0x2c1/0x3a0 kernel/kthread.c:389
 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/14 10:41 upstream 6485cf5ea253 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in fuse_writepages
2024/10/14 10:41 upstream 6485cf5ea253 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in fuse_writepages
2024/10/12 05:16 upstream 9e4c6c1ad9a1 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in fuse_writepages
2024/10/12 04:43 upstream 9e4c6c1ad9a1 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in fuse_writepages
2024/10/08 23:46 upstream 5b7c893ed5ed 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in fuse_writepages
2024/10/07 15:31 upstream 8cf0b93919e1 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in fuse_writepages
2024/10/05 04:57 upstream 27cc6fdf7201 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in fuse_writepages
2024/10/03 20:48 upstream 7ec462100ef9 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in fuse_writepages
2024/10/01 18:19 upstream e32cde8d2bd7 ea2b66a6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in fuse_writepages
2024/09/29 22:53 upstream e7ed34365879 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in fuse_writepages
2024/09/29 13:40 upstream 3efc57369a0c ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-badwrites-root WARNING in fuse_writepages
2024/09/27 19:08 upstream e477dba5442c 2b1784d6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in fuse_writepages
2024/09/29 07:27 upstream 3efc57369a0c ba29ff75 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in fuse_writepages
2024/10/15 02:27 upstream eca631b8fe80 b01b6661 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in fuse_writepages
2024/10/02 11:56 upstream e32cde8d2bd7 83a2f15f .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream-386 WARNING in fuse_writepages
* Struck through repros no longer work on HEAD.