------------[ cut here ]------------ WARNING: CPU: 0 PID: 1506 at lib/iov_iter.c:629 _copy_from_iter+0xdb/0x510 lib/iov_iter.c:640 Modules linked in: CPU: 0 PID: 1506 Comm: syz-executor.0 Not tainted 6.1.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:_copy_from_iter+0xdb/0x510 lib/iov_iter.c:629 Code: 48 89 47 10 48 8b 44 24 50 65 48 2b 04 25 28 00 00 00 0f 85 03 04 00 00 48 83 c4 58 48 89 d8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 <0f> 0b 31 db eb d4 84 d2 0f 85 c6 00 00 00 48 8b 04 24 49 89 f6 31 RSP: 0018:ffffc9000188b9e8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffea00040eec00 RCX: ffffc9000188ba01 RDX: ffffc9000188bae8 RSI: 0000000000000001 RDI: ffff888103bb0000 RBP: 0000000000000000 R08: 0000000000000001 R09: ffff888101fab0c0 R10: 0000000000000000 R11: 000000007ffff000 R12: 0000000000000000 R13: ffff888000000000 R14: 0000160000000000 R15: 0000000000000001 FS: 00007f6c8d02f6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c8d5c80c0 CR3: 0000000105a74000 CR4: 0000000000350ef0 Call Trace: copy_page_from_iter lib/iov_iter.c:754 [inline] copy_page_from_iter+0x7d/0xc0 lib/iov_iter.c:743 bio_copy_from_iter block/blk-map.c:54 [inline] bio_copy_user_iov block/blk-map.c:209 [inline] blk_rq_map_user_iov+0x49f/0x760 block/blk-map.c:658 blk_rq_map_user_io.part.0+0x129/0x160 block/blk-map.c:717 sg_start_req drivers/scsi/sg.c:1807 [inline] sg_common_write.constprop.0+0x40d/0x580 drivers/scsi/sg.c:803 sg_new_write.isra.0+0x15e/0x270 drivers/scsi/sg.c:770 sg_ioctl_common drivers/scsi/sg.c:935 [inline] sg_ioctl+0x77e/0xae0 drivers/scsi/sg.c:1159 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x84/0xc0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6c8d4acae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6c8d02f0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6c8d5cbf80 RCX: 00007f6c8d4acae9 RDX: 0000000020000300 RSI: 0000000000002285 RDI: 0000000000000003 RBP: 00007f6c8d4f847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f6c8d5cbf80 R15: 00007fffc6c003f8