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: 24 Comm: kworker/1:0 Not tainted syzkaller #0 PREEMPT(lazy)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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 1e f1 85 fb 41 80 fd 7f 0f 84 b9 00 00 00 e8 ff f6 85 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: 0018:ffffc900001b89f8 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff88812f948d00 RCX: ffffc90001001000
RDX: 0000000000000002 RSI: ffffffff86317dc1 RDI: 0000000000000001
RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000
R10: ffff88812f948d00 R11: 0000000000005a5b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018
FS: 0000000000000000(0000) GS:ffff88826822a000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000013c0 CR3: 0000000105ff0000 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:1658
usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1742
dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051
__run_hrtimer kernel/time/hrtimer.c:2079 [inline]
__hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153
handle_softirqs+0x209/0xa00 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0x17a/0x220 kernel/softirq.c:786
irq_exit_rcu+0x9/0x30 kernel/softirq.c:809
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:unwind_next_frame+0x6e/0x2090 arch/x86/kernel/unwind_orc.c:486
Code: 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f e9 1b a0 33 06 48 b8 00 00 00 00 00 fc ff df 49 8d 6d 48 48 89 ea 48 c1 ea 03 80 3c 02 00 <0f> 85 46 19 00 00 49 8b 45 48 48 89 44 24 08 49 8d 45 38 48 89 c2
RSP: 0018:ffffc9000019e998 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: ffffc9000019e95c
RDX: 1ffff92000033d4a RSI: ffffffff83e60ad0 RDI: ffffc9000019ea08
RBP: ffffc9000019ea50 R08: 0000000000000001 R09: 0000000000000007
R10: 0000000000000200 R11: 000000000002e600 R12: ffffffff81a19de0
R13: ffffc9000019ea08 R14: 0000000000000000 R15: ffff888102a85ac0
arch_stack_walk+0x94/0xf0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x30/0x50 mm/kasan/common.c:57
kasan_save_track+0x14/0x30 mm/kasan/common.c:78
poison_kmalloc_redzone mm/kasan/common.c:409 [inline]
__kasan_kmalloc+0x8f/0xa0 mm/kasan/common.c:426
kasan_kmalloc include/linux/kasan.h:263 [inline]
__kmalloc_cache_noprof+0x2d8/0x680 mm/slub.c:5680
_kmalloc_noprof include/linux/slab.h:991 [inline]
dummy_urb_enqueue+0xa3/0x8b0 drivers/usb/gadget/udc/dummy_hcd.c:1327
usb_hcd_submit_urb+0x268/0x2140 drivers/usb/core/hcd.c:1543
usb_submit_urb+0x827/0x19b0 drivers/usb/core/urb.c:594
es2_cport_in_enable drivers/greybus/es2.c:238 [inline]
ap_probe+0xdda/0x11e0 drivers/greybus/es2.c:1414
usb_probe_interface+0x386/0x980 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:629 [inline]
really_probe+0x241/0xa60 drivers/base/dd.c:707
__driver_probe_device+0x210/0x460 drivers/base/dd.c:869
driver_probe_device+0x4a/0x140 drivers/base/dd.c:899
__device_attach_driver+0x1df/0x320 drivers/base/dd.c:1027
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
__device_attach+0x1e4/0x4c0 drivers/base/dd.c:1131
device_initial_probe+0xaf/0xf0 drivers/base/dd.c:1190
__bus_probe_device+0x60/0x160 drivers/base/bus.c:614
device_add+0x121d/0x1970 drivers/base/core.c:3778
usb_set_configuration+0xd97/0x1dc0 drivers/usb/core/message.c:2280
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:629 [inline]
really_probe+0x241/0xa60 drivers/base/dd.c:707
__driver_probe_device+0x210/0x460 drivers/base/dd.c:869
driver_probe_device+0x4a/0x140 drivers/base/dd.c:899
__device_attach_driver+0x1df/0x320 drivers/base/dd.c:1027
bus_for_each_drv+0x159/0x1e0 drivers/base/bus.c:500
__device_attach+0x1e4/0x4c0 drivers/base/dd.c:1131
device_initial_probe+0xaf/0xf0 drivers/base/dd.c:1190
__bus_probe_device+0x60/0x160 drivers/base/bus.c:614
device_add+0x121d/0x1970 drivers/base/core.c:3778
usb_new_device.part.0+0xcc2/0x1686 drivers/usb/core/hub.c:2710
usb_new_device drivers/usb/core/hub.c:5880 [inline]
hub_port_connect drivers/usb/core/hub.c:5582 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5736 [inline]
port_event drivers/usb/core/hub.c:5900 [inline]
hub_event.cold+0x4ce/0xebe drivers/usb/core/hub.c:5982
process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495
process_scheduled_works kernel/workqueue.c:3578 [inline]
worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659
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 1e f1 85 fb 41 80 fd 7f 0f 84 b9 00 00 00 e8 ff f6 85 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: 0018:ffffc900001b89f8 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff88812f948d00 RCX: ffffc90001001000
RDX: 0000000000000002 RSI: ffffffff86317dc1 RDI: 0000000000000001
RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000
R10: ffff88812f948d00 R11: 0000000000005a5b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018
FS: 0000000000000000(0000) GS:ffff88826822a000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00002000000013c0 CR3: 0000000105ff0000 CR4: 00000000003506f0
----------------
Code disassembly (best guess), 1 bytes skipped:
0: e8 1e f1 85 fb call 0xfb85f123
5: 41 80 fd 7f cmp $0x7f,%r13b
9: 0f 84 b9 00 00 00 je 0xc8
f: e8 ff f6 85 fb call 0xfb85f713
14: 48 89 ea mov %rbp,%rdx
17: 41 83 c4 08 add $0x8,%r12d
1b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
22: fc ff df
25: 48 c1 ea 03 shr $0x3,%rdx
* 29: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2d: 84 c0 test %al,%al
2f: 74 08 je 0x39
31: 3c 01 cmp $0x1,%al
33: 0f 8e b8 00 00 00 jle 0xf1
39: 48 8d 7d 02 lea 0x2(%rbp),%rdi
3d: 66 data16
3e: 44 rex.R