possible deadlock in generic_file_write_iter (2)

16 views
Skip to first unread message

syzbot

unread,
Jul 6, 2021, 3:41:31 AM7/6/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 9f84340f Linux 4.19.196
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13fe2ae2300000
kernel config: https://syzkaller.appspot.com/x/.config?x=abf37bdf4eb59b8e
dashboard link: https://syzkaller.appspot.com/bug?extid=607ad2b77fe8f8137629

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+607ad2...@syzkaller.appspotmail.com

REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
======================================================
WARNING: possible circular locking dependency detected
4.19.196-syzkaller #0 Not tainted
------------------------------------------------------
syz-executor.2/9591 is trying to acquire lock:
000000004b510c23 ((wq_completion)"dio/%s"sb->s_id){+.+.}, at: flush_workqueue+0xe8/0x13e0 kernel/workqueue.c:2658

but task is already holding lock:
00000000e4f33425 (&sb->s_type->i_mutex_key#27){++++}, at: inode_lock include/linux/fs.h:748 [inline]
00000000e4f33425 (&sb->s_type->i_mutex_key#27){++++}, at: generic_file_write_iter+0x99/0x730 mm/filemap.c:3320

which lock already depends on the new lock.


the existing dependency chain (in reverse order) is:

-> #2 (&sb->s_type->i_mutex_key#27){++++}:
inode_lock include/linux/fs.h:748 [inline]
__generic_file_fsync+0xb0/0x1f0 fs/libfs.c:989
fat_file_fsync+0x73/0x200 fs/fat/file.c:198
vfs_fsync_range+0x13a/0x220 fs/sync.c:197
generic_write_sync include/linux/fs.h:2750 [inline]
dio_complete+0x763/0xac0 fs/direct-io.c:329
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

-> #1 ((work_completion)(&dio->complete_work)){+.+.}:
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

-> #0 ((wq_completion)"dio/%s"sb->s_id){+.+.}:
flush_workqueue+0x117/0x13e0 kernel/workqueue.c:2661
drain_workqueue+0x1a5/0x460 kernel/workqueue.c:2826
destroy_workqueue+0x75/0x790 kernel/workqueue.c:4177
__alloc_workqueue_key+0xb76/0xed0 kernel/workqueue.c:4154
sb_init_dio_done_wq+0x34/0x90 fs/direct-io.c:623
do_blockdev_direct_IO fs/direct-io.c:1285 [inline]
__blockdev_direct_IO+0x5f55/0xef40 fs/direct-io.c:1419
blockdev_direct_IO include/linux/fs.h:3059 [inline]
fat_direct_IO+0x1d1/0x370 fs/fat/inode.c:282
generic_file_direct_write+0x208/0x4a0 mm/filemap.c:3073
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

other info that might help us debug this:

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

Possible unsafe locking scenario:

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

*** DEADLOCK ***

1 lock held by syz-executor.2/9591:
#0: 00000000e4f33425 (&sb->s_type->i_mutex_key#27){++++}, at: inode_lock include/linux/fs.h:748 [inline]
#0: 00000000e4f33425 (&sb->s_type->i_mutex_key#27){++++}, at: generic_file_write_iter+0x99/0x730 mm/filemap.c:3320

stack backtrace:
CPU: 1 PID: 9591 Comm: syz-executor.2 Not tainted 4.19.196-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
print_circular_bug.constprop.0.cold+0x2d7/0x41e kernel/locking/lockdep.c:1222
check_prev_add kernel/locking/lockdep.c:1866 [inline]
check_prevs_add kernel/locking/lockdep.c:1979 [inline]
validate_chain kernel/locking/lockdep.c:2420 [inline]
__lock_acquire+0x30c9/0x3ff0 kernel/locking/lockdep.c:3416
lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908
flush_workqueue+0x117/0x13e0 kernel/workqueue.c:2661
drain_workqueue+0x1a5/0x460 kernel/workqueue.c:2826
destroy_workqueue+0x75/0x790 kernel/workqueue.c:4177
__alloc_workqueue_key+0xb76/0xed0 kernel/workqueue.c:4154
sb_init_dio_done_wq+0x34/0x90 fs/direct-io.c:623
do_blockdev_direct_IO fs/direct-io.c:1285 [inline]
__blockdev_direct_IO+0x5f55/0xef40 fs/direct-io.c:1419
blockdev_direct_IO include/linux/fs.h:3059 [inline]
fat_direct_IO+0x1d1/0x370 fs/fat/inode.c:282
generic_file_direct_write+0x208/0x4a0 mm/filemap.c:3073
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665d9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe2a17ec188 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9
RDX: 0000000020000540 RSI: 000000000000003b RDI: 00007fe2a17ed000
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038
R13: 00007fff2fbed29f R14: 00007fe2a17ec300 R15: 0000000000022000
EXT4-fs (loop3): VFS: Can't find ext4 filesystem
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
overlayfs: filesystem on './file1' not supported as upperdir
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
xt_CT: You must specify a L4 protocol and not use inversions on it
xt_CT: You must specify a L4 protocol and not use inversions on it
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
xt_CT: You must specify a L4 protocol and not use inversions on it
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
xt_CT: You must specify a L4 protocol and not use inversions on it
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
netlink: 'syz-executor.3': attribute type 1 has an invalid length.
bond1: making interface gretap1 the new active one
bond1: Enslaving gretap1 as an active interface with an up link
netlink: 'syz-executor.3': attribute type 1 has an invalid length.
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
bond2 (uninitialized): Released all slaves
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
netlink: 'syz-executor.3': attribute type 1 has an invalid length.
bond2 (uninitialized): Released all slaves
netlink: 'syz-executor.0': attribute type 1 has an invalid length.
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
ieee80211 phy35: Selected rate control algorithm 'minstrel_ht'
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
bond5: making interface gretap1 the new active one
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
bond5: Enslaving gretap1 as an active interface with an up link
netlink: 'syz-executor.3': attribute type 1 has an invalid length.
bond2 (uninitialized): Released all slaves
ieee80211 phy36: Selected rate control algorithm 'minstrel_ht'
netlink: 'syz-executor.0': attribute type 1 has an invalid length.
bond6 (uninitialized): Released all slaves
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
netlink: 'syz-executor.3': attribute type 1 has an invalid length.
bond2 (uninitialized): Released all slaves
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
netlink: 'syz-executor.0': attribute type 1 has an invalid length.
bond6 (uninitialized): Released all slaves
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
ieee80211 phy37: Selected rate control algorithm 'minstrel_ht'
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
ieee80211 phy38: Selected rate control algorithm 'minstrel_ht'
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
ieee80211 phy39: Selected rate control algorithm 'minstrel_ht'
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
ieee80211 phy40: Selected rate control algorithm 'minstrel_ht'
kauditd_printk_skb: 7 callbacks suppressed
audit: type=1107 audit(1625557227.184:362): pid=10320 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='� D ����� �s2�f"��.���0:�g ���hfn�~�. ��0 R�*��Z ��,'
audit: type=1107 audit(1625557227.274:363): pid=10330 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='� D ����� �s2�f"��.���0:�g ���hfn�~�. ��0 R�*��Z ��,'
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
audit: type=1107 audit(1625557227.354:364): pid=10340 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='� D ����� �s2�f"��.���0:�g ���hfn�~�. ��0 R�*��Z ��,'
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2
REISERFS error (device loop5): vs-5150 search_by_key: invalid format found in block 531. Fsck?
REISERFS (device loop5): Remounting filesystem read-only
REISERFS error (device loop5): vs-13070 reiserfs_read_locked_inode: i/o failure occurred trying to find stat data of [1 2 0x0 SD]
REISERFS (device loop5): Using tea hash to sort names
REISERFS (device loop5): using 3.5.x disk format
audit: type=1107 audit(1625557227.434:365): pid=10344 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='� D ����� �s2�f"��.���0:�g ���hfn�~�. ��0 R�*��Z ��,'
REISERFS (device loop5): found reiserfs format "3.5" with non-standard journal
REISERFS (device loop5): using ordered data mode
reiserfs: using flush barriers
REISERFS (device loop5): journal params: device loop5, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop5): checking transaction log (loop5)
ieee80211 phy41: Selected rate control algorithm 'minstrel_ht'
REISERFS warning: reiserfs-5093 is_leaf: item entry count seems wrong *3.5*[1 2 0(1) DIR], item_len 35, item_location 4029, free_space(entry_count) 2


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jul 22, 2021, 9:43:22 AM7/22/21
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 4938296e03bd Linux 4.19.198
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=17407f74300000
kernel config: https://syzkaller.appspot.com/x/.config?x=9013c716691ad1fe
dashboard link: https://syzkaller.appspot.com/bug?extid=607ad2b77fe8f8137629
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=17688eca300000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=13ee3312300000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+607ad2...@syzkaller.appspotmail.com

RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
======================================================
WARNING: possible circular locking dependency detected
4.19.198-syzkaller #0 Not tainted
------------------------------------------------------
syz-executor094/8160 is trying to acquire lock:
0000000002495b4e ((wq_completion)"dio/%s"sb->s_id){+.+.}, at: flush_workqueue+0xe8/0x13e0 kernel/workqueue.c:2658

but task is already holding lock:
000000000884639b (&sb->s_type->i_mutex_key#17){+.+.}, at: inode_lock include/linux/fs.h:748 [inline]
000000000884639b (&sb->s_type->i_mutex_key#17){+.+.}, at: generic_file_write_iter+0x99/0x730 mm/filemap.c:3320

which lock already depends on the new lock.


the existing dependency chain (in reverse order) is:

-> #2 (&sb->s_type->i_mutex_key#17){+.+.}:
(wq_completion)"dio/%s"sb->s_id --> (work_completion)(&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((work_completion)(&dio->complete_work));
lock(&sb->s_type->i_mutex_key#17);
lock((wq_completion)"dio/%s"sb->s_id);

*** DEADLOCK ***

1 lock held by syz-executor094/8160:
#0: 000000000884639b (&sb->s_type->i_mutex_key#17){+.+.}, at: inode_lock include/linux/fs.h:748 [inline]
#0: 000000000884639b (&sb->s_type->i_mutex_key#17){+.+.}, at: generic_file_write_iter+0x99/0x730 mm/filemap.c:3320

stack backtrace:
CPU: 1 PID: 8160 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8167 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8174 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8183 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8193 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8200 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8208 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8218 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8227 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8234 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8241 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8249 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8257 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8264 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8273 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 8283 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8290 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8298 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
__generic_file_write_iter+0x2d0/0x610 mm/filemap.c:3252
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
aio_write+0x37f/0x5c0 fs/aio.c:1574
__io_submit_one fs/aio.c:1858 [inline]
io_submit_one+0xecd/0x20c0 fs/aio.c:1909
__do_sys_io_submit fs/aio.c:1953 [inline]
__se_sys_io_submit+0x11b/0x4a0 fs/aio.c:1924
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x44ab79
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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4c2fe6e2e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d1
RAX: ffffffffffffffda RBX: 00000000004cb4e0 RCX: 000000000044ab79
RDX: 0000000020000540 RSI: 0000000000000002 RDI: 00007f4c2fe45000
RBP: 000000000049b0b8 R08: 0000000000000001 R09: 0000000000000032
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004cb4ec
R13: 00007f4c2fe6e2f0 R14: 00000000004cb4e8 R15: 0000000000000001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8305 Comm: syz-executor094 Not tainted 4.19.198-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1588
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x3f/0x370 mm/slab.c:3557
mempool_alloc+0x146/0x350 mm/mempool.c:385
bio_alloc_bioset+0x389/0x5e0 block/bio.c:489
bio_alloc include/linux/bio.h:437 [inline]
mpage_alloc+0x2f/0x260 fs/mpage.c:79
__mpage_writepage+0x102a/0x1570 fs/mpage.c:636
write_cache_pages+0x802/0x12d0 mm/page-writeback.c:2240
mpage_writepages+0xd1/0x230 fs/mpage.c:730
do_writepages+0xe5/0x290 mm/page-writeback.c:2344
__filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446
filemap_write_and_wait_range mm/filemap.c:679 [inline]
filemap_write_and_wait_range+0x46/0xd0 mm/filemap.c:673
generic_file_direct_write+0x389/0x4a0 mm/filemap.c:3049
Reply all
Reply to author
Forward
0 new messages