syzbot


possible deadlock in generic_file_write_iter (2)

Status: upstream: reported C repro on 2021/12/23 04:07
Reported-by: syzbot+7431ef792b4c0a0129e1@syzkaller.appspotmail.com
First crash: 886d, last: 454d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream possible deadlock in generic_file_write_iter (2) fs 182 2354d 2366d 0/26 closed as invalid on 2018/02/13 19:29
linux-4.19 possible deadlock in generic_file_write_iter 4 1448d 1456d 0/1 auto-closed as invalid on 2020/10/06 15:19
linux-4.19 possible deadlock in generic_file_write_iter (2) C error 453 487d 1056d 0/1 upstream: reported C repro on 2021/07/06 07:41
upstream possible deadlock in generic_file_write_iter C 61506 2372d 2395d 3/26 fixed on 2017/11/28 03:36
linux-4.14 possible deadlock in generic_file_write_iter 3 1453d 1527d 0/1 auto-closed as invalid on 2020/10/01 23:22
Fix bisection attempts (9)
Created Duration User Patch Repo Result
2023/02/28 08:43 23m bisect fix linux-4.14.y job log (0) log
2023/01/26 23:07 29m bisect fix linux-4.14.y job log (0) log
2022/11/18 02:40 22m bisect fix linux-4.14.y job log (0) log
2022/10/19 02:13 27m bisect fix linux-4.14.y job log (0) log
2022/07/24 00:09 26m bisect fix linux-4.14.y job log (0) log
2022/06/19 14:45 22m bisect fix linux-4.14.y job log (0) log
2022/05/20 14:14 30m bisect fix linux-4.14.y job log (0) log
2022/04/15 05:06 23m bisect fix linux-4.14.y job log (0) log
2022/03/04 22:51 23m bisect fix linux-4.14.y job log (0) log

Sample crash report:
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
======================================================
WARNING: possible circular locking dependency detected
4.14.260-syzkaller #0 Not tainted
------------------------------------------------------
syz-executor768/8087 is trying to acquire lock:
 ("dio/%s"sb->s_id){+.+.}, at: [<ffffffff8135b5bb>] flush_workqueue+0xcb/0x1310 kernel/workqueue.c:2622

but task is already holding lock:
 (&sb->s_type->i_mutex_key#17){+.+.}, at: [<ffffffff81691649>] inode_lock include/linux/fs.h:719 [inline]
 (&sb->s_type->i_mutex_key#17){+.+.}, at: [<ffffffff81691649>] generic_file_write_iter+0x99/0x650 mm/filemap.c:3205

which lock already depends on the new lock.


the existing dependency chain (in reverse order) is:

-> #2 (&sb->s_type->i_mutex_key#17){+.+.}:
       down_write+0x34/0x90 kernel/locking/rwsem.c:54
       inode_lock include/linux/fs.h:719 [inline]
       __generic_file_fsync+0x9e/0x190 fs/libfs.c:989
       fat_file_fsync+0x73/0x1f0 fs/fat/file.c:165
       vfs_fsync_range+0x103/0x260 fs/sync.c:196
       generic_write_sync include/linux/fs.h:2684 [inline]
       dio_complete+0x561/0x8d0 fs/direct-io.c:330
       process_one_work+0x793/0x14a0 kernel/workqueue.c:2117
       worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251
       kthread+0x30d/0x420 kernel/kthread.c:232
       ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404

-> #1 ((&dio->complete_work)){+.+.}:
       process_one_work+0x736/0x14a0 kernel/workqueue.c:2093
       worker_thread+0x5cc/0xff0 kernel/workqueue.c:2251
       kthread+0x30d/0x420 kernel/kthread.c:232
       ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404

-> #0 ("dio/%s"sb->s_id){+.+.}:
       lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
       flush_workqueue+0xfa/0x1310 kernel/workqueue.c:2625
       drain_workqueue+0x177/0x3e0 kernel/workqueue.c:2790
       destroy_workqueue+0x71/0x710 kernel/workqueue.c:4116
       __alloc_workqueue_key+0xd50/0x1080 kernel/workqueue.c:4093
       sb_init_dio_done_wq+0x34/0x80 fs/direct-io.c:624
       do_blockdev_direct_IO fs/direct-io.c:1287 [inline]
       __blockdev_direct_IO+0x3df1/0xdcb0 fs/direct-io.c:1423
       blockdev_direct_IO include/linux/fs.h:2994 [inline]
       fat_direct_IO+0x19b/0x320 fs/fat/inode.c:275
       generic_file_direct_write+0x1df/0x420 mm/filemap.c:2958
       __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
       generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
       call_write_iter include/linux/fs.h:1780 [inline]
       aio_write+0x2ed/0x560 fs/aio.c:1553
       io_submit_one fs/aio.c:1641 [inline]
       do_io_submit+0x847/0x1570 fs/aio.c:1709
       do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
       entry_SYSCALL_64_after_hwframe+0x46/0xbb

other info that might help us debug this:

Chain exists of:
  "dio/%s"sb->s_id --> (&dio->complete_work) --> &sb->s_type->i_mutex_key#17

 Possible unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(&sb->s_type->i_mutex_key#17);
                               lock((&dio->complete_work));
                               lock(&sb->s_type->i_mutex_key#17);
  lock("dio/%s"sb->s_id);

 *** DEADLOCK ***

2 locks held by syz-executor768/8087:
 #0:  (sb_writers#11){.+.+}, at: [<ffffffff81982518>] file_start_write include/linux/fs.h:2714 [inline]
 #0:  (sb_writers#11){.+.+}, at: [<ffffffff81982518>] aio_write+0x408/0x560 fs/aio.c:1552
 #1:  (&sb->s_type->i_mutex_key#17){+.+.}, at: [<ffffffff81691649>] inode_lock include/linux/fs.h:719 [inline]
 #1:  (&sb->s_type->i_mutex_key#17){+.+.}, at: [<ffffffff81691649>] generic_file_write_iter+0x99/0x650 mm/filemap.c:3205

stack backtrace:
CPU: 0 PID: 8087 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 print_circular_bug.constprop.0.cold+0x2d7/0x41e kernel/locking/lockdep.c:1258
 check_prev_add kernel/locking/lockdep.c:1905 [inline]
 check_prevs_add kernel/locking/lockdep.c:2022 [inline]
 validate_chain kernel/locking/lockdep.c:2464 [inline]
 __lock_acquire+0x2e0e/0x3f20 kernel/locking/lockdep.c:3491
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
 flush_workqueue+0xfa/0x1310 kernel/workqueue.c:2625
 drain_workqueue+0x177/0x3e0 kernel/workqueue.c:2790
 destroy_workqueue+0x71/0x710 kernel/workqueue.c:4116
 __alloc_workqueue_key+0xd50/0x1080 kernel/workqueue.c:4093
 sb_init_dio_done_wq+0x34/0x80 fs/direct-io.c:624
 do_blockdev_direct_IO fs/direct-io.c:1287 [inline]
 __blockdev_direct_IO+0x3df1/0xdcb0 fs/direct-io.c:1423
 blockdev_direct_IO include/linux/fs.h:2994 [inline]
 fat_direct_IO+0x19b/0x320 fs/fat/inode.c:275
 generic_file_direct_write+0x1df/0x420 mm/filemap.c:2958
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8097 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8105 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8113 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8121 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8130 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8139 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8147 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8155 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name fail_page_alloc, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8165 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_fail_alloc_page mm/page_alloc.c:2898 [inline]
 prepare_alloc_pages mm/page_alloc.c:4131 [inline]
 __alloc_pages_nodemask+0x22c/0x2720 mm/page_alloc.c:4179
 __alloc_pages include/linux/gfp.h:484 [inline]
 __alloc_pages_node include/linux/gfp.h:497 [inline]
 kmem_getpages mm/slab.c:1419 [inline]
 cache_grow_begin+0x91/0x700 mm/slab.c:2676
 cache_alloc_refill+0x273/0x350 mm/slab.c:3043
 ____cache_alloc mm/slab.c:3125 [inline]
 __do_cache_alloc mm/slab.c:3347 [inline]
 slab_alloc mm/slab.c:3382 [inline]
 kmem_cache_alloc+0x333/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bio_alloc_bioset+0x41b/0x830 block/bio.c:486
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8174 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8182 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8191 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bio_alloc_bioset+0x41b/0x830 block/bio.c:486
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8200 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8207 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8217 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8226 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name fail_page_alloc, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8234 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_fail_alloc_page mm/page_alloc.c:2898 [inline]
 prepare_alloc_pages mm/page_alloc.c:4131 [inline]
 __alloc_pages_nodemask+0x22c/0x2720 mm/page_alloc.c:4179
 __alloc_pages include/linux/gfp.h:484 [inline]
 __alloc_pages_node include/linux/gfp.h:497 [inline]
 kmem_getpages mm/slab.c:1419 [inline]
 cache_grow_begin+0x91/0x700 mm/slab.c:2676
 cache_alloc_refill+0x273/0x350 mm/slab.c:3043
 ____cache_alloc mm/slab.c:3125 [inline]
 __do_cache_alloc mm/slab.c:3347 [inline]
 slab_alloc mm/slab.c:3382 [inline]
 kmem_cache_alloc+0x333/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bio_alloc_bioset+0x41b/0x830 block/bio.c:486
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f17a70c9000
RBP: 00007f17a71970d0 R08: 0000000000000001 R09: 0000000000000033
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f17a71ca4cc
R13: 00007f17a70f22f0 R14: 00007f17a71ca4c8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8243 Comm: syz-executor768 Not tainted 4.14.260-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 mempool_alloc+0x10e/0x2d0 mm/mempool.c:330
 bvec_alloc+0xcc/0x2d0 block/bio.c:216
 bio_alloc_bioset+0x585/0x830 block/bio.c:506
 bio_alloc include/linux/bio.h:422 [inline]
 mpage_alloc+0x56/0x2b0 fs/mpage.c:79
 __mpage_writepage+0xb33/0x11e0 fs/mpage.c:622
 write_cache_pages+0x505/0xd20 mm/page-writeback.c:2257
 mpage_writepages+0xbe/0x1f0 fs/mpage.c:716
 do_writepages+0xc3/0x240 mm/page-writeback.c:2361
 __filemap_fdatawrite_range+0x236/0x310 mm/filemap.c:346
 filemap_write_and_wait_range mm/filemap.c:581 [inline]
 filemap_write_and_wait_range+0x39/0xb0 mm/filemap.c:575
 generic_file_direct_write+0x31f/0x420 mm/filemap.c:2934
 __generic_file_write_iter+0x2a2/0x590 mm/filemap.c:3137
 generic_file_write_iter+0x36f/0x650 mm/filemap.c:3208
 call_write_iter include/linux/fs.h:1780 [inline]
 aio_write+0x2ed/0x560 fs/aio.c:1553
 io_submit_one fs/aio.c:1641 [inline]
 do_io_submit+0x847/0x1570 fs/aio.c:1709
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f17a7145cf9
RSP: 002b:00007f17a70f22e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00007f17a71ca4c0 RCX: 00007f17a7145cf9

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/01/02 03:44 linux-4.14.y a6ca7c65b137 e1768e9c .config console log report syz C ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/09/15 14:51 linux-4.14.y 5df8b4735177 dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/09/12 07:17 linux-4.14.y 65640c873dcf 356d8217 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/08/16 04:59 linux-4.14.y b641242202ed 7a7cb304 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/06/24 00:09 linux-4.14.y 84bae26850e3 912f5df7 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/04/20 14:13 linux-4.14.y 15a1c6b6f516 7d7bc738 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/04/20 11:39 linux-4.14.y 15a1c6b6f516 7d7bc738 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/03/16 01:53 linux-4.14.y af48f51cb593 9e8eaa75 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/02/02 22:51 linux-4.14.y b86ee2b7ae42 4ebb2798 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/01/18 21:25 linux-4.14.y 4ba8e26127c3 731a2d23 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/01/18 15:49 linux-4.14.y 4ba8e26127c3 731a2d23 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/01/18 01:48 linux-4.14.y 4ba8e26127c3 731a2d23 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/01/16 02:39 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/01/15 10:16 linux-4.14.y 4ba8e26127c3 723cfaf0 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/01/14 09:59 linux-4.14.y 4ba8e26127c3 b8d780ab .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2022/01/13 23:56 linux-4.14.y 4ba8e26127c3 b8d780ab .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2021/12/25 14:23 linux-4.14.y 8ee0807eedf3 6caa12e4 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2021/12/25 11:45 linux-4.14.y 8ee0807eedf3 6caa12e4 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2021/12/24 13:04 linux-4.14.y 8ee0807eedf3 6caa12e4 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
2021/12/23 04:06 linux-4.14.y 8ee0807eedf3 6caa12e4 .config console log report info ci2-linux-4-14 possible deadlock in generic_file_write_iter
* Struck through repros no longer work on HEAD.