------------[ cut here ]------------ WARNING: CPU: 1 PID: 5672 at lib/iov_iter.c:623 _copy_from_iter+0x2ad/0x1060 lib/iov_iter.c:623 Modules linked in: CPU: 1 PID: 5672 Comm: syz-executor.0 Not tainted 6.2.0-syzkaller-13534-gb01fe98d34f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:_copy_from_iter+0x2ad/0x1060 lib/iov_iter.c:623 Code: 5d 41 5c 41 5d 41 5e 41 5f c3 e8 5e 70 69 fd be 73 02 00 00 48 c7 c7 c0 cf a6 8a e8 7d fe a5 fd e9 56 fe ff ff e8 43 70 69 fd <0f> 0b 45 31 ff eb 8b e8 37 70 69 fd 31 ff 89 ee e8 3e 6c 69 fd 40 RSP: 0018:ffffc90004eef640 EFLAGS: 00010216 RAX: 0000000000000f54 RBX: 0000000000000000 RCX: ffffc9000b284000 RDX: 0000000000040000 RSI: ffffffff841b89ed RDI: 0000000000000001 RBP: 000000000000007d R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: ffffea0001857c00 R14: ffffc90004eef878 R15: 000000000000007d FS: 0000000000000000(0000) GS:ffff8880b9900000(0063) knlGS:00000000f7f2bb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000032c21000 CR3: 000000001e4a6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: copy_page_from_iter lib/iov_iter.c:748 [inline] copy_page_from_iter+0x233/0x3f0 lib/iov_iter.c:737 bio_copy_from_iter block/blk-map.c:55 [inline] bio_copy_user_iov block/blk-map.c:210 [inline] blk_rq_map_user_iov+0xb5d/0x16e0 block/blk-map.c:661 blk_rq_map_user block/blk-map.c:690 [inline] blk_rq_map_user_io+0x1cd/0x200 block/blk-map.c:723 sg_start_req drivers/scsi/sg.c:1807 [inline] sg_common_write.constprop.0+0xdcd/0x1e00 drivers/scsi/sg.c:803 sg_new_write.isra.0+0x522/0xa90 drivers/scsi/sg.c:770 sg_ioctl_common drivers/scsi/sg.c:935 [inline] sg_ioctl+0x9a8/0x2700 drivers/scsi/sg.c:1159 compat_ptr_ioctl+0x6b/0xa0 fs/ioctl.c:906 __do_compat_sys_ioctl+0x255/0x2b0 fs/ioctl.c:968 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7f30579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f2b5cc EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000002285 RDX: 0000000020000240 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000296 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 10 06 adc %al,(%rsi) 2: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 6: 10 07 adc %al,(%rdi) 8: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi c: 10 08 adc %cl,(%rax) e: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1e: 00 51 52 add %dl,0x52(%rcx) 21: 55 push %rbp 22: 89 e5 mov %esp,%ebp 24: 0f 34 sysenter 26: cd 80 int $0x80 * 28: 5d pop %rbp <-- trapping instruction 29: 5a pop %rdx 2a: 59 pop %rcx 2b: c3 retq 2c: 90 nop 2d: 90 nop 2e: 90 nop 2f: 90 nop 30: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 37: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi