sg_write: data in/out 1/46 bytes for SCSI command 0x0-- guessing data in;
program syz-executor.7 not setting count and/or reply_len properly
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8972 at lib/iov_iter.c:385 _copy_from_iter+0x2f1/0x1320
Modules linked in:
CPU: 0 PID: 8972 Comm: syz-executor.7 Not tainted 6.5.0-rc3-next-20230728 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
RIP: 0010:_copy_from_iter+0x2f1/0x1320
Code: b2 ff ff 89 c3 e9 1f ff ff ff e8 6a b3 34 ff be 85 01 00 00 48 c7 c7 e0 34 9f 84 e8 39 2f 59 ff e9 13 fe ff ff e8 4f b3 34 ff <0f> 0b 45 31 f6 e9 67 ff ff ff e8 40 b3 34 ff 31 ff 89 ee e8 77 ae
RSP: 0018:ffff888008f5f608 EFLAGS: 00010212
RAX: 0000000000000df3 RBX: 0000000000000000 RCX: ffffc90007c0d000
RDX: 0000000000040000 RSI: ffffffff821812f1 RDI: 0000000000000001
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000001 R12: 000000000000002e
R13: ffffea00010c7c00 R14: 000000000000002e R15: ffff888008f5f838
FS: 00007f60d8de0700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7f81856718 CR3: 000000001bf78000 CR4: 0000000000350ef0
Call Trace:
copy_page_from_iter+0xe3/0x180
blk_rq_map_user_iov+0xb39/0x16c0
blk_rq_map_user_io+0x1d1/0x200
sg_common_write.constprop.0+0xd8d/0x15f0
sg_write.part.0+0x69e/0xac0
sg_write+0x8d/0xe0
vfs_write+0x2b9/0xda0
ksys_write+0x122/0x250
do_syscall_64+0x3f/0x90
entry_SYSCALL_64_after_hwframe+0x6e/0xd8
RIP: 0033:0x7f60db86ab19
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:00007f60d8de0188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f60db97df60 RCX: 00007f60db86ab19
RDX: 0000000000000058 RSI: 00000000200008c0 RDI: 0000000000000003
RBP: 00007f60db8c4f6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd9858883f R14: 00007f60d8de0300 R15: 0000000000022000
irq event stamp: 1153
hardirqs last enabled at (1165): [] console_unlock+0x2a8/0x2e0
hardirqs last disabled at (1176): [] console_unlock+0x28d/0x2e0
softirqs last enabled at (1126): [] irq_exit_rcu+0x93/0xc0
softirqs last disabled at (1121): [] irq_exit_rcu+0x93/0xc0
---[ end trace 0000000000000000 ]---
sg_write: data in/out 1/46 bytes for SCSI command 0x0-- guessing data in;
program syz-executor.7 not setting count and/or reply_len properly
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
CPU: 1 PID: 8974 Comm: syz-executor.6 Tainted: G W 6.5.0-rc3-next-20230728 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014
Call Trace:
dump_stack_lvl+0xc1/0xf0
should_fail_ex+0x4b4/0x5b0
should_failslab+0x9/0x20
kmem_cache_alloc_node+0x65/0x3b0
__alloc_skb+0x28c/0x330
netlink_ack+0x35e/0x1370
netlink_rcv_skb+0x35a/0x450
genl_rcv+0x28/0x40
netlink_unicast+0x552/0x800
netlink_sendmsg+0x923/0xe40
sock_sendmsg+0x1b6/0x200
____sys_sendmsg+0x76a/0x9a0
___sys_sendmsg+0x110/0x1b0
__sys_sendmsg+0xf7/0x1d0
do_syscall_64+0x3f/0x90
entry_SYSCALL_64_after_hwframe+0x6e/0xd8
RIP: 0033:0x7f6df3b76b19
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:00007f6df10ec188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f6df3c89f60 RCX: 00007f6df3b76b19
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f6df10ec1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffe3f6bb2ff R14: 00007f6df10ec300 R15: 0000000000022000
Process accounting resumed
sg_write: data in/out 4/46 bytes for SCSI command 0x0-- guessing data in;
program syz-executor.7 not setting count and/or reply_len properly