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: 25974 Comm: udevd 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 a0 81 70 f8 48 8b 3d 29 1a ce 12 48 89 de e8 d1 a9 dc f8 e9 94 00 00 00 e8 87 81 70 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:ffffc90000a188a8 EFLAGS: 00010002 RAX: 0000000000000002 RBX: ffff88803f4d8ec0 RCX: 0000000000040000 RDX: ffffc900022f2000 RSI: 00000000000000b2 RDI: 00000000000000b3 RBP: dffffc0000000000 R08: 0000000000000100 R09: 0000000000000000 R10: ffff88803f4d8ec0 R11: fffffbfff2137683 R12: 0000000000000000 R13: 0000000000000800 R14: 0000000000000010 R15: 0000000000000000 FS: 00007f8c11982880(0000) GS:ffff8881234f9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005588e81c7ec8 CR3: 0000000050c04000 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:1657 dummy_timer+0xa9a/0x4ce0 drivers/usb/gadget/udc/dummy_hcd.c:2051 __run_hrtimer kernel/time/hrtimer.c:2079 [inline] __hrtimer_run_queues+0x3bc/0xa10 kernel/time/hrtimer.c:2136 hrtimer_run_softirq+0x1e3/0x2e0 kernel/time/hrtimer.c:2153 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+0xc6/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+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x11/0xb0 kernel/rcu/tree.c:753 Code: 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 57 41 56 53 65 48 ff 05 df e5 34 13 1a 8a 5b 0a 89 c3 83 f8 08 73 66 49 bf 00 00 00 00 00 fc ff df RSP: 0018:ffffc9000da974b8 EFLAGS: 00000283 RAX: 0000000000000001 RBX: ffffc9000da975f8 RCX: 8000000000000001 RDX: ffffc9000da97601 RSI: ffffffff81788a7f RDI: ffffffff9015a320 RBP: 1ffffffff24ca701 R08: ffffc9000da979f0 R09: 0000000000000000 R10: ffffc9000da97638 R11: fffff52001b52ec9 R12: ffffc9000da90000 R13: ffffffff81788a7f R14: ffffffff9015a320 R15: ffffc9000da97a00 trace_lock_release include/trace/events/lock.h:68 [inline] lock_release+0x4b/0x3c0 kernel/locking/lockdep.c:5954 rcu_lock_release include/linux/rcupdate.h:319 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] class_rcu_destructor include/linux/rcupdate.h:1216 [inline] unwind_next_frame+0x1baa/0x2550 arch/x86/kernel/unwind_orc.c:709 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3f/0x90 mm/kasan/common.c:79 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:599 poison_slab_object mm/kasan/common.c:267 [inline] __kasan_slab_free+0x70/0x90 mm/kasan/common.c:299 kasan_slab_free include/linux/kasan.h:239 [inline] slab_free_hook mm/slub.c:2780 [inline] slab_free mm/slub.c:6637 [inline] kfree+0x1c7/0x650 mm/slub.c:6930 tomoyo_path_perm+0x403/0x560 security/tomoyo/file.c:847 security_inode_getattr+0x12b/0x310 security/security.c:1918 vfs_getattr fs/stat.c:263 [inline] vfs_fstat fs/stat.c:285 [inline] __do_sys_newfstat fs/stat.c:555 [inline] __se_sys_newfstat+0x133/0x440 fs/stat.c:550 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:0x7f8c11311ad7 Code: 73 01 c3 48 8b 0d 21 f3 0d 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 05 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 8b 15 f1 f2 0d 00 f7 d8 64 89 02 b8 RSP: 002b:00007ffcad61c568 EFLAGS: 00000297 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 00005588e81c00d0 RCX: 00007f8c11311ad7 RDX: 00007f8c113efea0 RSI: 00007ffcad61c570 RDI: 0000000000000008 RBP: 00007f8c113efff0 R08: 0000000000000073 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000297 R12: 00007ffcad61c740 R13: 00007f8c113efff0 R14: 000000000000002b R15: 00005588c1a179dd 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 a0 81 70 f8 48 8b 3d 29 1a ce 12 48 89 de e8 d1 a9 dc f8 e9 94 00 00 00 e8 87 81 70 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:ffffc90000a188a8 EFLAGS: 00010002 RAX: 0000000000000002 RBX: ffff88803f4d8ec0 RCX: 0000000000040000 RDX: ffffc900022f2000 RSI: 00000000000000b2 RDI: 00000000000000b3 RBP: dffffc0000000000 R08: 0000000000000100 R09: 0000000000000000 R10: ffff88803f4d8ec0 R11: fffffbfff2137683 R12: 0000000000000000 R13: 0000000000000800 R14: 0000000000000010 R15: 0000000000000000 FS: 00007f8c11982880(0000) GS:ffff8881234f9000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005588e81c7ec8 CR3: 0000000050c04000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: e8 a0 81 70 f8 call 0xf87081a5 5: 48 8b 3d 29 1a ce 12 mov 0x12ce1a29(%rip),%rdi # 0x12ce1a35 c: 48 89 de mov %rbx,%rsi f: e8 d1 a9 dc f8 call 0xf8dca9e5 14: e9 94 00 00 00 jmp 0xad 19: e8 87 81 70 f8 call 0xf87081a5 1e: 41 83 c7 08 add $0x8,%r15d 22: 4c 89 f0 mov %r14,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 0f b6 04 28 movzbl (%rax,%rbp,1),%eax <-- trapping instruction 2d: 84 c0 test %al,%al 2f: 0f 85 91 00 00 00 jne 0xc6 35: 66 45 89 3e mov %r15w,(%r14) 39: 49 8d 7e 02 lea 0x2(%r14),%rdi 3d: 48 rex.W 3e: 89 .byte 0x89