general protection fault, probably for non-canonical address 0xdffffc0000000009: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000048-0x000000000000004f] CPU: 1 PID: 2721 Comm: syz.1.620 Tainted: G W syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:dummy_queue+0x1b7/0x870 drivers/usb/gadget/udc/dummy_hcd.c:712 Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 f2 4e 92 fe 4d 8b 24 24 49 83 c4 48 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 80 05 00 00 45 8b 24 24 44 89 e6 83 e6 02 RSP: 0018:ffffc90000170c50 EFLAGS: 00010206 RAX: 0000000000000009 RBX: ffff888108598e10 RCX: dffffc0000000000 RDX: ffff88810d60a780 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc90000170cc8 R08: ffff888111af8173 R09: ffff888111af8170 R10: dffffc0000000000 R11: ffffed102235f02f R12: 0000000000000048 R13: ffff888108598e00 R14: 1ffff110210b31c0 R15: ffff88810b81cc90 FS: 00007fb8201166c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5769e1ff8 CR3: 000000011919c000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: usb_ep_queue+0xce/0x210 drivers/usb/gadget/udc/core.c:290 eth_start_xmit+0x811/0xd40 drivers/usb/gadget/function/u_ether.c:588 ncm_tx_timeout+0xec/0x160 drivers/usb/gadget/function/f_ncm.c:1171 __run_hrtimer kernel/time/hrtimer.c:1587 [inline] __hrtimer_run_queues+0x33a/0x7d0 kernel/time/hrtimer.c:1651 hrtimer_run_softirq+0x1ac/0x220 kernel/time/hrtimer.c:1668 __do_softirq+0x255/0x563 kernel/softirq.c:309 asm_call_irq_on_stack+0xf/0x20 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77 invoke_softirq kernel/softirq.c:405 [inline] __irq_exit_rcu+0x128/0x150 kernel/softirq.c:435 irq_exit_rcu+0x9/0x10 kernel/softirq.c:447 sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1106 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635 RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:190 Code: 00 00 00 0f 0b 0f 1f 44 00 00 55 48 89 e5 53 48 89 fb e8 13 00 00 00 48 8b 3d ec ca 5e 05 48 89 de e8 c4 d6 39 00 5b 5d c3 00 <55> 48 89 e5 48 8b 45 08 65 48 8b 0d 90 c7 9d 7e 65 8b 15 95 c7 9d RSP: 0018:ffffc90000e57450 EFLAGS: 00000282 RAX: 1ffffffff0ddc8b9 RBX: ffffffff86ee26a0 RCX: 0000000000000005 RDX: 0000000000000086 RSI: 0000000000000086 RDI: ffffffff86ee26a0 RBP: ffffc90000e57490 R08: ffffc90000e57517 R09: ffffc90000e574e0 R10: dffffc0000000000 R11: fffff520001caea3 R12: 0000000000000005 R13: 0000000000000086 R14: dffffc0000000000 R15: 0000000000000086 avc_has_perm_noaudit+0x110/0x260 security/selinux/avc.c:1161 cred_has_capability security/selinux/hooks.c:1633 [inline] selinux_vm_enough_memory+0x10e/0x190 security/selinux/hooks.c:2231 security_vm_enough_memory_mm+0x6b/0xa0 security/security.c:785 shmem_acct_block mm/shmem.c:212 [inline] shmem_inode_acct_block mm/shmem.c:227 [inline] shmem_alloc_and_acct_page+0x1b6/0x840 mm/shmem.c:1599 shmem_getpage_gfp+0x785/0x20f0 mm/shmem.c:1918 shmem_getpage mm/shmem.c:161 [inline] shmem_write_begin+0xce/0x1b0 mm/shmem.c:2497 generic_perform_write+0x2ce/0x540 mm/filemap.c:3509 __generic_file_write_iter+0x24b/0x480 mm/filemap.c:3638 generic_file_write_iter+0xa9/0x1d0 mm/filemap.c:3670 call_write_iter include/linux/fs.h:2066 [inline] new_sync_write fs/read_write.c:518 [inline] vfs_write+0x770/0xd70 fs/read_write.c:605 ksys_write+0x14a/0x260 fs/read_write.c:658 __do_sys_write fs/read_write.c:670 [inline] __se_sys_write fs/read_write.c:667 [inline] __x64_sys_write+0x7b/0x90 fs/read_write.c:667 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fb82167d90e 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:00007fb820115da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007fb8201166c0 RCX: 00007fb82167d90e RDX: 0000000004000000 RSI: 00007fb817cf6000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 00007fb820115ee0 R14: 00007fb820115ea0 R15: 00007fb817cf6000 Modules linked in: ---[ end trace e4528ba631582dea ]--- RIP: 0010:dummy_queue+0x1b7/0x870 drivers/usb/gadget/udc/dummy_hcd.c:712 Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 f2 4e 92 fe 4d 8b 24 24 49 83 c4 48 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 80 05 00 00 45 8b 24 24 44 89 e6 83 e6 02 RSP: 0018:ffffc90000170c50 EFLAGS: 00010206 RAX: 0000000000000009 RBX: ffff888108598e10 RCX: dffffc0000000000 RDX: ffff88810d60a780 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc90000170cc8 R08: ffff888111af8173 R09: ffff888111af8170 R10: dffffc0000000000 R11: ffffed102235f02f R12: 0000000000000048 R13: ffff888108598e00 R14: 1ffff110210b31c0 R15: ffff88810b81cc90 FS: 00007fb8201166c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff5769e1ff8 CR3: 000000011919c000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: fc cld 1: ff lcall (bad) 2: df 80 3c 08 00 74 filds 0x7400083c(%rax) 8: 08 4c 89 e7 or %cl,-0x19(%rcx,%rcx,4) c: e8 f2 4e 92 fe call 0xfe924f03 11: 4d 8b 24 24 mov (%r12),%r12 15: 49 83 c4 48 add $0x48,%r12 19: 4c 89 e0 mov %r12,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 80 05 00 00 jne 0x5b6 36: 45 8b 24 24 mov (%r12),%r12d 3a: 44 89 e6 mov %r12d,%esi 3d: 83 e6 02 and $0x2,%esi