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: 17837 Comm: syz.0.3905 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: ffff888103af4cc0 RCX: ffffc90001001000 RDX: 0000000000000002 RSI: ffffffff86317dc1 RDI: 0000000000000001 RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000 R10: ffff888103af4cc0 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018 FS: 00007fc3893b66c0(0000) GS:ffff88826822a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000b9a000 CR3: 00000001176dc000 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:__asan_memset+0x6/0x50 mm/kasan/shadow.c:83 Code: 00 00 00 e9 fc f2 ff ff 66 66 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 90 f3 0f 1e fa 41 54 <41> 89 f4 55 48 89 d5 ba 01 00 00 00 53 48 8b 4c 24 18 48 89 ee 48 RSP: 0018:ffffc90002f470a8 EFLAGS: 00000296 RAX: 0000000000000000 RBX: ffffc90002f47198 RCX: ffffc90002f47198 RDX: 0000000000000060 RSI: 0000000000000000 RDI: ffffc90002f47108 RBP: ffff888106bc5ac0 R08: 0000000000000000 R09: 0000000000000000 R10: ffffed1027aae000 R11: 0000000000000001 R12: 0000000000000000 R13: ffffc90002f471c8 R14: ffffc90002f47108 R15: ffffc90002f47130 __unwind_start+0x2e/0x7e0 arch/x86/kernel/unwind_orc.c:715 unwind_start arch/x86/include/asm/unwind.h:64 [inline] arch_stack_walk+0x73/0xf0 arch/x86/kernel/stacktrace.c:24 stack_trace_save+0x8e/0xc0 kernel/stacktrace.c:122 save_stack+0x162/0x1e0 mm/page_owner.c:183 __set_page_owner+0x8c/0x540 mm/page_owner.c:359 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1860 prep_new_page mm/page_alloc.c:1868 [inline] get_page_from_freelist+0x9da/0x2970 mm/page_alloc.c:3950 __alloc_frozen_pages_noprof+0x2a7/0x2f80 mm/page_alloc.c:5492 alloc_pages_mpol+0xeb/0x420 mm/mempolicy.c:2513 folio_alloc_mpol_noprof mm/mempolicy.c:2532 [inline] vma_alloc_folio_noprof+0xec/0x3a0 mm/mempolicy.c:2567 folio_prealloc+0x3c/0x180 mm/memory.c:1252 alloc_anon_folio mm/memory.c:5499 [inline] do_anonymous_page mm/memory.c:5594 [inline] do_pte_missing mm/memory.c:4776 [inline] handle_pte_fault mm/memory.c:6665 [inline] __handle_mm_fault+0x20f3/0x36c0 mm/memory.c:6817 handle_mm_fault+0x363/0xa30 mm/memory.c:6984 do_user_addr_fault+0x745/0x11d0 arch/x86/mm/fault.c:1394 handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x66/0xc0 arch/x86/mm/fault.c:1536 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0010:rep_stos_alternative+0x40/0x80 arch/x86/lib/clear_page_64.S:76 Code: c9 75 f6 e9 12 46 04 00 48 89 07 48 83 c7 08 83 e9 08 74 ef 83 f9 08 73 ef eb de 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <48> 89 07 48 89 47 08 48 89 47 10 48 89 47 18 48 89 47 20 48 89 47 RSP: 0018:ffffc90002f47d38 EFLAGS: 00050202 RAX: 0000000000000000 RBX: 00002001000003f6 RCX: 00000000ff4663f6 RDX: 0000000000080000 RSI: ffffffff821006f1 RDI: 0000200000b9a000 RBP: 1ffff920005e8fae R08: 0000000000000ba8 R09: 00000000000001ae R10: 0000000000000200 R11: 0000000000000001 R12: 00007ffffffff000 R13: 00000000ffffff36 R14: 00002000000004c0 R15: 0000000000000000 __clear_user arch/x86/include/asm/uaccess_64.h:190 [inline] clear_user arch/x86/include/asm/uaccess_64.h:207 [inline] evdev_get_mask drivers/input/evdev.c:1026 [inline] evdev_do_ioctl+0x7e7/0x1b40 drivers/input/evdev.c:1108 evdev_ioctl_handler drivers/input/evdev.c:1277 [inline] evdev_ioctl+0x16f/0x1a0 drivers/input/evdev.c:1286 vfs_ioctl fs/ioctl.c:52 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:584 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:0x7fc38a989519 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:00007fc3893b6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc38ac16090 RCX: 00007fc38a989519 RDX: 0000200000000480 RSI: 0000000080104592 RDI: 0000000000000008 RBP: 00007fc38aa19136 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fc38ac16128 R14: 00007fc38ac16090 R15: 00007fff9514d168 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: ffff888103af4cc0 RCX: ffffc90001001000 RDX: 0000000000000002 RSI: ffffffff86317dc1 RDI: 0000000000000001 RBP: 0000000000000010 R08: 000000000000007f R09: 0000000000000000 R10: ffff888103af4cc0 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000800 R15: 0000000000000018 FS: 00007fc3893b66c0(0000) GS:ffff88826822a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000b9a000 CR3: 00000001176dc000 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