misc raw-gadget: fail, usb_gadget_register_driver returned -16 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 UID: 0 PID: 25699 Comm: syz.3.5844 Not tainted 6.17.0-rc1-syzkaller-00224-g8d561baae505 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:su3000_i2c_transfer+0x1ad/0x1040 drivers/media/usb/dvb-usb/dw2102.c:740 Code: 4c 89 f8 48 c1 e8 03 49 bc 00 00 00 00 00 fc ff df 42 80 3c 20 00 74 08 4c 89 ff e8 8d b6 3c fa 49 8b 1f 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 5f 09 00 00 0f b6 1b 48 8b 44 24 38 42 RSP: 0018:ffffc9001af67aa8 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000000003 RDX: ffffffff87e65d05 RSI: ffffffff8f0d3a50 RDI: 0000000000001900 RBP: 0000000000000000 R08: ffff88803007da00 R09: 0000000000000002 R10: 0000000000001a00 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff1100fc95838 R14: 0000000000000002 R15: ffff88807e4ac1c8 FS: 00007ff6044506c0(0000) GS:ffff888125d1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c3816b2 CR3: 000000008016c000 CR4: 00000000003526f0 Call Trace: __i2c_transfer+0x871/0x2170 drivers/i2c/i2c-core-base.c:-1 i2c_transfer+0x25b/0x3a0 drivers/i2c/i2c-core-base.c:2320 i2cdev_ioctl_rdwr+0x460/0x740 drivers/i2c/i2c-dev.c:306 i2cdev_ioctl+0x64b/0x7f0 drivers/i2c/i2c-dev.c:467 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xf9/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff60358ebe9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff604450038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff6037b5fa0 RCX: 00007ff60358ebe9 RDX: 0000200000000a40 RSI: 0000000000000707 RDI: 0000000000000004 RBP: 00007ff603611e19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ff6037b6038 R14: 00007ff6037b5fa0 R15: 00007ff6038dfa28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:su3000_i2c_transfer+0x1ad/0x1040 drivers/media/usb/dvb-usb/dw2102.c:740 Code: 4c 89 f8 48 c1 e8 03 49 bc 00 00 00 00 00 fc ff df 42 80 3c 20 00 74 08 4c 89 ff e8 8d b6 3c fa 49 8b 1f 48 89 d8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 5f 09 00 00 0f b6 1b 48 8b 44 24 38 42 RSP: 0018:ffffc9001af67aa8 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: 0000000000000003 RDX: ffffffff87e65d05 RSI: ffffffff8f0d3a50 RDI: 0000000000001900 RBP: 0000000000000000 R08: ffff88803007da00 R09: 0000000000000002 R10: 0000000000001a00 R11: 0000000000000002 R12: dffffc0000000000 R13: 1ffff1100fc95838 R14: 0000000000000002 R15: ffff88807e4ac1c8 FS: 00007ff6044506c0(0000) GS:ffff888125d1b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2fbe80 CR3: 000000008016c000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 4c 89 f8 mov %r15,%rax 3: 48 c1 e8 03 shr $0x3,%rax 7: 49 bc 00 00 00 00 00 movabs $0xdffffc0000000000,%r12 e: fc ff df 11: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) 16: 74 08 je 0x20 18: 4c 89 ff mov %r15,%rdi 1b: e8 8d b6 3c fa call 0xfa3cb6ad 20: 49 8b 1f mov (%r15),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 20 movzbl (%rax,%r12,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 5f 09 00 00 jne 0x996 37: 0f b6 1b movzbl (%rbx),%ebx 3a: 48 8b 44 24 38 mov 0x38(%rsp),%rax 3f: 42 rex.X