INFO: task syz-executor.2:5786 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.2 D29048 5786 384 0x80004006 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 locks_remove_posix+0x277/0x4e0 fs/locks.c:2706 __sched_text_start+0x8/0x8 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] prepare_to_wait_event+0x129/0x650 kernel/sched/wait.c:305 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x39/0x40 kernel/locking/spinlock.c:191 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 wdm_flush+0x2ea/0x3c0 drivers/usb/class/cdc-wdm.c:590 wdm_poll+0x280/0x280 include/linux/poll.h:50 finish_wait+0x260/0x260 include/linux/list.h:301 task_work_add+0x97/0x120 kernel/task_work.c:35 wdm_poll+0x280/0x280 include/linux/poll.h:50 filp_close+0xb4/0x170 fs/open.c:1251 close_files fs/file.c:388 [inline] put_files_struct fs/file.c:416 [inline] put_files_struct+0x1d8/0x2e0 fs/file.c:413 exit_files+0x7e/0xa0 fs/file.c:445 do_exit+0xb36/0x2c80 kernel/exit.c:791 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 mm_update_next_owner+0x7a0/0x7a0 kernel/exit.c:375 lock_downgrade+0x720/0x720 kernel/locking/lockdep.c:4599 do_group_exit+0x125/0x340 kernel/exit.c:894 get_signal+0x480/0x2480 kernel/signal.c:2739 __kasan_slab_free+0x12e/0x160 mm/kasan/common.c:458 wdm_write+0x1bd/0xe2a drivers/usb/class/cdc-wdm.c:444 slab_free_hook mm/slub.c:1455 [inline] slab_free_freelist_hook mm/slub.c:1488 [inline] slab_free mm/slub.c:3045 [inline] kfree+0xd5/0x300 mm/slub.c:4026 do_signal+0x88/0x1ae0 arch/x86/kernel/signal.c:784 finish_wait+0x260/0x260 include/linux/list.h:301 force_valid_ss arch/x86/kernel/signal.c:73 [inline] restore_sigcontext+0x620/0x620 arch/x86/kernel/signal.c:134 wdm_probe+0x2d0/0x2d0 drivers/usb/class/cdc-wdm.c:925 __vfs_write+0x7e/0x100 fs/read_write.c:495 vfs_write+0x161/0x5d0 fs/read_write.c:555 fput_many+0x2f/0x1a0 fs/file_table.c:336 ksys_write+0x1a5/0x250 fs/read_write.c:618 __ia32_sys_read+0xb0/0xb0 fs/read_write.c:596 exit_to_usermode_loop+0x1a2/0x200 arch/x86/entry/common.c:161 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x4e0/0x5a0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 INFO: task syz-executor.4:5754 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.4 D28552 5754 386 0x00000004 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 __sched_text_start+0x8/0x8 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] prepare_to_wait_event+0x129/0x650 kernel/sched/wait.c:305 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 wdm_flush+0x2ea/0x3c0 drivers/usb/class/cdc-wdm.c:590 wdm_poll+0x280/0x280 include/linux/poll.h:50 finish_wait+0x260/0x260 include/linux/list.h:301 wdm_poll+0x280/0x280 include/linux/poll.h:50 filp_close+0xb4/0x170 fs/open.c:1251 __close_fd+0x133/0x200 fs/file.c:641 __do_sys_close fs/open.c:1270 [inline] __se_sys_close fs/open.c:1268 [inline] __x64_sys_close+0x69/0x100 fs/open.c:1268 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 do_syscall_64+0xb6/0x5a0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 INFO: task syz-executor.3:5810 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.3 D27336 5810 381 0x80004006 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 locks_remove_posix+0x277/0x4e0 fs/locks.c:2706 __sched_text_start+0x8/0x8 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] prepare_to_wait_event+0x129/0x650 kernel/sched/wait.c:305 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x39/0x40 kernel/locking/spinlock.c:191 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 wdm_flush+0x2ea/0x3c0 drivers/usb/class/cdc-wdm.c:590 wdm_poll+0x280/0x280 include/linux/poll.h:50 finish_wait+0x260/0x260 include/linux/list.h:301 task_work_add+0x97/0x120 kernel/task_work.c:35 wdm_poll+0x280/0x280 include/linux/poll.h:50 filp_close+0xb4/0x170 fs/open.c:1251 close_files fs/file.c:388 [inline] put_files_struct fs/file.c:416 [inline] put_files_struct+0x1d8/0x2e0 fs/file.c:413 exit_files+0x7e/0xa0 fs/file.c:445 do_exit+0xb36/0x2c80 kernel/exit.c:791 find_held_lock+0x2d/0x110 kernel/locking/lockdep.c:4458 mm_update_next_owner+0x7a0/0x7a0 kernel/exit.c:375 lock_downgrade+0x720/0x720 kernel/locking/lockdep.c:4599 do_group_exit+0x125/0x340 kernel/exit.c:894 get_signal+0x480/0x2480 kernel/signal.c:2739 down_interruptible+0x4b/0x80 kernel/locking/semaphore.c:85 do_signal+0x88/0x1ae0 arch/x86/kernel/signal.c:784 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline] _raw_spin_unlock_irqrestore+0x39/0x40 kernel/locking/spinlock.c:191 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 force_valid_ss arch/x86/kernel/signal.c:73 [inline] restore_sigcontext+0x620/0x620 arch/x86/kernel/signal.c:134 down_interruptible+0x4b/0x80 kernel/locking/semaphore.c:85 raw_ioctl+0x11f/0x2570 drivers/usb/gadget/legacy/raw_gadget.c:1261 ksys_dup3+0x3c0/0x3c0 include/linux/compiler.h:199 raw_open+0x4d0/0x4d0 include/linux/semaphore.h:34 down_read_nested+0x430/0x430 include/linux/compiler.h:199 exit_to_usermode_loop+0x1a2/0x200 arch/x86/entry/common.c:161 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline] syscall_return_slowpath arch/x86/entry/common.c:279 [inline] do_syscall_64+0x4e0/0x5a0 arch/x86/entry/common.c:305 entry_SYSCALL_64_after_hwframe+0x49/0xb3 INFO: task syz-executor.1:5852 blocked for more than 143 seconds. Not tainted 5.7.0-rc6-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.1 D28552 5852 382 0x00000004 Call Trace: context_switch kernel/sched/core.c:3367 [inline] __schedule+0x892/0x1d80 kernel/sched/core.c:4083 __sched_text_start+0x8/0x8 spin_unlock_irqrestore include/linux/spinlock.h:408 [inline] prepare_to_wait_event+0x129/0x650 kernel/sched/wait.c:305 schedule+0xcd/0x2b0 kernel/sched/core.c:4158 wdm_flush+0x2ea/0x3c0 drivers/usb/class/cdc-wdm.c:590 wdm_poll+0x280/0x280 include/linux/poll.h:50 finish_wait+0x260/0x260 include/linux/list.h:301 wdm_poll+0x280/0x280 include/linux/poll.h:50 filp_close+0xb4/0x170 fs/open.c:1251 __close_fd+0x133/0x200 fs/file.c:641 __do_sys_close fs/open.c:1270 [inline] __se_sys_close fs/open.c:1268 [inline] __x64_sys_close+0x69/0x100 fs/open.c:1268 __trace_hardirqs_on_caller kernel/locking/lockdep.c:3657 [inline] lockdep_hardirqs_on+0x3c7/0x5d0 kernel/locking/lockdep.c:3702 do_syscall_64+0xb6/0x5a0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 Showing all locks held in the system: 1 lock held by khungtaskd/23: #0: ffffffff87111260 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x264 kernel/locking/lockdep.c:5754 1 lock held by systemd-journal/141: #0: ffff8881db234958 (&rq->lock){-.-.}-{2:2}, at: newidle_balance+0xa14/0xe30 kernel/sched/fair.c:10512 1 lock held by in:imklog/275: #0: ffff8881c91f39f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:826 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 23 Comm: khungtaskd Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0xef/0x16e lib/dump_stack.c:118 irq_force_complete_move.cold+0x13/0x47 arch/x86/kernel/apic/vector.c:1023 nmi_cpu_backtrace.cold+0x70/0xb1 lib/nmi_backtrace.c:101 lapic_can_unplug_cpu.cold+0x3b/0x3b nmi_trigger_cpumask_backtrace+0x1db/0x207 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xa99/0xfd0 kernel/hung_task.c:289 reset_hung_task_detector+0x30/0x30 kernel/hung_task.c:243 kthread+0x326/0x430 kernel/kthread.c:268 kthread_create_on_node+0xf0/0xf0 kernel/kthread.c:405 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 141 Comm: systemd-journal Not tainted 5.7.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_add_valid+0xa/0xa0 lib/list_debug.c:22 Code: ff ff 48 8b 7c 24 58 e8 a4 2b 7d ff e9 0b f3 ff ff e8 9a 2b 7d ff 48 8b 44 24 18 e9 4a f6 ff ff 48 b8 00 00 00 00 00 fc ff df <41> 54 49 89 d4 55 48 89 fd 48 8d 7a 08 48 83 ec 08 48 89 fa 48 c1 RSP: 0018:ffff8881d1cc7be0 EFLAGS: 00000002 RAX: dffffc0000000000 RBX: ffffea000749e208 RCX: 0000000000000004 RDX: ffffea000749e208 RSI: ffff88821fffac18 RDI: ffffea0006ace208 RBP: ffffea0006ace208 R08: 0000000000000004 R09: ffffea0006ace030 R10: 0000000000000003 R11: 000000000000000a R12: 0000000000000003 R13: ffffea0006ace200 R14: ffff88821fffac18 R15: 0000000000000000 FS: 00007fcb4ef228c0(0000) GS:ffff8881db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcb4c582000 CR3: 00000001d2c2c000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add include/linux/list.h:67 [inline] list_add include/linux/list.h:86 [inline] add_to_free_list mm/page_alloc.c:874 [inline] __free_one_page mm/page_alloc.c:1051 [inline] free_one_page mm/page_alloc.c:1388 [inline] __free_pages_ok+0x14e9/0x1e20 mm/page_alloc.c:1478 unfreeze_partials.isra.0+0x1f0/0x2a0 mm/slub.c:2267 __debug_check_no_obj_freed lib/debugobjects.c:977 [inline] debug_check_no_obj_freed+0x213/0x449 lib/debugobjects.c:998 put_cpu_partial+0xca/0x110 mm/slub.c:2304 put_cpu_partial+0x93/0x110 mm/slub.c:2303 qlink_free mm/kasan/quarantine.c:148 [inline] qlist_free_all+0x32/0xa0 mm/kasan/quarantine.c:167 prepare_creds+0x39/0x6b0 kernel/cred.c:258 quarantine_reduce+0x135/0x170 mm/kasan/quarantine.c:260 __kasan_kmalloc.constprop.0+0x97/0xd0 mm/kasan/common.c:476 prepare_creds+0x39/0x6b0 kernel/cred.c:258 slab_post_alloc_hook mm/slab.h:586 [inline] slab_alloc_node mm/slub.c:2797 [inline] slab_alloc mm/slub.c:2805 [inline] kmem_cache_alloc+0xd8/0x300 mm/slub.c:2810 prepare_creds+0x39/0x6b0 kernel/cred.c:258 do_faccessat+0x94/0x7a0 fs/open.c:360 __ia32_sys_fallocate+0xf0/0xf0 fs/open.c:338 trace_hardirqs_off_caller+0x55/0x200 kernel/trace/trace_preemptirq.c:73 do_syscall_64+0xb6/0x5a0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x7fcb4e1de9c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007fff2521f9d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007fff25222a00 RCX: 00007fcb4e1de9c7 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000556b81ae69a3 RBP: 00007fff2521fb20 R08: 0000556b81adc3e5 R09: 0000000000000018 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000556b835038a0 R15: 00007fff25220010