usb 5-1: invalid cport id 231 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: 5279 Comm: udevd Not tainted syzkaller #0 PREEMPT(lazy) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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 0e 82 97 fb 41 80 fd 7f 0f 84 b9 00 00 00 e8 ef 87 97 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:ffffc900000079f0 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffff88811ba89e40 RCX: ffffc90001001000 RDX: 0000000000000002 RSI: ffffffff861da661 RDI: ffff8881172e8000 RBP: 0000000000000010 R08: 0000000000000001 R09: 000000000000007f R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018 FS: 00007f18bbc94880(0000) GS:ffff8882683d5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000016b8 CR3: 0000000113b82000 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+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051 __run_hrtimer kernel/time/hrtimer.c:2074 [inline] __hrtimer_run_queues+0x462/0x9c0 kernel/time/hrtimer.c:2131 hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2148 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+0x168/0x210 kernel/softirq.c:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 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:on_stack arch/x86/include/asm/stacktrace.h:56 [inline] RIP: 0010:unwind_next_frame+0x16c7/0x2090 arch/x86/kernel/unwind_orc.c:694 Code: 00 0f 85 c1 07 00 00 49 8d 7d 10 49 8b 6d 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 94 07 00 00 <49> 8b 45 10 48 39 dd 0f 87 f5 f8 ff ff 48 39 d8 0f 86 ec f8 ff ff RSP: 0018:ffffc9000219f580 EFLAGS: 00000246 RAX: dffffc0000000000 RBX: ffffc9000219fda0 RCX: ffffffff8b898e90 RDX: 1ffff92000433ec0 RSI: ffffc9000219fd90 RDI: ffffc9000219f600 RBP: ffffc90002198000 R08: 0000000000000001 R09: 0000000000000007 R10: 0000000000000200 R11: 0000000000012d26 R12: ffffc9000219f640 R13: ffffc9000219f5f0 R14: ffffc9000219fda0 R15: ffffc9000219f624 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_record_aux_stack+0x8c/0xa0 mm/kasan/generic.c:556 slab_free_hook mm/slub.c:2709 [inline] slab_free mm/slub.c:6509 [inline] kmem_cache_free+0x405/0x650 mm/slub.c:6636 file_free fs/file_table.c:104 [inline] __fput_deferred+0x3e9/0x4a0 fs/file_table.c:567 fput_close+0x118/0x250 fs/file_table.c:629 path_openat+0x1033/0x2440 fs/namei.c:5009 do_file_open+0x20e/0x430 fs/namei.c:5029 do_sys_openat2+0x10f/0x1e0 fs/open.c:1417 do_sys_open fs/open.c:1423 [inline] __do_sys_openat fs/open.c:1439 [inline] __se_sys_openat fs/open.c:1434 [inline] __x64_sys_openat+0x12d/0x210 fs/open.c:1434 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x119/0x710 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f18bbd82407 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:00007ffcb7f2aa50 EFLAGS: 00000202 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f18bbc94880 RCX: 00007f18bbd82407 RDX: 0000000000080000 RSI: 00007ffcb7f2abd0 RDI: ffffffffffffff9c RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 00005587963627f5 R13: 00005587963627f5 R14: 0000000000000001 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 0e 82 97 fb 41 80 fd 7f 0f 84 b9 00 00 00 e8 ef 87 97 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:ffffc900000079f0 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffff88811ba89e40 RCX: ffffc90001001000 RDX: 0000000000000002 RSI: ffffffff861da661 RDI: ffff8881172e8000 RBP: 0000000000000010 R08: 0000000000000001 R09: 000000000000007f R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018 FS: 00007f18bbc94880(0000) GS:ffff8882683d5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000016b8 CR3: 0000000113b82000 CR4: 00000000003506f0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 0e 82 97 fb call 0xfb978213 5: 41 80 fd 7f cmp $0x7f,%r13b 9: 0f 84 b9 00 00 00 je 0xc8 f: e8 ef 87 97 fb call 0xfb978803 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