dvb-usb: bulk message failed: -22 (4/0) dw2102: i2c transfer failed. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 0 UID: 0 PID: 6429 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:su3000_i2c_transfer+0x607/0xd90 drivers/media/usb/dvb-usb/dw2102.c:740 Code: 19 b8 f9 48 8d 7b 08 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 23 06 00 00 48 8b 5b 08 48 89 d8 48 89 da 48 c1 e8 03 83 e2 07 <42> 0f b6 04 20 38 d0 7f 08 84 c0 0f 85 f4 05 00 00 48 8b 44 24 10 RSP: 0000:ffffc900035c7bc0 EFLAGS: 00010246 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8855cf00 RDI: ffff88804f3cf018 RBP: 0000000000001900 R08: 0000000000001a00 R09: 0000000000001900 R10: ffff88804f5c3482 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff8880008aee02 R14: 0000000000000001 R15: ffff8880008aee00 FS: 0000000000000000(0000) GS:ffff888095271000(0063) knlGS:00000000f67deb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000055a03365d140 CR3: 000000005a547000 CR4: 0000000000352ef0 Call Trace: __i2c_transfer+0x5d4/0x1740 drivers/i2c/i2c-core-base.c:2340 i2c_transfer+0x158/0x380 drivers/i2c/i2c-core-base.c:2396 i2cdev_ioctl_rdwr+0x3ec/0x700 drivers/i2c/i2c-dev.c:306 compat_i2cdev_ioctl+0x469/0x540 drivers/i2c/i2c-dev.c:578 __do_compat_sys_ioctl fs/ioctl.c:696 [inline] __se_compat_sys_ioctl fs/ioctl.c:639 [inline] __ia32_compat_sys_ioctl+0x2cf/0x360 fs/ioctl.c:639 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:79 [inline] __do_fast_syscall_32+0x14d/0x8e0 arch/x86/entry/syscall_32.c:286 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:311 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf73befbc Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 2e 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 58 b8 RSP: 002b:00000000f67de50c EFLAGS: 00000292 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000000707 RDX: 0000000080001e40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:su3000_i2c_transfer+0x607/0xd90 drivers/media/usb/dvb-usb/dw2102.c:740 Code: 19 b8 f9 48 8d 7b 08 48 89 f8 48 c1 e8 03 42 80 3c 20 00 0f 85 23 06 00 00 48 8b 5b 08 48 89 d8 48 89 da 48 c1 e8 03 83 e2 07 <42> 0f b6 04 20 38 d0 7f 08 84 c0 0f 85 f4 05 00 00 48 8b 44 24 10 RSP: 0000:ffffc900035c7bc0 EFLAGS: 00010246 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8855cf00 RDI: ffff88804f3cf018 RBP: 0000000000001900 R08: 0000000000001a00 R09: 0000000000001900 R10: ffff88804f5c3482 R11: 0000000000000001 R12: dffffc0000000000 R13: ffff8880008aee02 R14: 0000000000000001 R15: ffff8880008aee00 FS: 0000000000000000(0000) GS:ffff888095571000(0063) knlGS:00000000f67deb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000055a033536128 CR3: 000000005a547000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: 19 b8 f9 48 8d 7b sbb %edi,0x7b8d48f9(%rax) 6: 08 48 89 or %cl,-0x77(%rax) 9: f8 clc a: 48 c1 e8 03 shr $0x3,%rax e: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 13: 0f 85 23 06 00 00 jne 0x63c 19: 48 8b 5b 08 mov 0x8(%rbx),%rbx 1d: 48 89 d8 mov %rbx,%rax 20: 48 89 da mov %rbx,%rdx 23: 48 c1 e8 03 shr $0x3,%rax 27: 83 e2 07 and $0x7,%edx * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 38 d0 cmp %dl,%al 31: 7f 08 jg 0x3b 33: 84 c0 test %al,%al 35: 0f 85 f4 05 00 00 jne 0x62f 3b: 48 8b 44 24 10 mov 0x10(%rsp),%rax