syzbot


WARNING in fuse_writepages_fill
Status: upstream: reported C repro on 2021/10/20 01:54
Reported-by: syzbot+29e1f6075bbe07b2beb6@syzkaller.appspotmail.com
First crash: 223d, last: 2h02m

Cause bisection: introduced by (bisect log) :
commit 6e6b45a963c4a962c61ca59982982ddcdc82e651
Author: Miklos Szeredi <mszeredi@redhat.com>
Date: Wed Oct 13 12:33:40 2021 +0000

  fuse: write inode in fuse_vma_close() instead of fuse_release()

Crash: WARNING in fuse_evict_inode (log)
Repro: C syz .config

Sample crash report:
wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50
wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50
------------[ cut here ]------------
WARNING: CPU: 0 PID: 11 at fs/fuse/file.c:1842 fuse_write_file_get fs/fuse/file.c:1842 [inline]
WARNING: CPU: 0 PID: 11 at fs/fuse/file.c:1842 fuse_writepages_fill+0x15ae/0x1a20 fs/fuse/file.c:2152
Modules linked in:
CPU: 0 PID: 11 Comm: kworker/u4:1 Not tainted 5.18.0-rc2-syzkaller-00050-ga19944809fe9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: writeback wb_workfn (flush-0:38)
RIP: 0010:fuse_write_file_get fs/fuse/file.c:1842 [inline]
RIP: 0010:fuse_writepages_fill+0x15ae/0x1a20 fs/fuse/file.c:2152
Code: ff 4c 89 ef e8 a3 8d 05 ff e9 54 ec ff ff e8 99 8d 05 ff e9 7b ec ff ff e8 4f f4 b9 fe 4c 89 f7 e8 a7 7a a3 06 e8 42 f4 b9 fe <0f> 0b 48 b8 00 00 00 00 00 fc ff df 48 8b 54 24 18 48 c1 ea 03 80
RSP: 0018:ffffc900001073b0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffc90000107618 RCX: 0000000000000000
RDX: ffff888010ef3a00 RSI: ffffffff82bf275e RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff888072ac85e3
R10: ffffed100e5590bc R11: 0000000000000001 R12: ffffc90000107628
R13: ffff888072ac84c8 R14: ffff888072ac85e0 R15: ffff888072ac8000
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fae0f66f718 CR3: 0000000023697000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 write_cache_pages+0x79f/0x1a50 mm/page-writeback.c:2243
 fuse_writepages+0x29b/0x410 fs/fuse/file.c:2258
 do_writepages+0x1ab/0x690 mm/page-writeback.c:2352
 __writeback_single_inode+0x126/0x10d0 fs/fs-writeback.c:1581
 writeback_sb_inodes+0x53d/0xf00 fs/fs-writeback.c:1854
 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1923
 wb_writeback+0x7f8/0xc30 fs/fs-writeback.c:2028
 wb_check_background_flush fs/fs-writeback.c:2094 [inline]
 wb_do_writeback fs/fs-writeback.c:2182 [inline]
 wb_workfn+0x9cb/0x1230 fs/fs-writeback.c:2209
 process_one_work+0x996/0x1610 kernel/workqueue.c:2289
 worker_thread+0x665/0x1080 kernel/workqueue.c:2436
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>

Crashes (664):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2022/04/14 06:01 upstream a19944809fe9 b17b2923 .config log report syz C WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/03/27 01:33 upstream bddac7c1e02b 89bc8608 .config log report syz C WARNING in fuse_writepages_fill
ci-upstream-linux-next-kasan-gce-root 2022/04/23 18:08 linux-next f1244c81da13 131df97d .config log report syz C WARNING in fuse_writepages_fill
ci-upstream-linux-next-kasan-gce-root 2021/10/16 02:45 linux-next 7c832d2f9b95 0c5d9412 .config log report syz C WARNING in fuse_writepages_fill
ci-upstream-linux-next-kasan-gce-root 2021/10/16 01:51 linux-next 7c832d2f9b95 0c5d9412 .config log report syz C WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/05/27 20:29 upstream 8291eaafed36 a46af346 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/05/27 16:52 upstream 7e284070abe5 116e7a7b .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/05/27 16:35 upstream 7e284070abe5 116e7a7b .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/05/27 07:25 upstream babf0bb978e3 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/05/27 01:20 upstream babf0bb978e3 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/05/26 12:28 upstream 7e062cda7d90 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/05/26 08:52 upstream d7227785e384 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/05/26 06:30 upstream 7e062cda7d90 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/05/26 05:05 upstream 7e062cda7d90 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/05/26 04:00 upstream d7227785e384 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/05/26 02:42 upstream 7e062cda7d90 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/05/25 17:49 upstream fdaf9a5840ac 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/05/25 11:12 upstream aa051d36ce4a 647c0e27 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/05/25 07:53 upstream aa051d36ce4a 647c0e27 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/05/25 03:54 upstream aa051d36ce4a 647c0e27 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/05/24 22:07 upstream 143a6252e1b8 fcfad4ff .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/05/24 08:00 upstream 1e57930e9f40 e7f9308d .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/05/24 04:03 upstream 1e57930e9f40 e7f9308d .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/05/23 23:15 upstream 1e57930e9f40 e7f9308d .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/05/23 16:13 upstream 4b0986a3613c 4c7657cb .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/05/23 10:24 upstream 4b0986a3613c 4c7657cb .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/05/23 05:20 upstream 4b0986a3613c 7268fa62 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/05/22 20:37 upstream eaea45fc0e7b 7268fa62 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/05/22 13:33 upstream eaea45fc0e7b 7268fa62 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/05/22 05:43 upstream 6c3f5bec9b40 7268fa62 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/05/21 08:37 upstream 3b5e1590a267 7268fa62 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/05/21 07:08 upstream 3b5e1590a267 7268fa62 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/05/19 19:45 upstream f993aed406ea 50c53f39 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/05/18 13:42 upstream 210e04ff7681 50c53f39 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/05/18 05:11 upstream 210e04ff7681 744a39e2 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/05/18 01:01 upstream 210e04ff7681 744a39e2 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/05/15 10:59 upstream 2fe1020d73ca 744a39e2 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-smack-root 2022/04/07 00:30 upstream 3e732ebf7316 97582466 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/27 17:54 upstream 7e284070abe5 116e7a7b .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/26 17:04 upstream babf0bb978e3 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/26 10:06 upstream d7227785e384 3037caa9 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/24 15:38 upstream 143a6252e1b8 fcfad4ff .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/24 00:20 upstream 5dc921868c50 e7f9308d .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/23 19:22 upstream 4b0986a3613c 4c7657cb .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/22 09:40 upstream eaea45fc0e7b 7268fa62 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-386 2022/05/22 07:02 upstream 6c3f5bec9b40 7268fa62 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/20 20:47 upstream 3d7285a335ed bd37ad7e .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/20 17:54 upstream 3d7285a335ed bd37ad7e .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/20 05:01 upstream b015dcd62b86 cb1ac2e7 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/20 02:28 upstream b015dcd62b86 cb1ac2e7 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/19 14:55 upstream f993aed406ea cb1ac2e7 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-386 2022/05/18 20:16 upstream ef1302160bfb 50c53f39 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/18 16:36 upstream ef1302160bfb 50c53f39 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/18 15:07 upstream 210e04ff7681 50c53f39 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/05/18 03:44 upstream 210e04ff7681 744a39e2 .config log report info WARNING in fuse_writepages_fill
ci-upstream-linux-next-kasan-gce-root 2022/04/25 18:37 linux-next f1244c81da13 c889aef9 .config log report info WARNING in fuse_writepages_fill