BUG: memory leak unreferenced object 0xffff88810a358440 (size 32): comm "syz-executor828", pid 8484, jiffies 4294942207 (age 8.920s) hex dump (first 32 bytes): 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<00000000aadd8cb7>] kmalloc include/linux/slab.h:554 [inline] [<00000000aadd8cb7>] raw_event_queue_add drivers/usb/gadget/legacy/raw_gadget.c:66 [inline] [<00000000aadd8cb7>] raw_queue_event drivers/usb/gadget/legacy/raw_gadget.c:225 [inline] [<00000000aadd8cb7>] gadget_bind+0x223/0x340 drivers/usb/gadget/legacy/raw_gadget.c:303 [<00000000a6b2a614>] udc_bind_to_driver+0x62/0x150 drivers/usb/gadget/udc/core.c:1413 [<000000008ae10f3d>] usb_gadget_probe_driver+0x1c7/0x230 drivers/usb/gadget/udc/core.c:1476 [<000000009d686cc7>] raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:512 [inline] [<000000009d686cc7>] raw_ioctl+0x5da/0xf30 drivers/usb/gadget/legacy/raw_gadget.c:1210 [<00000000208e855a>] vfs_ioctl fs/ioctl.c:48 [inline] [<00000000208e855a>] __do_sys_ioctl fs/ioctl.c:753 [inline] [<00000000208e855a>] __se_sys_ioctl fs/ioctl.c:739 [inline] [<00000000208e855a>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:739 [<0000000036872c15>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<000000007a6c2dd4>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: memory leak unreferenced object 0xffff88811387d0c0 (size 32): comm "softirq", pid 0, jiffies 4294942268 (age 8.310s) hex dump (first 32 bytes): 02 00 00 00 08 00 00 00 80 06 00 02 00 00 09 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<0000000092ffe925>] kmalloc include/linux/slab.h:554 [inline] [<0000000092ffe925>] raw_event_queue_add drivers/usb/gadget/legacy/raw_gadget.c:66 [inline] [<0000000092ffe925>] raw_queue_event drivers/usb/gadget/legacy/raw_gadget.c:225 [inline] [<0000000092ffe925>] gadget_setup+0xf6/0x220 drivers/usb/gadget/legacy/raw_gadget.c:343 [<0000000005883639>] dummy_timer+0xb9f/0x14c0 drivers/usb/gadget/udc/dummy_hcd.c:1899 [<000000001856e102>] call_timer_fn+0x38/0x200 kernel/time/timer.c:1415 [<000000006a8e7e15>] expire_timers kernel/time/timer.c:1460 [inline] [<000000006a8e7e15>] __run_timers.part.0+0x319/0x400 kernel/time/timer.c:1757 [<00000000764079f8>] __run_timers kernel/time/timer.c:1738 [inline] [<00000000764079f8>] run_timer_softirq+0x3d/0x80 kernel/time/timer.c:1770 [<0000000072022ad9>] __do_softirq+0xcc/0x2c2 kernel/softirq.c:298 [<00000000580e1716>] asm_call_irq_on_stack+0xf/0x20 [<0000000090e5e3ec>] __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] [<0000000090e5e3ec>] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] [<0000000090e5e3ec>] do_softirq_own_stack+0x32/0x40 arch/x86/kernel/irq_64.c:77 [<00000000bee7cc42>] invoke_softirq kernel/softirq.c:393 [inline] [<00000000bee7cc42>] __irq_exit_rcu kernel/softirq.c:423 [inline] [<00000000bee7cc42>] irq_exit_rcu+0x91/0xc0 kernel/softirq.c:435 [<00000000e6b51e6c>] sysvec_apic_timer_interrupt+0x36/0x80 arch/x86/kernel/apic/apic.c:1091 [<0000000023b1536d>] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 [<0000000010230d48>] __sanitizer_cov_trace_pc+0x0/0x60 kernel/kcov.c:917 [<00000000c6f91002>] get_current arch/x86/include/asm/current.h:15 [inline] [<00000000c6f91002>] hrtimer_nanosleep+0x34/0x270 kernel/time/hrtimer.c:1930 [<00000000b2266c2d>] __do_sys_nanosleep kernel/time/hrtimer.c:1970 [inline] [<00000000b2266c2d>] __se_sys_nanosleep kernel/time/hrtimer.c:1957 [inline] [<00000000b2266c2d>] __x64_sys_nanosleep+0x102/0x140 kernel/time/hrtimer.c:1957 [<0000000036872c15>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<000000007a6c2dd4>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: memory leak unreferenced object 0xffff88811387d100 (size 32): comm "softirq", pid 0, jiffies 4294942274 (age 8.250s) hex dump (first 32 bytes): 02 00 00 00 08 00 00 00 80 06 00 02 00 00 12 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<0000000092ffe925>] kmalloc include/linux/slab.h:554 [inline] [<0000000092ffe925>] raw_event_queue_add drivers/usb/gadget/legacy/raw_gadget.c:66 [inline] [<0000000092ffe925>] raw_queue_event drivers/usb/gadget/legacy/raw_gadget.c:225 [inline] [<0000000092ffe925>] gadget_setup+0xf6/0x220 drivers/usb/gadget/legacy/raw_gadget.c:343 [<0000000005883639>] dummy_timer+0xb9f/0x14c0 drivers/usb/gadget/udc/dummy_hcd.c:1899 [<000000001856e102>] call_timer_fn+0x38/0x200 kernel/time/timer.c:1415 [<000000006a8e7e15>] expire_timers kernel/time/timer.c:1460 [inline] [<000000006a8e7e15>] __run_timers.part.0+0x319/0x400 kernel/time/timer.c:1757 [<00000000764079f8>] __run_timers kernel/time/timer.c:1738 [inline] [<00000000764079f8>] run_timer_softirq+0x3d/0x80 kernel/time/timer.c:1770 [<0000000072022ad9>] __do_softirq+0xcc/0x2c2 kernel/softirq.c:298 [<00000000580e1716>] asm_call_irq_on_stack+0xf/0x20 [<0000000090e5e3ec>] __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] [<0000000090e5e3ec>] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] [<0000000090e5e3ec>] do_softirq_own_stack+0x32/0x40 arch/x86/kernel/irq_64.c:77 [<00000000bee7cc42>] invoke_softirq kernel/softirq.c:393 [inline] [<00000000bee7cc42>] __irq_exit_rcu kernel/softirq.c:423 [inline] [<00000000bee7cc42>] irq_exit_rcu+0x91/0xc0 kernel/softirq.c:435 [<00000000e6b51e6c>] sysvec_apic_timer_interrupt+0x36/0x80 arch/x86/kernel/apic/apic.c:1091 [<0000000023b1536d>] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631