WARNING: CPU: 1 PID: 7822 at drivers/scsi/scsi_lib.c:1024 scsi_alloc_sgtables+0x9aa/0xbb0
Modules linked in:
CPU: 1 PID: 7822 Comm: syz-executor.6 Not tainted 5.17.0-next-20220330 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
RIP: 0010:scsi_alloc_sgtables+0x9aa/0xbb0
Code: 48 c1 e8 03 80 3c 10 00 0f 85 57 01 00 00 48 c7 c0 00 00 00 80 48 2b 05 24 82 39 02 48 89 04 24 e9 66 fd ff ff e8 66 06 8c fe <0f> 0b 41 bc 0a 00 00 00 e9 83 fa ff ff 41 bc 09 00 00 00 e9 78 fa
RSP: 0018:ffff888041977578 EFLAGS: 00010216
RAX: 0000000000000ae9 RBX: ffff88800e22a108 RCX: ffffc90023200000
RDX: 0000000000040000 RSI: ffffffff82b7b04a RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000000
R10: ffffffff82b7afdd R11: 0000000000000000 R12: ffff88800e22a01c
R13: ffff888008330000 R14: ffff88800e22a000 R15: 0000000000000001
FS: 00007fbaf9a02700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f730041e718 CR3: 000000004051e000 CR4: 0000000000350ee0
Call Trace:
scsi_queue_rq+0x26dc/0x31f0
blk_mq_dispatch_rq_list+0x6c2/0x21d0
__blk_mq_sched_dispatch_requests+0x206/0x3d0
blk_mq_sched_dispatch_requests+0x101/0x180
__blk_mq_run_hw_queue+0xff/0x350
__blk_mq_delay_run_hw_queue+0x58a/0x670
blk_mq_run_hw_queue+0x321/0x4a0
blk_mq_sched_insert_request+0x2e5/0x3e0
blk_execute_rq+0xcc/0x340
sg_io+0x675/0xfe0
scsi_ioctl+0x52b/0x1540
sr_block_ioctl+0x1cb/0x210
blkdev_ioctl+0x356/0x7f0
__x64_sys_ioctl+0x196/0x210
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fbafc48cb19
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:00007fbaf9a02188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fbafc59ff60 RCX: 00007fbafc48cb19
RDX: 00000000200002c0 RSI: 0000000000002285 RDI: 0000000000000003
RBP: 00007fbafc4e6f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe93bfddff R14: 00007fbaf9a02300 R15: 0000000000022000
irq event stamp: 2211
hardirqs last enabled at (2219): [] __up_console_sem+0x78/0x80
hardirqs last disabled at (2228): [] __up_console_sem+0x5d/0x80
softirqs last enabled at (1504): [] __irq_exit_rcu+0x113/0x170
softirqs last disabled at (1451): [] __irq_exit_rcu+0x113/0x170
---[ end trace 0000000000000000 ]---
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 7834 Comm: syz-executor.5 Tainted: G W 5.17.0-next-20220330 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Call Trace:
dump_stack_lvl+0x8b/0xb3
should_fail.cold+0x5/0xa
should_failslab+0x5/0x10
kmem_cache_alloc_node+0x55/0x490
__alloc_skb+0x211/0x340
alloc_skb_with_frags+0x92/0x6a0
sock_alloc_send_pskb+0x7ab/0x930
tun_get_user+0x9cf/0x3a10
tun_chr_write_iter+0xdb/0x1e0
new_sync_write+0x390/0x560
vfs_write+0x7b9/0xac0
__x64_sys_pwrite64+0x1f7/0x250
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f64c2c8eb19
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:00007f64c0204188 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007f64c2da1f60 RCX: 00007f64c2c8eb19
RDX: 0000000000000001 RSI: 0000000020000080 RDI: 0000000000000003
RBP: 00007f64c02041d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffca66e4bf R14: 00007f64c0204300 R15: 0000000000022000
FAT-fs (loop7): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
audit: type=1326 audit(1648754777.166:17): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=7832 comm="syz-executor.4" exe="/syz-executor.4" sig=31 arch=c000003e syscall=202 compat=0 ip=0x7fba35d91b19 code=0x7ffd0000
loop7: detected capacity change from 0 to 256
FAT-fs (loop7): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 0 PID: 7839 Comm: syz-executor.7 Tainted: G W 5.17.0-next-20220330 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014
Call Trace:
dump_stack_lvl+0x8b/0xb3
should_fail.cold+0x5/0xa
should_failslab+0x5/0x10
kmem_cache_alloc+0x5b/0x480
create_object.isra.0+0x3a/0xa20
kmem_cache_alloc+0x239/0x480
mempool_alloc+0x148/0x360
bio_alloc_bioset+0x396/0x780
submit_bh_wbc+0x273/0x670
__sync_dirty_buffer+0x168/0x3f0
fat_mirror_bhs+0x358/0x500
fat_alloc_clusters+0xc9d/0xf30
fat_add_cluster+0x6d/0xf0
fat_get_block+0x5af/0x930
__block_write_begin_int+0x345/0x1540
block_write_begin+0xbb/0x440
cont_write_begin+0x46a/0x5e0
fat_write_begin+0x89/0x180
cont_write_begin+0x50f/0x5e0
fat_write_begin+0x89/0x180
generic_cont_expand_simple+0x106/0x170
fat_cont_expand+0x66/0x230
fat_fallocate+0x17e/0x310
vfs_fallocate+0x489/0xe00
__x64_sys_fallocate+0xcf/0x140
do_syscall_64+0x3b/0x90
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f1e98e57b19
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:00007f1e963cd188 EFLAGS: 00000246 ORIG_RAX: 000000000000011d
RAX: ffffffffffffffda RBX: 00007f1e98f6af60 RCX: 00007f1e98e57b19
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f1e963cd1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000200 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffdd281438f R14: 00007f1e963cd300 R15: 0000000000022000
FAT-fs (loop7): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1)