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: 14832 Comm: syz.1.1552 Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
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+0x174/0x280 drivers/greybus/operation.c:385
Code: 00 e8 b0 a0 52 f8 48 8b 3d b9 5f 00 13 48 89 de e8 b1 ce c9 f8 e9 94 00 00 00 e8 97 a0 52 f8 41 83 c7 08 4c 89 f0 48 c1 e8 03 <0f> b6 04 28 84 c0 0f 85 91 00 00 00 66 45 89 3e 49 8d 7e 02 48 89
RSP: 0018:ffffc900000078a8 EFLAGS: 00010002
RAX: 0000000000000002 RBX: ffff8880708eee80 RCX: ffffc90002342000
RDX: 000000000000001a RSI: 000000000000001b RDI: 000000000000007f
RBP: dffffc0000000000 R08: 0000000000000100 R09: 0000000000000000
R10: ffff8880708eee80 R11: ffffffff81b46930 R12: 0000000000000000
R13: 0000000000000800 R14: 0000000000000010 R15: 0000000000000000
FS: 00007ff7310546c0(0000) GS:ffff888122eed000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3a11037eac CR3: 000000007a38a000 CR4: 00000000003526f0
Call Trace:
gb_operation_create_common+0xa9/0x650 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+0x284/0x1280 drivers/greybus/operation.c:1063
greybus_data_rcvd+0x22c/0x550 drivers/greybus/connection.c:89
cport_in_callback+0x1bd/0x3b0 drivers/greybus/es2.c:840
__usb_hcd_giveback_urb+0x378/0x540 drivers/usb/core/hcd.c:1659
dummy_timer+0xa9a/0x4ce0 drivers/usb/gadget/udc/dummy_hcd.c:2051
__run_hrtimer kernel/time/hrtimer.c:2109 [inline]
__hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2166
hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2183
handle_softirqs+0x265/0x8d0 kernel/softirq.c:669
__do_softirq kernel/softirq.c:703 [inline]
invoke_softirq kernel/softirq.c:542 [inline]
__irq_exit_rcu+0xce/0x250 kernel/softirq.c:794
irq_exit_rcu+0x9/0x30 kernel/softirq.c:817
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1073 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1073
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:finish_task_switch+0x413/0xc60 kernel/sched/core.c:5480
Code: 04 00 00 41 c7 84 24 20 0e 00 00 00 00 00 00 0f 1f 44 00 00 49 83 c4 48 4c 89 e7 e8 47 52 a1 0a e8 22 ca 3a 00 fb 4c 8b 65 c8 <49> 8d bc 24 18 17 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0
RSP: 0018:ffffc900037ef480 EFLAGS: 00000206
RAX: 0000000000000871 RBX: ffff8880b823d2e0 RCX: 8000000000000001
RDX: 0000000000000007 RSI: ffffffff8ea351c4 RDI: ffffffff8cb05980
RBP: ffffc900037ef4d0 R08: ffffffff9201c7bf R09: 1ffffffff24038f7
R10: dffffc0000000000 R11: fffffbfff24038f8 R12: ffff88807fa3be80
R13: ffff8880b823d2a8 R14: dffffc0000000000 R15: 1ffff11017047a5c
context_switch kernel/sched/core.c:5632 [inline]
__schedule+0x1ba5/0x6000 kernel/sched/core.c:7452
preempt_schedule_irq+0x4b/0x90 kernel/sched/core.c:7732
irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:543 [inline]
irqentry_exit+0x14f/0x9b0 kernel/entry/common.c:154
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:lock_acquire+0x232/0x350 kernel/locking/lockdep.c:5947
Code: ff ff ff e8 00 3e 91 0a f7 44 24 10 00 02 00 00 0f 84 38 ff ff ff 65 48 8b 05 22 68 8e 13 48 3b 44 24 50 75 33 fb 48 83 c4 58 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 ff 4b 94 0a cc 48 8d 3d 57 3b 60
RSP: 0018:ffffc900037ef7f0 EFLAGS: 00000296
RAX: ef7a628268bee800 RBX: 0000000000000001 RCX: 0000000000000046
RDX: ffff88807fa3ca80 RSI: ffffffff8eccbc42 RDI: ffffffff8cb05980
RBP: ffff88807fa3be80 R08: 0000000000000008 R09: ffffffff987adcd0
R10: 00000000afdb2a6c R11: 000000002a4ed12a R12: ffffffff9042bc68
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000246
down_read+0x45/0x320 kernel/locking/rwsem.c:1574
blocking_notifier_call_chain_robust+0x65/0x100 kernel/notifier.c:397
pm_notifier_call_chain_robust+0x2c/0x60 kernel/power/main.c:172
snapshot_open+0x133/0x2a0 kernel/power/user.c:87
misc_open+0x2d5/0x350 drivers/char/misc.c:163
chrdev_open+0x4d9/0x600 fs/char_dev.c:413
do_dentry_open+0x80e/0x1360 fs/open.c:1004
vfs_open_consume+0x4a/0x350 fs/open.c:1135
do_open fs/namei.c:4961 [inline]
path_openat+0x1755/0x20e0 fs/namei.c:5126
do_file_open+0x23e/0x4a0 fs/namei.c:5155
do_sys_openat2+0x115/0x200 fs/open.c:1496
do_sys_open fs/open.c:1502 [inline]
__do_sys_openat fs/open.c:1518 [inline]
__se_sys_openat fs/open.c:1513 [inline]
__x64_sys_openat+0x138/0x170 fs/open.c:1513
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x00007ff7301a9b59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff731054028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007ff730435fa0 RCX: 00007ff7301a9b59
RDX: 0000000000004c01 RSI: 00002000000008c0 RDI: ffffffffffffff9c
RBP: 00007ff73023a18b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ff730436038 R14: 00007ff730435fa0 R15: 00007ffd01fb1a98
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gb_operation_message_init drivers/greybus/operation.c:340 [inline]
RIP: 0010:gb_operation_message_alloc+0x174/0x280 drivers/greybus/operation.c:385
Code: 00 e8 b0 a0 52 f8 48 8b 3d b9 5f 00 13 48 89 de e8 b1 ce c9 f8 e9 94 00 00 00 e8 97 a0 52 f8 41 83 c7 08 4c 89 f0 48 c1 e8 03 <0f> b6 04 28 84 c0 0f 85 91 00 00 00 66 45 89 3e 49 8d 7e 02 48 89
RSP: 0018:ffffc900000078a8 EFLAGS: 00010002
RAX: 0000000000000002 RBX: ffff8880708eee80 RCX: ffffc90002342000
RDX: 000000000000001a RSI: 000000000000001b RDI: 000000000000007f
RBP: dffffc0000000000 R08: 0000000000000100 R09: 0000000000000000
R10: ffff8880708eee80 R11: ffffffff81b46930 R12: 0000000000000000
R13: 0000000000000800 R14: 0000000000000010 R15: 0000000000000000
FS: 00007ff7310546c0(0000) GS:ffff888122eed000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3a11037eac CR3: 000000007a38a000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: 00 e8 add %ch,%al
2: b0 a0 mov $0xa0,%al
4: 52 push %rdx
5: f8 clc
6: 48 8b 3d b9 5f 00 13 mov 0x13005fb9(%rip),%rdi # 0x13005fc6
d: 48 89 de mov %rbx,%rsi
10: e8 b1 ce c9 f8 call 0xf8c9cec6
15: e9 94 00 00 00 jmp 0xae
1a: e8 97 a0 52 f8 call 0xf852a0b6
1f: 41 83 c7 08 add $0x8,%r15d
23: 4c 89 f0 mov %r14,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 0f 85 91 00 00 00 jne 0xc7
36: 66 45 89 3e mov %r15w,(%r14)
3a: 49 8d 7e 02 lea 0x2(%r14),%rdi
3e: 48 rex.W
3f: 89 .byte 0x89