greybus greybus1: nonexistent connection (2048 bytes dropped)
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: 5334 Comm: udevd Not tainted syzkaller #0 PREEMPT(lazy)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
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 be e5 84 fb 41 80 fd 7f 0f 84 b9 00 00 00 e8 9f eb 84 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: ffff8881188d3e80 RCX: ffffc90001001000
RDX: 0000000000000002 RSI: ffffffff8632a141 RDI: 0000000000000001
RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000
R10: ffff8881188d3e80 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018
FS: 00007fa83cbba880(0000) GS:ffff888268220000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0c798d4fd0 CR3: 0000000113ffe000 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+0xde0/0x2090 arch/x86/kernel/unwind_orc.c:670
Code: 48 c1 ef 03 0f b6 14 17 4c 89 c7 83 e7 07 40 38 fe 40 0f 9e c7 40 84 f6 40 0f 95 c6 40 84 f7 0f 85 fe 0c 00 00 83 e0 07 38 c2 <40> 0f 9e c6 84 d2 0f 95 c0 40 84 c6 0f 85 e7 0c 00 00 0f b6 41 04
RSP: 0018:ffffc9000251f4a0 EFLAGS: 00000297
RAX: 0000000000000001 RBX: 0000000000000001 RCX: ffffffff8c027454
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffffc9000251f558 R08: ffffffff8c027458 R09: 0000000000000007
R10: 0000000000000200 R11: 0000000000057225 R12: ffffc9000251f560
R13: ffffc9000251f510 R14: ffffc9000251fe18 R15: ffffc9000251f544
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/0x40 mm/kasan/common.c:79
unpoison_slab_object mm/kasan/common.c:354 [inline]
__kasan_slab_alloc+0x6e/0x70 mm/kasan/common.c:380
kasan_slab_alloc include/linux/kasan.h:257 [inline]
slab_post_alloc_hook mm/slub.c:4720 [inline]
slab_alloc_node mm/slub.c:5033 [inline]
kmem_cache_alloc_noprof+0x264/0x650 mm/slub.c:5047
skb_clone+0x187/0x3f0 net/core/skbuff.c:2122
do_one_broadcast net/netlink/af_netlink.c:1475 [inline]
netlink_broadcast_filtered+0xbab/0xfd0 net/netlink/af_netlink.c:1560
netlink_broadcast net/netlink/af_netlink.c:1584 [inline]
netlink_sendmsg+0xc86/0x10c0 net/netlink/af_netlink.c:1919
sock_sendmsg_nosec net/socket.c:800 [inline]
__sock_sendmsg net/socket.c:818 [inline]
____sys_sendmsg+0xa13/0xb90 net/socket.c:2713
___sys_sendmsg+0x208/0x270 net/socket.c:2770
__sys_sendmsg+0x160/0x210 net/socket.c:2802
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x119/0x730 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa83cca8407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffe719aefe0 EFLAGS: 00000202 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fa83cbba880 RCX: 00007fa83cca8407
RDX: 0000000000000000 RSI: 00007ffe719af040 RDI: 000000000000000c
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000006e
R13: 00005640aa66f610 R14: 0000000000000000 R15: 0000000000000000
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 be e5 84 fb 41 80 fd 7f 0f 84 b9 00 00 00 e8 9f eb 84 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: ffff8881188d3e80 RCX: ffffc90001001000
RDX: 0000000000000002 RSI: ffffffff8632a141 RDI: 0000000000000001
RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000
R10: ffff8881188d3e80 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018
FS: 00007fa83cbba880(0000) GS:ffff888268220000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0c798d4fd0 CR3: 0000000113ffe000 CR4: 00000000003506f0
----------------
Code disassembly (best guess):
0: 00 e8 add %ch,%al
2: be e5 84 fb 41 mov $0x41fb84e5,%esi
7: 80 fd 7f cmp $0x7f,%ch
a: 0f 84 b9 00 00 00 je 0xc9
10: e8 9f eb 84 fb call 0xfb84ebb4
15: 48 89 ea mov %rbp,%rdx
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