Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 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 a2 dc f8 41 80 fd 7f 0f 84 b9 00 00 00 e8 ef a7 dc f8 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:ffffc900005489f0 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffff88806bf82ec0 RCX: 0000000000000101 RDX: 0000000000000002 RSI: ffffffff892efa81 RDI: ffff88801df02580 RBP: 0000000000000010 R08: 0000000000000001 R09: 000000000000007f R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018 FS: 0000000000000000(0000) GS:ffff88809594a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000800004c0 CR3: 000000006ced0000 CR4: 0000000000352ef0 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+0xdaf/0x3820 drivers/usb/gadget/udc/dummy_hcd.c:2023 __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+0x1e6/0x9d0 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0x16a/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+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:finish_task_switch.isra.0+0x2ca/0x10d0 kernel/sched/core.c:5384 Code: b6 0a 00 00 41 c7 87 20 0e 00 00 00 00 00 00 e9 47 04 00 00 49 8d 7f 48 e8 23 86 fe 09 e8 ce 24 3d 00 fb 48 8d bb 18 17 00 00 <48> b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 0f b6 04 02 84 RSP: 0018:ffffc9000048fc38 EFLAGS: 00000206 RAX: 000000000009c72b RBX: ffff88801df02580 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8e3e0f82 RDI: ffff88801df03c98 RBP: ffffc9000048fc90 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88804c430000 R13: 0000000000000001 R14: ffffffff9245c8e4 R15: ffff88802b23c040 context_switch kernel/sched/core.c:5536 [inline] __schedule+0x1261/0x6920 kernel/sched/core.c:7284 schedule_idle+0x54/0x80 kernel/sched/core.c:7402 do_idle+0x365/0x5b0 kernel/sched/idle.c:384 cpu_startup_entry+0x4f/0x60 kernel/sched/idle.c:454 start_secondary+0x21d/0x2d0 arch/x86/kernel/smpboot.c:312 common_startup_64+0x13e/0x158 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 a2 dc f8 41 80 fd 7f 0f 84 b9 00 00 00 e8 ef a7 dc f8 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:ffffc900005489f0 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: ffff88806bf82ec0 RCX: 0000000000000101 RDX: 0000000000000002 RSI: ffffffff892efa81 RDI: ffff88801df02580 RBP: 0000000000000010 R08: 0000000000000001 R09: 000000000000007f R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018 FS: 0000000000000000(0000) GS:ffff88809594a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000800004c0 CR3: 000000006ced0000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 0e a2 dc f8 call 0xf8dca213 5: 41 80 fd 7f cmp $0x7f,%r13b 9: 0f 84 b9 00 00 00 je 0xc8 f: e8 ef a7 dc f8 call 0xf8dca803 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