BUG: kernel NULL pointer dereference, address: 0000000000000834 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP CPU: 0 PID: 11234 Comm: systemd-udevd Not tainted 5.13.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:hid_report_len include/linux/hid.h:1170 [inline] RIP: 0010:hid_submit_ctrl+0x38/0x2f0 drivers/hid/usbhid/hid-core.c:377 Code: 83 ec 18 e8 aa b9 ed fd 49 8b 9c 24 40 1d 00 00 31 ff 0f b6 83 41 18 00 00 48 8d 04 40 4c 8d 3c c3 4d 8b 6f 48 45 0f b6 77 40 <41> 8b 85 34 08 00 00 8d 68 07 41 8b 45 20 c1 ed 03 89 c6 89 04 24 RSP: 0018:ffffc90000003cd0 EFLAGS: 00010046 RAX: 0000000000000009 RBX: ffff88812a288000 RCX: 0000000000000100 RDX: ffff88811b1a2000 RSI: ffffffff8346f216 RDI: 0000000000000000 RBP: 0000000000000003 R08: ffffffff84ca2140 R09: 0000000000000002 R10: ffffffff8347073b R11: 0000000000000003 R12: ffff88812b948000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88812a288048 FS: 00007f44ccd098c0(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000834 CR3: 000000012b9f7000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hid_ctrl+0x17f/0x1e0 drivers/hid/usbhid/hid-core.c:512 __usb_hcd_giveback_urb+0xf9/0x230 drivers/usb/core/hcd.c:1656 usb_hcd_giveback_urb+0x1b6/0x1d0 drivers/usb/core/hcd.c:1726 dummy_timer+0x8e4/0x14c0 drivers/usb/gadget/udc/dummy_hcd.c:1978 call_timer_fn+0x38/0x200 kernel/time/timer.c:1431 expire_timers kernel/time/timer.c:1476 [inline] __run_timers.part.0+0x319/0x400 kernel/time/timer.c:1745 __run_timers kernel/time/timer.c:1726 [inline] run_timer_softirq+0x3d/0x80 kernel/time/timer.c:1758 __do_softirq+0xbf/0x2ab kernel/softirq.c:559 invoke_softirq kernel/softirq.c:433 [inline] __irq_exit_rcu kernel/softirq.c:637 [inline] irq_exit_rcu+0xa0/0xc0 kernel/softirq.c:649 sysvec_apic_timer_interrupt+0x72/0x90 arch/x86/kernel/apic/apic.c:1100 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:647 RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x7/0x60 kernel/kcov.c:197 Code: ff ff ff ff b8 08 00 00 00 4d 8b 11 48 0f bd c8 4d 8b 3c 24 48 63 c9 e9 5f ff ff ff 0f 1f 80 00 00 00 00 65 8b 05 39 c1 cc 7e <89> c1 48 8b 34 24 81 e1 00 01 00 00 65 48 8b 14 25 40 6d 01 00 a9 RSP: 0018:ffffc900048abb50 EFLAGS: 00000246 RAX: 0000000080000000 RBX: 000000000000000a RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffff88811b1a2000 RDI: 0000000000000003 RBP: 0000000000000002 R08: 0000000000000000 R09: 000000000000000a R10: ffffffff8212573c R11: 0000000000000010 R12: 00000000000000fd R13: ffff888110982dc0 R14: 0000000000000000 R15: ffff88810d715c00 tomoyo_domain_quota_is_ok+0x14f/0x1c0 security/tomoyo/util.c:1092 tomoyo_supervisor+0x183/0x8f0 security/tomoyo/common.c:2089 tomoyo_audit_path_log security/tomoyo/file.c:168 [inline] tomoyo_path_permission security/tomoyo/file.c:587 [inline] tomoyo_path_permission+0x92/0xc0 security/tomoyo/file.c:573 tomoyo_path_perm+0x1a0/0x280 security/tomoyo/file.c:838 security_inode_getattr+0x46/0x80 security/security.c:1332 vfs_getattr fs/stat.c:139 [inline] vfs_fstat+0x43/0xb0 fs/stat.c:164 __do_sys_newfstat+0x32/0x90 fs/stat.c:404 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f44cbb7b2e2 Code: 48 8b 05 b9 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 77 33 48 63 fe b8 05 00 00 00 48 89 d6 0f 05 <48> 3d 00 f0 ff ff 77 06 f3 c3 0f 1f 40 00 48 8b 15 81 db 2b 00 f7 RSP: 002b:00007ffe3d56b5b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 00007f44cbe36440 RCX: 00007f44cbb7b2e2 RDX: 00007ffe3d56b5c0 RSI: 00007ffe3d56b5c0 RDI: 0000000000000007 RBP: 00005619861474a0 R08: 00007f44ccd098c0 R09: 0000000000000230 R10: 0000561985efa6bb R11: 0000000000000246 R12: 0000561985efa6bb R13: 0000000000000002 R14: 00007f44cbe36440 R15: 0000000000000002 Modules linked in: CR2: 0000000000000834 ---[ end trace 12612649bf108c8a ]--- RIP: 0010:hid_report_len include/linux/hid.h:1170 [inline] RIP: 0010:hid_submit_ctrl+0x38/0x2f0 drivers/hid/usbhid/hid-core.c:377 Code: 83 ec 18 e8 aa b9 ed fd 49 8b 9c 24 40 1d 00 00 31 ff 0f b6 83 41 18 00 00 48 8d 04 40 4c 8d 3c c3 4d 8b 6f 48 45 0f b6 77 40 <41> 8b 85 34 08 00 00 8d 68 07 41 8b 45 20 c1 ed 03 89 c6 89 04 24 RSP: 0018:ffffc90000003cd0 EFLAGS: 00010046 RAX: 0000000000000009 RBX: ffff88812a288000 RCX: 0000000000000100 RDX: ffff88811b1a2000 RSI: ffffffff8346f216 RDI: 0000000000000000 RBP: 0000000000000003 R08: ffffffff84ca2140 R09: 0000000000000002 R10: ffffffff8347073b R11: 0000000000000003 R12: ffff88812b948000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88812a288048 FS: 00007f44ccd098c0(0000) GS:ffff88813bc00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000834 CR3: 000000012b9f7000 CR4: 00000000001506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400