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: 352d, last: 53d

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: 1 PID: 91 at fs/fuse/file.c:1843 fuse_write_file_get fs/fuse/file.c:1843 [inline]
WARNING: CPU: 1 PID: 91 at fs/fuse/file.c:1843 fuse_writepages_fill+0x15ae/0x1a20 fs/fuse/file.c:2153
Modules linked in:
CPU: 1 PID: 91 Comm: kworker/u4:4 Not tainted 5.19.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
Workqueue: writeback wb_workfn (flush-0:36)
RIP: 0010:fuse_write_file_get fs/fuse/file.c:1843 [inline]
RIP: 0010:fuse_writepages_fill+0x15ae/0x1a20 fs/fuse/file.c:2153
Code: ff 4c 89 ef e8 83 62 fa fe e9 54 ec ff ff e8 79 62 fa fe e9 7b ec ff ff e8 1f a5 ad fe 4c 89 f7 e8 67 cb ad 06 e8 12 a5 ad 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:ffffc900015e7390 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffffc900015e75f8 RCX: 0000000000000000
RDX: ffff888018148000 RSI: ffffffff82ccc74e RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000000 R09: ffff8880732d05e3
R10: ffffed100e65a0bc R11: 0000000000000001 R12: ffffc900015e7608
R13: ffff8880732d04c8 R14: ffff8880732d05e0 R15: ffff8880732d0000
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002000c380 CR3: 000000000ba8e000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 write_cache_pages+0x79f/0x1a50 mm/page-writeback.c:2334
 fuse_writepages+0x29b/0x410 fs/fuse/file.c:2259
 do_writepages+0x1ab/0x690 mm/page-writeback.c:2443
 __writeback_single_inode+0x126/0x10d0 fs/fs-writeback.c:1587
 writeback_sb_inodes+0x54d/0xf10 fs/fs-writeback.c:1865
 __writeback_inodes_wb+0xc6/0x280 fs/fs-writeback.c:1936
 wb_writeback+0x7f8/0xc30 fs/fs-writeback.c:2041
 wb_check_background_flush fs/fs-writeback.c:2107 [inline]
 wb_do_writeback fs/fs-writeback.c:2195 [inline]
 wb_workfn+0x9cb/0x1230 fs/fs-writeback.c:2222
 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:306
 </TASK>

Crashes (930):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-root 2022/07/18 08:13 upstream ff6992735ade 95cb00d1 .config log report syz C WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/06/13 06:39 upstream 997952851843 0d5abf15 .config log report syz C WARNING in fuse_writepages_fill
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-upstream-kasan-gce 2022/08/11 19:07 upstream 200e340f2196 787ed7e0 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/08/11 17:06 upstream 200e340f2196 787ed7e0 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/08/11 08:20 upstream 200e340f2196 a6201f11 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/08/10 16:47 upstream 200e340f2196 aaa9eaa0 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/08/08 03:54 upstream 200e340f2196 88e3a122 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/08/07 14:54 upstream 200e340f2196 88e3a122 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/08/05 15:53 upstream 200e340f2196 a65a7ce9 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/08/04 18:54 upstream 200e340f2196 1c9013ac .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/08/04 06:43 upstream 200e340f2196 1c9013ac .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/08/04 03:31 upstream 200e340f2196 1c9013ac .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/08/02 22:35 upstream 7d0d3fa7339e 1c9013ac .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/08/02 21:20 upstream 7d0d3fa7339e 1c9013ac .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/07/31 11:13 upstream 6a010258447d fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/31 08:37 upstream 6a010258447d fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/30 22:45 upstream 620725263f42 fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/30 19:43 upstream 620725263f42 fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/07/30 17:40 upstream e65c6a46df94 fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/07/30 08:41 upstream e65c6a46df94 fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/07/30 03:38 upstream 6e2c0490769e fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/28 00:16 upstream 6e7765cb477a fb95c74d .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/07/26 18:46 upstream 4a57a8400075 279b89c2 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/26 07:50 upstream e0dccc3b76fb 34795c51 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/07/26 06:08 upstream e0dccc3b76fb 34795c51 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/07/25 17:30 upstream e0dccc3b76fb 664c519c .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/07/22 15:46 upstream 4a57a8400075 22343af4 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/07/21 22:37 upstream 4a57a8400075 5e6028b9 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/07/21 13:12 upstream 353f7988dd84 6e67af9d .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-selinux-root 2022/07/21 10:45 upstream 353f7988dd84 6e67af9d .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/07/20 04:17 upstream 4a57a8400075 775344bc .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/07/19 23:59 upstream ca85855bdcae 72a3cc0c .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/19 13:23 upstream ca85855bdcae 72a3cc0c .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/07/19 09:20 upstream 80e19f34c288 ff988920 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/17 13:54 upstream 972a278fe60c 95cb00d1 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/07/13 17:01 upstream b047602d579b 5d921b08 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/09 05:22 upstream a471da3100ef b5765a15 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream 2022/07/09 03:36 upstream a471da3100ef b5765a15 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/07/09 00:07 upstream a471da3100ef b5765a15 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce 2022/07/08 20:27 upstream a471da3100ef b5765a15 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/08 02:19 upstream e8a4e1c1bb69 bff65f44 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-root 2022/07/08 00:27 upstream e8a4e1c1bb69 bff65f44 .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-upstream-kasan-gce-386 2022/08/11 09:55 upstream 200e340f2196 a6201f11 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/08/10 14:54 upstream 200e340f2196 aaa9eaa0 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-386 2022/07/31 06:00 upstream 620725263f42 fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-386 2022/07/29 18:53 upstream 6e2c0490769e fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/07/29 16:51 upstream 6e2c0490769e fef302b1 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/07/28 23:03 upstream 33ea1340bafe fb95c74d .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/07/26 00:36 upstream 4a57a8400075 34795c51 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/07/22 02:29 upstream 4a57a8400075 5e6028b9 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/07/22 00:07 upstream 4a57a8400075 5e6028b9 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/07/20 03:01 upstream 4a57a8400075 775344bc .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/07/20 03:00 upstream 4a57a8400075 775344bc .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-386 2022/07/15 01:57 upstream 9bd572ec7a66 5d921b08 .config log report info WARNING in fuse_writepages_fill
ci-qemu-upstream-386 2022/07/10 16:11 upstream b1c428b6c368 b5765a15 .config log report info WARNING in fuse_writepages_fill
ci-upstream-kasan-gce-386 2022/07/09 09:59 upstream e5524c2a1fc4 b5765a15 .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
* Struck through repros no longer work on HEAD.