------------[ cut here ]------------ WARNING: CPU: 0 PID: 4167 at lib/iov_iter.c:629 _copy_from_iter+0x251/0xe80 lib/iov_iter.c:633 Modules linked in: CPU: 0 PID: 4167 Comm: syz-executor.0 Not tainted 6.1.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:_copy_from_iter+0x251/0xe80 lib/iov_iter.c:629 Code: e0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 be 79 02 00 00 48 c7 c7 c0 8f c1 89 4c 89 04 24 e8 b8 e9 f3 fd 4c 8b 04 24 e9 88 fe ff ff <0f> 0b 45 31 e4 eb 94 84 c0 0f 85 36 02 00 00 48 8d 43 18 48 89 c2 RSP: 0018:ffffc900032b76c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc900032b78b8 RCX: ffffc900032b7801 RDX: 0000000000000002 RSI: 0000000000000021 RDI: ffffc900032b78ba RBP: ffffc900032b78b8 R08: ffff88806bcd0000 R09: ffff888016d66170 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000021 R13: 0000000000000021 R14: 1ffff92000656edf R15: 0000000000000000 FS: 00007fdba9133700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055abfb87b300 CR3: 0000000072911000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: copy_page_from_iter lib/iov_iter.c:754 [inline] copy_page_from_iter+0x78/0xb0 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+0x731/0x12c0 block/blk-map.c:658 blk_rq_map_user block/blk-map.c:688 [inline] blk_rq_map_user_io+0x199/0x1e0 block/blk-map.c:721 sg_start_req drivers/scsi/sg.c:1807 [inline] sg_common_write.constprop.0+0xca3/0x1ab0 drivers/scsi/sg.c:803 sg_new_write.isra.0+0x429/0x6e0 drivers/scsi/sg.c:770 sg_ioctl_common drivers/scsi/sg.c:935 [inline] sg_ioctl+0x83e/0x2470 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+0x123/0x190 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdba848c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fdba9133168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fdba85abf80 RCX: 00007fdba848c0f9 RDX: 0000000020000180 RSI: 0000000000002285 RDI: 0000000000000003 RBP: 00007fdba84e7b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd9956a8bf R14: 00007fdba9133300 R15: 0000000000022000