misc raw-gadget: fail, usb_gadget_register_driver returned -16 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000019: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x00000000000000c8-0x00000000000000cf] CPU: 0 UID: 0 PID: 7880 Comm: syz.0.611 Not tainted 6.15.0-rc2-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:580 [inline] RIP: 0010:__mutex_lock+0x15d/0x10c0 kernel/locking/mutex.c:746 Code: c0 80 f6 73 9a 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 07 0e 00 00 83 3d 40 ba 41 0e 00 75 21 49 8d 7e 60 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 74 05 e8 17 52 fb f5 4d 39 76 60 0f 85 81 0d 00 00 RSP: 0018:ffffc90003aeee40 EFLAGS: 00010202 RAX: 0000000000000019 RBX: ffffc90003aeef00 RCX: ffffffff9a73f603 RDX: ffff88801cbe3c00 RSI: ffffffff8e4fde18 RDI: 00000000000000c8 RBP: ffffc90003aeefd8 R08: ffffc90003aeef47 R09: 0000000000000000 R10: ffffc90003aeef20 R11: fffff5200075dde9 R12: 0000000000000000 R13: ffffc90003aeef08 R14: 0000000000000068 R15: dffffc0000000000 FS: 00007f0ef2fe26c0(0000) GS:ffff888124f93000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c4665f4 CR3: 0000000059b48000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dvb_usbv2_generic_write+0x26/0x50 drivers/media/usb/dvb-usb-v2/dvb_usb_urb.c:77 mxl111sf_ctrl_msg+0x172/0x2e0 drivers/media/usb/dvb-usb-v2/mxl111sf.c:73 mxl111sf_write_reg+0xda/0x1f0 drivers/media/usb/dvb-usb-v2/mxl111sf.c:123 mxl111sf_i2c_start drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:130 [inline] mxl111sf_i2c_sw_xfer_msg drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:-1 [inline] mxl111sf_i2c_xfer+0x923/0x8aa0 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c:813 __i2c_transfer+0x859/0x2250 drivers/i2c/i2c-core-base.c:-1 i2c_smbus_xfer_emulated drivers/i2c/i2c-core-smbus.c:469 [inline] __i2c_smbus_xfer+0x177b/0x2ea0 drivers/i2c/i2c-core-smbus.c:607 i2c_smbus_xfer+0x2e2/0x450 drivers/i2c/i2c-core-smbus.c:545 i2cdev_ioctl_smbus+0x44c/0x710 drivers/i2c/i2c-dev.c:389 i2cdev_ioctl+0x6ef/0xa20 drivers/i2c/i2c-dev.c:478 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0ef218d169 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:00007f0ef2fe2038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f0ef23a5fa0 RCX: 00007f0ef218d169 RDX: 00002000000000c0 RSI: 0000000000000720 RDI: 0000000000000005 RBP: 00007f0ef220e990 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0ef23a5fa0 R15: 00007f0ef24cfa28 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__mutex_lock_common kernel/locking/mutex.c:580 [inline] RIP: 0010:__mutex_lock+0x15d/0x10c0 kernel/locking/mutex.c:746 Code: c0 80 f6 73 9a 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 07 0e 00 00 83 3d 40 ba 41 0e 00 75 21 49 8d 7e 60 48 89 f8 48 c1 e8 03 <42> 80 3c 38 00 74 05 e8 17 52 fb f5 4d 39 76 60 0f 85 81 0d 00 00 RSP: 0018:ffffc90003aeee40 EFLAGS: 00010202 RAX: 0000000000000019 RBX: ffffc90003aeef00 RCX: ffffffff9a73f603 RDX: ffff88801cbe3c00 RSI: ffffffff8e4fde18 RDI: 00000000000000c8 RBP: ffffc90003aeefd8 R08: ffffc90003aeef47 R09: 0000000000000000 R10: ffffc90003aeef20 R11: fffff5200075dde9 R12: 0000000000000000 R13: ffffc90003aeef08 R14: 0000000000000068 R15: dffffc0000000000 FS: 00007f0ef2fe26c0(0000) GS:ffff888124f93000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2a382a CR3: 0000000059b48000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c0 80 f6 73 9a 48 c1 rolb $0xc1,0x489a73f6(%rax) 7: e8 03 42 0f b6 call 0xb60f420f c: 04 38 add $0x38,%al e: 84 c0 test %al,%al 10: 0f 85 07 0e 00 00 jne 0xe1d 16: 83 3d 40 ba 41 0e 00 cmpl $0x0,0xe41ba40(%rip) # 0xe41ba5d 1d: 75 21 jne 0x40 1f: 49 8d 7e 60 lea 0x60(%r14),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 05 je 0x36 31: e8 17 52 fb f5 call 0xf5fb524d 36: 4d 39 76 60 cmp %r14,0x60(%r14) 3a: 0f 85 81 0d 00 00 jne 0xdc1