BUG: memory leak unreferenced object 0xffff88811161ca60 (size 32): comm "syz-executor817", pid 8472, jiffies 4294943254 (age 15.430s) 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: [<000000002694a4c9>] kmalloc include/linux/slab.h:552 [inline] [<000000002694a4c9>] raw_event_queue_add drivers/usb/gadget/legacy/raw_gadget.c:66 [inline] [<000000002694a4c9>] raw_queue_event drivers/usb/gadget/legacy/raw_gadget.c:225 [inline] [<000000002694a4c9>] gadget_bind+0x223/0x340 drivers/usb/gadget/legacy/raw_gadget.c:303 [<00000000e20c29e5>] udc_bind_to_driver+0x62/0x150 drivers/usb/gadget/udc/core.c:1413 [<000000002055f253>] usb_gadget_probe_driver+0x1c7/0x230 drivers/usb/gadget/udc/core.c:1476 [<00000000312748f8>] raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:512 [inline] [<00000000312748f8>] raw_ioctl+0x5da/0xf30 drivers/usb/gadget/legacy/raw_gadget.c:1210 [<00000000b4d4c09c>] vfs_ioctl fs/ioctl.c:48 [inline] [<00000000b4d4c09c>] __do_sys_ioctl fs/ioctl.c:753 [inline] [<00000000b4d4c09c>] __se_sys_ioctl fs/ioctl.c:739 [inline] [<00000000b4d4c09c>] __x64_sys_ioctl+0xfc/0x140 fs/ioctl.c:739 [<00000000c636d2e7>] do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 [<0000000081a357bb>] entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: memory leak unreferenced object 0xffff888110587860 (size 32): comm "softirq", pid 0, jiffies 4294943285 (age 15.120s) hex dump (first 32 bytes): 02 00 00 00 08 00 00 00 80 06 00 01 00 00 40 00 ..............@. 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000000a14f5a9>] kmalloc include/linux/slab.h:552 [inline] [<000000000a14f5a9>] raw_event_queue_add drivers/usb/gadget/legacy/raw_gadget.c:66 [inline] [<000000000a14f5a9>] raw_queue_event drivers/usb/gadget/legacy/raw_gadget.c:225 [inline] [<000000000a14f5a9>] gadget_setup+0xf6/0x220 drivers/usb/gadget/legacy/raw_gadget.c:343 [<0000000021eb39a5>] dummy_timer+0xb9f/0x14c0 drivers/usb/gadget/udc/dummy_hcd.c:1899 [<00000000362206b7>] call_timer_fn+0x38/0x200 kernel/time/timer.c:1410 [<00000000f59120b2>] expire_timers kernel/time/timer.c:1455 [inline] [<00000000f59120b2>] __run_timers.part.0+0x319/0x400 kernel/time/timer.c:1747 [<0000000098c43c85>] __run_timers kernel/time/timer.c:1728 [inline] [<0000000098c43c85>] run_timer_softirq+0x3d/0x80 kernel/time/timer.c:1760 [<00000000ae8b9eab>] __do_softirq+0xcc/0x2c2 kernel/softirq.c:298 [<000000006df19daa>] asm_call_irq_on_stack+0xf/0x20 [<00000000b99b88ad>] __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] [<00000000b99b88ad>] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] [<00000000b99b88ad>] do_softirq_own_stack+0x32/0x40 arch/x86/kernel/irq_64.c:77 [<0000000078cb5c50>] invoke_softirq kernel/softirq.c:393 [inline] [<0000000078cb5c50>] __irq_exit_rcu kernel/softirq.c:423 [inline] [<0000000078cb5c50>] irq_exit_rcu+0x91/0xc0 kernel/softirq.c:435 [<000000009faf550d>] sysvec_apic_timer_interrupt+0x36/0x80 arch/x86/kernel/apic/apic.c:1091 [<00000000d4075f2a>] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 [<00000000b0154b64>] native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] [<00000000b0154b64>] arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] [<00000000b0154b64>] acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline] [<00000000b0154b64>] acpi_idle_do_entry+0xc3/0xd0 drivers/acpi/processor_idle.c:517 [<0000000019fa83dc>] acpi_idle_enter+0x128/0x1f0 drivers/acpi/processor_idle.c:648 [<000000004f078d4c>] cpuidle_enter_state+0xc9/0x650 drivers/cpuidle/cpuidle.c:237 [<00000000d4cd19fa>] cpuidle_enter+0x29/0x40 drivers/cpuidle/cpuidle.c:351 [<00000000fe29b79d>] call_cpuidle kernel/sched/idle.c:132 [inline] [<00000000fe29b79d>] cpuidle_idle_call kernel/sched/idle.c:213 [inline] [<00000000fe29b79d>] do_idle+0x1c8/0x250 kernel/sched/idle.c:273 BUG: memory leak unreferenced object 0xffff88811161c9e0 (size 32): comm "softirq", pid 0, jiffies 4294943311 (age 14.860s) hex dump (first 32 bytes): 02 00 00 00 08 00 00 00 80 06 00 01 00 00 12 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace: [<000000000a14f5a9>] kmalloc include/linux/slab.h:552 [inline] [<000000000a14f5a9>] raw_event_queue_add drivers/usb/gadget/legacy/raw_gadget.c:66 [inline] [<000000000a14f5a9>] raw_queue_event drivers/usb/gadget/legacy/raw_gadget.c:225 [inline] [<000000000a14f5a9>] gadget_setup+0xf6/0x220 drivers/usb/gadget/legacy/raw_gadget.c:343 [<0000000021eb39a5>] dummy_timer+0xb9f/0x14c0 drivers/usb/gadget/udc/dummy_hcd.c:1899 [<00000000362206b7>] call_timer_fn+0x38/0x200 kernel/time/timer.c:1410 [<00000000f59120b2>] expire_timers kernel/time/timer.c:1455 [inline] [<00000000f59120b2>] __run_timers.part.0+0x319/0x400 kernel/time/timer.c:1747 [<0000000098c43c85>] __run_timers kernel/time/timer.c:1728 [inline] [<0000000098c43c85>] run_timer_softirq+0x3d/0x80 kernel/time/timer.c:1760 [<00000000ae8b9eab>] __do_softirq+0xcc/0x2c2 kernel/softirq.c:298 [<000000006df19daa>] asm_call_irq_on_stack+0xf/0x20 [<00000000b99b88ad>] __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline] [<00000000b99b88ad>] run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline] [<00000000b99b88ad>] do_softirq_own_stack+0x32/0x40 arch/x86/kernel/irq_64.c:77 [<0000000078cb5c50>] invoke_softirq kernel/softirq.c:393 [inline] [<0000000078cb5c50>] __irq_exit_rcu kernel/softirq.c:423 [inline] [<0000000078cb5c50>] irq_exit_rcu+0x91/0xc0 kernel/softirq.c:435 [<000000009faf550d>] sysvec_apic_timer_interrupt+0x36/0x80 arch/x86/kernel/apic/apic.c:1091 [<00000000d4075f2a>] asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631 [<00000000b0154b64>] native_safe_halt arch/x86/include/asm/irqflags.h:60 [inline] [<00000000b0154b64>] arch_safe_halt arch/x86/include/asm/irqflags.h:103 [inline] [<00000000b0154b64>] acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline] [<00000000b0154b64>] acpi_idle_do_entry+0xc3/0xd0 drivers/acpi/processor_idle.c:517 [<0000000019fa83dc>] acpi_idle_enter+0x128/0x1f0 drivers/acpi/processor_idle.c:648 [<000000004f078d4c>] cpuidle_enter_state+0xc9/0x650 drivers/cpuidle/cpuidle.c:237 [<00000000d4cd19fa>] cpuidle_enter+0x29/0x40 drivers/cpuidle/cpuidle.c:351 [<00000000fe29b79d>] call_cpuidle kernel/sched/idle.c:132 [inline] [<00000000fe29b79d>] cpuidle_idle_call kernel/sched/idle.c:213 [inline] [<00000000fe29b79d>] do_idle+0x1c8/0x250 kernel/sched/idle.c:273