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: 18993 Comm: modprobe 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 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: 0000:ffffc900001b89f8 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff88813639cc00 RCX: ffffc90001001000
RDX: 0000000000000002 RSI: ffffffff86317dc1 RDI: 0000000000000001
RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000
R10: ffff88813639cc00 R11: 0000000000000001 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: 00007f72161f9988 CR3: 000000013509a000 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:__kasan_unpoison_pages+0x0/0x40 mm/kasan/common.c:140
Code: fe 31 d2 48 81 e7 00 80 ff ff 81 e6 ff 7f 00 00 e9 c5 36 00 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 <0f> 1f 40 d6 48 2b 3d 95 d0 41 07 89 f1 be 00 10 00 00 0f b6 d2 48
RSP: 0000:ffffc90015f9f5c0 EFLAGS: 00000297
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffea0004814040
RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1047fff51b
R10: ffff88823fffa500 R11: 0000000000000001 R12: 0000000000000001
R13: ffffea0004814040 R14: 0000000000140cca R15: 0000000000000001
kasan_unpoison_pages include/linux/kasan.h:126 [inline]
post_alloc_hook+0x87/0x120 mm/page_alloc.c:1844
prep_new_page mm/page_alloc.c:1868 [inline]
get_page_from_freelist+0x9da/0x2970 mm/page_alloc.c:3950
__alloc_frozen_pages_noprof+0x2a7/0x2f80 mm/page_alloc.c:5492
alloc_pages_mpol+0xeb/0x420 mm/mempolicy.c:2513
folio_alloc_mpol_noprof mm/mempolicy.c:2532 [inline]
vma_alloc_folio_noprof+0xec/0x3a0 mm/mempolicy.c:2567
folio_prealloc mm/memory.c:1254 [inline]
wp_page_copy mm/memory.c:4080 [inline]
do_wp_page+0xe59/0x3250 mm/memory.c:4550
handle_pte_fault mm/memory.c:6692 [inline]
__handle_mm_fault+0x1264/0x36c0 mm/memory.c:6817
handle_mm_fault+0x363/0xa30 mm/memory.c:6984
do_user_addr_fault+0x5a7/0x11d0 arch/x86/mm/fault.c:1343
handle_page_fault arch/x86/mm/fault.c:1483 [inline]
exc_page_fault+0x66/0xc0 arch/x86/mm/fault.c:1536
asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595
RIP: 0033:0x7f72162dc418
Code: fe ff ff 0f 1f 80 00 00 00 00 48 85 f6 0f 84 af 00 00 00 41 f6 85 56 03 00 00 20 0f 85 a1 00 00 00 49 8b 45 60 48 85 c0 74 04 <48> 01 70 08 49 8b 45 58 48 85 c0 74 04 48 01 70 08 49 8b 45 68 48
RSP: 002b:00007ffdf25dd850 EFLAGS: 00010202
RAX: 00007f72161f9980 RBX: 0000000000000039 RCX: 00007f72162cb630
RDX: 00007f72161f9b20 RSI: 00007f7216029000 RDI: 000000006fffffff
RBP: 00007ffdf25ddcc0 R08: 000000000000000f R09: 00000000effffef5
R10: 0000000070000029 R11: 00007ffdf25dd850 R12: 00007ffdf25dd620
R13: 00007f72162cb5f0 R14: 00007ffdf25ddd60 R15: 00007f72161fc000
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: 0000:ffffc900001b89f8 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff88813639cc00 RCX: ffffc90001001000
RDX: 0000000000000002 RSI: ffffffff86317dc1 RDI: 0000000000000001
RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000
R10: ffff88813639cc00 R11: 0000000000000001 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: 00007f72161f9988 CR3: 000000013509a000 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