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: 24251 Comm: syz.4.4105 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: 0018:ffffc900001b89f8 EFLAGS: 00010002
RAX: dffffc0000000000 RBX: ffff88810ff55840 RCX: ffffc90001202000
RDX: 0000000000000002 RSI: ffffffff86317dc1 RDI: 0000000000000001
RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000
R10: ffff88810ff55840 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018
FS: 00007fa485af56c0(0000) GS:ffff88826822a000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001278 CR3: 000000013658e000 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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:221
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 26 7d ee f9 48 89 df e8 ae d3 ee f9 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 55 01 e1 f9 65 48 83 3d a4 e4 aa 05 00 74 16 5b
RSP: 0018:ffffc900029ffb78 EFLAGS: 00000246
RAX: 0000000000000006 RBX: ffffffff94679288 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff8951bcf4 RDI: ffffffff87f36780
RBP: 0000000000000202 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000001
R13: ffff888114c42b80 R14: dffffc0000000000 R15: 1ffff9200053ff76
debug_object_activate+0x343/0x4b0 lib/debugobjects.c:891
debug_rcu_head_queue kernel/rcu/rcu.h:245 [inline]
rcu_do_enqueue+0x23/0x980 kernel/rcu/tree.c:3164
__call_rcu_common.constprop.0+0x1f4/0x2b0 kernel/rcu/tree.c:3300
slab_free_hook mm/slub.c:2744 [inline]
slab_free mm/slub.c:6630 [inline]
kmem_cache_free+0x41c/0x650 mm/slub.c:6757
file_free fs/file_table.c:104 [inline]
__fput+0x68a/0xb50 fs/file_table.c:526
fput_close_sync+0x118/0x250 fs/file_table.c:618
filp_close_sync+0x75/0xa0 fs/open.c:1574
__do_sys_close fs/open.c:1597 [inline]
__se_sys_close fs/open.c:1584 [inline]
__x64_sys_close+0x81/0x110 fs/open.c:1584
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:0x7fa4870aa38e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fa485af2ef8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 00007fa485af56c0 RCX: 00007fa4870aa38e
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000001f
RBP: 00007fa48717a18b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000001ee
R13: 0000200000004700 R14: 0000000000000006 R15: 00007ffc6c48a8a8
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: ffff88810ff55840 RCX: ffffc90001202000
RDX: 0000000000000002 RSI: ffffffff86317dc1 RDI: 0000000000000001
RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000
R10: ffff88810ff55840 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018
FS: 00007fa485af56c0(0000) GS:ffff88826822a000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000001278 CR3: 000000013658e000 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