greybus greybus1: 0/0:0: unexpected response id 0x8300 received
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 0 UID: 0 PID: 5316 Comm: kworker/0:5 Not tainted syzkaller #0 PREEMPT(lazy)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: usb_hub_wq hub_event
RIP: 0010:gb_operation_message_init drivers/greybus/operation.c:340 [inline]
RIP: 0010:gb_operation_message_alloc+0x186/0x2c0 drivers/greybus/operation.c:385
Code: 00 e8 de b2 98 fb 41 80 fd 7f 0f 84 b9 00 00 00 e8 bf b8 98 fb 48 89 ea 41 83 c4 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 01 0f 8e b8 00 00 00 48 8d 7d 02 66 44
RSP: 0000:ffffc900000079f0 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff888114fdcec0 RCX: ffffc90001202000
RDX: 0000000000000002 RSI: ffffffff861c2fb1 RDI: ffff888121eb8000
RBP: 0000000000000010 R08: 0000000000000001 R09: 000000000000007f
R10: 0000000000000000 R11: ffffffff8100148a R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018
FS: 0000000000000000(0000) GS:ffff8882683e8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f68550fc850 CR3: 0000000135af2000 CR4: 00000000003506f0
Call Trace:
gb_operation_create_common+0x9f/0x710 drivers/greybus/operation.c:532
gb_operation_create_incoming drivers/greybus/operation.c:644 [inline]
gb_connection_recv_request drivers/greybus/operation.c:926 [inline]
gb_connection_recv+0x1dc/0x1050 drivers/greybus/operation.c:1063
greybus_data_rcvd+0x244/0x600 drivers/greybus/connection.c:89
cport_in_callback+0x1fb/0x280 drivers/greybus/es2.c:840
__usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657
usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741
dummy_timer+0xdb2/0x3700 drivers/usb/gadget/udc/dummy_hcd.c:2019
__run_hrtimer kernel/time/hrtimer.c:2067 [inline]
__hrtimer_run_queues+0x462/0x9c0 kernel/time/hrtimer.c:2124
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2141
handle_softirqs+0x1d9/0x9b0 kernel/softirq.c:645
__do_softirq kernel/softirq.c:679 [inline]
invoke_softirq kernel/softirq.c:519 [inline]
__irq_exit_rcu+0x192/0x210 kernel/softirq.c:767
irq_exit_rcu+0x9/0x30 kernel/softirq.c:784
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
sysvec_apic_timer_interrupt+0x8f/0xb0 arch/x86/kernel/apic/apic.c:1062
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:__sanitizer_cov_trace_pc+0x46/0x70 kernel/kcov.c:213
Code: 00 01 00 ff 74 1e f6 c4 01 74 44 a9 00 00 00 0f 75 3d f7 c1 00 00 00 f0 75 35 8b 82 5c 16 00 00 85 c0 74 2b 8b 82 30 16 00 00 <83> f8 02 75 20 48 8b 8a 38 16 00 00 8b 92 34 16 00 00 48 8b 01 48
RSP: 0000:ffffc900022f70c0 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffff88813b577078 RCX: 0000000000000000
RDX: ffff888121eb8000 RSI: ffffffff83d74c2f RDI: ffff88813b577078
RBP: ffff88811e4c8800 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88813b5770c0
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88813b5770d8
device_is_bound drivers/base/dd.c:442 [inline]
driver_bound+0x3f/0x220 drivers/base/dd.c:448
really_probe+0x3d4/0xa60 drivers/base/dd.c:756
__driver_probe_device+0x210/0x460 drivers/base/dd.c:868
driver_probe_device+0x4a/0x140 drivers/base/dd.c:898
__device_attach_driver+0x1df/0x320 drivers/base/dd.c:1026
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
__device_attach+0x1e4/0x4d0 drivers/base/dd.c:1098
device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1153
bus_probe_device+0x64/0x160 drivers/base/bus.c:620
device_add+0x121d/0x1970 drivers/base/core.c:3776
usb_set_configuration+0xd97/0x1c60 drivers/usb/core/message.c:2268
usb_generic_driver_probe+0xa1/0xe0 drivers/usb/core/generic.c:250
usb_probe_device+0xef/0x400 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:628 [inline]
really_probe+0x241/0xa60 drivers/base/dd.c:706
__driver_probe_device+0x210/0x460 drivers/base/dd.c:868
driver_probe_device+0x4a/0x140 drivers/base/dd.c:898
__device_attach_driver+0x1df/0x320 drivers/base/dd.c:1026
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
__device_attach+0x1e4/0x4d0 drivers/base/dd.c:1098
device_initial_probe+0xaf/0xd0 drivers/base/dd.c:1153
bus_probe_device+0x64/0x160 drivers/base/bus.c:620
device_add+0x121d/0x1970 drivers/base/core.c:3776
usb_new_device.part.0+0xcc2/0x1686 drivers/usb/core/hub.c:2708
usb_new_device drivers/usb/core/hub.c:5833 [inline]
hub_port_connect drivers/usb/core/hub.c:5580 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5720 [inline]
port_event drivers/usb/core/hub.c:5884 [inline]
hub_event.cold+0x51a/0xe9d drivers/usb/core/hub.c:5966
process_one_work+0xac7/0x1b10 kernel/workqueue.c:3387
process_scheduled_works kernel/workqueue.c:3470 [inline]
worker_thread+0x5ef/0xe50 kernel/workqueue.c:3551
kthread+0x373/0x450 kernel/kthread.c:436
ret_from_fork+0x69f/0xc90 arch/x86/kernel/process.c:158
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gb_operation_message_init drivers/greybus/operation.c:340 [inline]
RIP: 0010:gb_operation_message_alloc+0x186/0x2c0 drivers/greybus/operation.c:385
Code: 00 e8 de b2 98 fb 41 80 fd 7f 0f 84 b9 00 00 00 e8 bf b8 98 fb 48 89 ea 41 83 c4 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 01 0f 8e b8 00 00 00 48 8d 7d 02 66 44
RSP: 0000:ffffc900000079f0 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff888114fdcec0 RCX: ffffc90001202000
RDX: 0000000000000002 RSI: ffffffff861c2fb1 RDI: ffff888121eb8000
RBP: 0000000000000010 R08: 0000000000000001 R09: 000000000000007f
R10: 0000000000000000 R11: ffffffff8100148a R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018
FS: 0000000000000000(0000) GS:ffff8882683e8000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f68550fc850 CR3: 0000000135af2000 CR4: 00000000003506f0
----------------
Code disassembly (best guess):
0: 00 e8 add %ch,%al
2: de b2 98 fb 41 80 fidivs -0x7fbe0468(%rdx)
8: fd std
9: 7f 0f jg 0x1a
b: 84 b9 00 00 00 e8 test %bh,-0x18000000(%rcx)
11: bf b8 98 fb 48 mov $0x48fb98b8,%edi
16: 89 ea mov %ebp,%edx
18: 41 83 c4 08 add $0x8,%r12d
1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
23: fc ff df
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 74 08 je 0x3a
32: 3c 01 cmp $0x1,%al
34: 0f 8e b8 00 00 00 jle 0xf2
3a: 48 8d 7d 02 lea 0x2(%rbp),%rdi
3e: 66 data16
3f: 44 rex.R