INFO: task syz-executor.1:5732 blocked for more than 143 seconds. Not tainted 6.9.0-rc3-next-20240411-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:24664 pid:5732 tgid:5732 ppid:5097 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 coredump_task_exit kernel/exit.c:439 [inline] do_exit+0x56f/0x27e0 kernel/exit.c:832 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc65847de69 RSP: 002b:00007ffd02b81e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffdfc RBX: 0000000000015863 RCX: 00007fc65847de69 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fc6585ac05c RBP: 0000000000000032 R08: 00007fc6585ac05c R09: 00007fc6585ac05c R10: 00007ffd02b81fa0 R11: 0000000000000246 R12: 00007fc6585ac05c R13: 0000000000015895 R14: 00007ffd02b81fc0 R15: 00007ffd02b81fa0 INFO: task syz-executor.1:5736 blocked for more than 143 seconds. Not tainted 6.9.0-rc3-next-20240411-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25752 pid:5736 tgid:5732 ppid:5097 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2558 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3ea/0x6d0 kernel/sched/completion.c:116 wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion_state+0x1c/0x40 kernel/sched/completion.c:264 coredump_wait fs/coredump.c:414 [inline] do_coredump+0xa9e/0x2b50 fs/coredump.c:571 get_signal+0x13fa/0x1740 kernel/signal.c:2896 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc65847de69 RSP: 002b:00007fc6592060c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000012 RAX: ffffffffffffffe5 RBX: 00007fc6585ac050 RCX: 00007fc65847de69 RDX: 0000000000000001 RSI: 0000000020000000 RDI: 0000000000000007 RBP: 00007fc6584ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 000004010000bffd R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc6585ac050 R15: 00007ffd02b81d88 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e335ca0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e335ca0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e335ca0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by kworker/u8:4/62: #0: ffff88802ac42948 ((wq_completion)l2tp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3193 [inline] #0: ffff88802ac42948 ((wq_completion)l2tp){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3299 #1: ffffc900015d7d00 ((work_completion)(&tunnel->del_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3194 [inline] #1: ffffc900015d7d00 ((work_completion)(&tunnel->del_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3299 3 locks held by kworker/u8:5/1047: 2 locks held by getty/4839: #0: ffff88802aacf0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 6 locks held by kworker/0:3/5104: #0: ffff88801aed9d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3193 [inline] #0: ffff88801aed9d48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3299 #1: ffffc90003997d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3194 [inline] #1: ffffc90003997d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3299 #2: ffff888023aee190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888023aee190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff88801b683190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #3: ffff88801b683190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1003 #4: ffff888060535160 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #4: ffff888060535160 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8e/0x520 drivers/base/dd.c:1003 #5: ffffffff8f568388 (register_mutex#6){+.+.}-{3:3}, at: usb_audio_probe+0x417/0x2100 sound/usb/card.c:801 4 locks held by udevd/8058: #0: ffff88802cd3d0a0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xb7/0xd60 fs/seq_file.c:182 #1: ffff88807992cc88 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x53/0x3b0 fs/kernfs/file.c:154 #2: ffff888056b26968 (kn->active#18){.+.+}-{0:0}, at: kernfs_seq_start+0x72/0x3b0 fs/kernfs/file.c:155 #3: ffff88801b683190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:995 [inline] #3: ffff88801b683190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 1 lock held by udevd/8059: #0: ffff88801d4970c8 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:846 [inline] #0: ffff88801d4970c8 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 1 lock held by syz-executor.4/8629: #0: ffffffff8e33b078 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8e33b078 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:939 2 locks held by syz-executor.2/8640: #0: ffff8880111fbe10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline] #0: ffff8880111fbe10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release net/socket.c:658 [inline] #0: ffff8880111fbe10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: sock_close+0x90/0x240 net/socket.c:1421 #1: ffff888079bf2258 (sk_lock-AF_PPPOX){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1671 [inline] #1: ffff888079bf2258 (sk_lock-AF_PPPOX){+.+.}-{0:0}, at: pppol2tp_release+0x51/0x350 net/l2tp/l2tp_ppp.c:434 1 lock held by syz-executor.0/8663: 3 locks held by syz-executor.1/8674: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-rc3-next-20240411-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8676 Comm: udevadm Not tainted 6.9.0-rc3-next-20240411-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:__preempt_count_dec_and_test arch/x86/include/asm/preempt.h:94 [inline] RIP: 0010:rcu_is_watching+0x60/0xb0 kernel/rcu/tree.c:726 Code: 80 3c 38 00 74 08 4c 89 f7 e8 fc 8d 7e 00 48 c7 c3 c8 7c 03 00 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38 84 c0 75 22 8b 03 <65> ff 0d 81 dc 86 7e 74 10 83 e0 04 c1 e8 02 5b 41 5e 41 5f c3 cc RSP: 0018:ffffc900173f6f48 EFLAGS: 00000046 RAX: 0000000000027dac RBX: ffff8880b9437cc8 RCX: ffffffff819de3cc RDX: 0000000000000000 RSI: ffffffff8c1f8560 RDI: ffffffff8c1f8520 RBP: 0000000000000000 R08: ffffffff8fabf4af R09: 1ffffffff1f57e95 R10: dffffc0000000000 R11: fffffbfff1f57e96 R12: ffffc900173f7c00 R13: 0000000000002800 R14: ffffffff8dd8e9e0 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc5c41f26a8 CR3: 000000007c268000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: trace_irq_disable+0x3b/0x120 include/trace/events/preemptirq.h:36 __kmem_cache_alloc_bulk mm/slub.c:4652 [inline] kmem_cache_alloc_bulk_noprof+0xd4/0x760 mm/slub.c:4751 mt_alloc_bulk lib/maple_tree.c:167 [inline] mas_alloc_nodes+0x3d5/0x840 lib/maple_tree.c:1264 mas_node_count_gfp lib/maple_tree.c:1322 [inline] mas_node_count lib/maple_tree.c:1336 [inline] mas_wr_spanning_store+0x47e/0x18b0 lib/maple_tree.c:3818 mas_store_gfp+0x20d/0x410 lib/maple_tree.c:5462 vma_iter_clear_gfp include/linux/mm.h:1021 [inline] do_vmi_align_munmap+0xdd5/0x18c0 mm/mmap.c:2653 do_vmi_munmap+0x24e/0x2d0 mm/mmap.c:2741 mmap_region+0x729/0x2030 mm/mmap.c:2792 do_mmap+0x8ad/0xfa0 mm/mmap.c:1387 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:573 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc5c46d2b74 Code: 63 08 44 89 e8 5b 41 5c 41 5d c3 41 89 ca 41 f7 c1 ff 0f 00 00 74 0c c7 05 f5 46 01 00 16 00 00 00 eb 17 b8 09 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 0c f7 d8 89 05 dc 46 01 00 48 83 c8 ff c3 0f RSP: 002b:00007ffeae0f3658 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007ffeae0f3708 RCX: 00007fc5c46d2b74 RDX: 0000000000000003 RSI: 000000000000cdd0 RDI: 00007fc5c41f3000 RBP: 00007ffeae0f3df0 R08: 00000000ffffffff R09: 0000000000000000 R10: 0000000000000032 R11: 0000000000000246 R12: 00007fc5c46b09c0 R13: 00007ffeae0f3e78 R14: 00007fc5c41ffdd0 R15: 00007fc5c41f3000