Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f]
CPU: 1 UID: 0 PID: 5861 Comm: syz.1.18 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:regmap_get_i2c_bus+0xbe/0xb00 drivers/base/regmap/regmap-i2c.c:360
Code: 31 ff e8 f5 76 96 fb 83 e5 01 0f 85 23 01 00 00 4c 8b 7c 24 10 4d 8d 6f 1c 4d 89 ec 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 74 08 00 00 41 8b 6d 00 bf 08 00 00 00
RSP: 0018:ffffc900038af3d8 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: 1ffff1102d549e03 RCX: 0000000000000000
RDX: ffff888169cc0000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff90578937 R09: 1ffffffff20af126
R10: dffffc0000000000 R11: ffffffff87f5ec70 R12: 0000000000000003
R13: 000000000000001c R14: ffff88816aa4f018 R15: 0000000000000000
FS:  00007f360bd466c0(0000) GS:ffff8882a8f51000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33863fff CR3: 0000000116582000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 __devm_regmap_init_i2c+0x29/0x80 drivers/base/regmap/regmap-i2c.c:439
 stusb160x_probe+0xfd/0x1940 drivers/usb/typec/stusb160x.c:649
 i2c_device_probe+0x87c/0xbf0 drivers/i2c/i2c-core-base.c:592
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x254/0xae0 drivers/base/dd.c:706
 __driver_probe_device+0x1e8/0x360 drivers/base/dd.c:868
 driver_probe_device+0x4f/0x240 drivers/base/dd.c:898
 __device_attach_driver+0x270/0x410 drivers/base/dd.c:1026
 bus_for_each_drv+0x258/0x2f0 drivers/base/bus.c:500
 __device_attach+0x2c4/0x450 drivers/base/dd.c:1098
 device_initial_probe+0xa1/0xd0 drivers/base/dd.c:1153
 bus_probe_device+0x12a/0x220 drivers/base/bus.c:620
 device_add+0x7d7/0xb80 drivers/base/core.c:3772
 i2c_new_client_device+0xa29/0x1130 drivers/i2c/i2c-core-base.c:1019
 new_device_store+0x24b/0x530 drivers/i2c/i2c-core-base.c:1307
 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345
 new_sync_write fs/read_write.c:595 [inline]
 vfs_write+0x612/0xba0 fs/read_write.c:687
 ksys_write+0x150/0x270 fs/read_write.c:739
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f360ad9e019
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f360bd46028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f360b025fa0 RCX: 00007f360ad9e019
RDX: 000000000000000f RSI: 0000200000000300 RDI: 0000000000000003
RBP: 00007f360ae3500c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f360b026038 R14: 00007f360b025fa0 R15: 00007ffea008cdf8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:regmap_get_i2c_bus+0xbe/0xb00 drivers/base/regmap/regmap-i2c.c:360
Code: 31 ff e8 f5 76 96 fb 83 e5 01 0f 85 23 01 00 00 4c 8b 7c 24 10 4d 8d 6f 1c 4d 89 ec 49 c1 ec 03 48 b8 00 00 00 00 00 fc ff df <41> 0f b6 04 04 84 c0 0f 85 74 08 00 00 41 8b 6d 00 bf 08 00 00 00
RSP: 0018:ffffc900038af3d8 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: 1ffff1102d549e03 RCX: 0000000000000000
RDX: ffff888169cc0000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff90578937 R09: 1ffffffff20af126
R10: dffffc0000000000 R11: ffffffff87f5ec70 R12: 0000000000000003
R13: 000000000000001c R14: ffff88816aa4f018 R15: 0000000000000000
FS:  00007f360bd466c0(0000) GS:ffff8882a8f51000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f360adeb700 CR3: 0000000116582000 CR4: 00000000000006f0
----------------
Code disassembly (best guess):
   0:	31 ff                	xor    %edi,%edi
   2:	e8 f5 76 96 fb       	call   0xfb9676fc
   7:	83 e5 01             	and    $0x1,%ebp
   a:	0f 85 23 01 00 00    	jne    0x133
  10:	4c 8b 7c 24 10       	mov    0x10(%rsp),%r15
  15:	4d 8d 6f 1c          	lea    0x1c(%r15),%r13
  19:	4d 89 ec             	mov    %r13,%r12
  1c:	49 c1 ec 03          	shr    $0x3,%r12
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	41 0f b6 04 04       	movzbl (%r12,%rax,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 74 08 00 00    	jne    0x8ab
  37:	41 8b 6d 00          	mov    0x0(%r13),%ebp
  3b:	bf 08 00 00 00       	mov    $0x8,%edi
