INFO: task khugepaged:34 blocked for more than 143 seconds.
Not tainted 6.3.0-next-20230505-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:khugepaged state:D
stack:27928 pid:34 ppid:2 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x1d15/0x5790 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
__flush_work+0x595/0xb60 kernel/workqueue.c:3189
__lru_add_drain_all+0x1bf/0x6a0 mm/swap.c:897
khugepaged_do_scan mm/khugepaged.c:2599 [inline]
khugepaged+0x105/0x1740 mm/khugepaged.c:2668
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task kworker/u4:11:10397 blocked for more than 144 seconds.
Not tainted 6.3.0-next-20230505-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:11 state:D
stack:26608 pid:10397 ppid:2 flags:0x00004000
Workqueue: events_unbound fsnotify_mark_destroy_workfn
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x1d15/0x5790 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
__synchronize_srcu+0x1be/0x2c0 kernel/rcu/srcutree.c:1360
fsnotify_mark_destroy_workfn+0x101/0x3c0 fs/notify/mark.c:898
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task kworker/u4:21:10425 blocked for more than 144 seconds.
Not tainted 6.3.0-next-20230505-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:21 state:D stack:26056 pid:10425 ppid:2 flags:0x00004000
Workqueue: events_unbound fsnotify_connector_destroy_workfn
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x1d15/0x5790 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
__synchronize_srcu+0x1be/0x2c0 kernel/rcu/srcutree.c:1360
fsnotify_connector_destroy_workfn+0x4d/0xa0 fs/notify/mark.c:208
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
INFO: task syz-executor.1:13819 blocked for more than 145 seconds.
Not tainted 6.3.0-next-20230505-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:24312 pid:13819 ppid:1 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5343 [inline]
__schedule+0x1d15/0x5790 kernel/sched/core.c:6669
schedule+0xde/0x1a0 kernel/sched/core.c:6745
schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106
__synchronize_srcu+0x1be/0x2c0 kernel/rcu/srcutree.c:1360
unregister_shrinker mm/vmscan.c:822 [inline]
unregister_shrinker+0x1d2/0x2e0 mm/vmscan.c:805
deactivate_locked_super+0x70/0x160 fs/super.c:330
deactivate_super+0xb1/0xd0 fs/super.c:362
cleanup_mnt+0x2ae/0x3d0 fs/namespace.c:1177
task_work_run+0x16f/0x270 kernel/task_work.c:179
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xb0d/0x29f0 kernel/exit.c:871
do_group_exit+0xd4/0x2a0 kernel/exit.c:1021
get_signal+0x2315/0x25b0 kernel/signal.c:2874
arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:307
exit_to_user_mode_loop kernel/entry/common.c:168 [inline]
exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204
__syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline]
syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297
do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe1b8a8bcd8
RSP: 002b:00007ffc93360630 EFLAGS: 00000287 ORIG_RAX: 0000000000000101
RAX: fffffffffffffff4 RBX: 0000000000000006 RCX: 00007fe1b8a8bcd8
RDX: 0000000000090800 RSI: 00007ffc93361820 RDI: 00000000ffffff9c
RBP: 00007ffc933617fc R08: 0000000000090800 R09: 00007ffc93361820
R10: 0000000000000000 R11: 0000000000000287 R12: 00007fe1b8ae6cdc
R13: 00007ffc93361820 R14: 0000000000000003 R15: 00007ffc93361860
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/13:
#0: ffffffff8c798e30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by rcu_tasks_trace/14:
#0:
ffffffff8c798b30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518
1 lock held by khungtaskd/28:
#0: ffffffff8c799a40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6559
1 lock held by khugepaged/34:
#0: ffffffff8c89b128 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x62/0x6a0 mm/swap.c:852
3 locks held by kworker/1:2/1666:
#0: ffff888012471d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012471d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012471d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888012471d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888012471d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888012471d38 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1:
ffffc90006007db0 ((reg_check_chans).work){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
#2:
ffffffff8e1161e8
(
rtnl_mutex
){+.+.}-{3:3}
, at: reg_check_chans_work+0x82/0xf60 net/wireless/reg.c:2455
3 locks held by kworker/1:3/4744:
#0:
ffff888027d7b138
(
(wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
(wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
(wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
(wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
(wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
(wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1:
ffffc9000356fdb0 ((work_completion)(&(&net->ipv6.addr_chk_work)->work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
#2: ffffffff8e1161e8 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_verify_work+0x12/0x30 net/ipv6/addrconf.c:4630
2 locks held by getty/4758:
#0: ffff8880289e9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176
2 locks held by kworker/u4:11/10397:
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
#0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1: ffffc900030ffdb0 ((reaper_work).work
){+.+.}-{0:0}
, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
2 locks held by kworker/u4:21/10425:
#0:
ffff888012479138
(
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
, at: set_work_data kernel/workqueue.c:643 [inline]
, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1:
ffffc900037afdb0
(
connector_reaper_work
){+.+.}-{0:0}
, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
3 locks held by kworker/1:14/11241:
#0:
ffff888012470d38
(
(wq_completion)events){+.+.}-{0:0}
, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline]
, at: set_work_data kernel/workqueue.c:643 [inline]
, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline]
, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376
#1:
ffffc90015bf7db0
(
(linkwatch_work).work
){+.+.}-{0:0}
, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380
#2:
ffffffff8e1161e8
(rtnl_mutex){+.+.}-{3:3}
, at: linkwatch_event+0xf/0x70 net/core/link_watch.c:277
10 locks held by kworker/0:7/12142:
1 lock held by syz-executor.1/13819:
#0:
ffff88807b1880e0
(
&type->s_umount_key
#71
){++++}-{3:3}
, at: deactivate_super+0xa9/0xd0 fs/super.c:361
2 locks held by dhcpcd/14067:
#0:
ffff88803ae6e130
(
sk_lock-AF_PACKET
){+.+.}-{0:0}
, at: lock_sock include/net/sock.h:1697 [inline]
, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3204
#1:
ffffffff8c7a4eb8
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:293 [inline]
, at: synchronize_rcu_expedited+0x64a/0x770 kernel/rcu/tree_exp.h:992
2 locks held by dhcpcd/14068:
#0:
ffff888080002130
(
sk_lock-AF_PACKET
){+.+.}-{0:0}
, at: lock_sock include/net/sock.h:1697 [inline]
, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3204
#1:
ffffffff8c7a4eb8
(
rcu_state.exp_mutex
){+.+.}-{3:3}
, at: exp_funnel_lock kernel/rcu/tree_exp.h:325 [inline]
, at: synchronize_rcu_expedited+0x3e8/0x770 kernel/rcu/tree_exp.h:992
1 lock held by dhcpcd/14069:
#0:
ffff88803b242130
(
sk_lock-AF_PACKET
){+.+.}-{0:0}
, at: lock_sock include/net/sock.h:1697 [inline]
, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3204
1 lock held by dhcpcd/14070:
#0:
ffff88803b2bc130
(
sk_lock-AF_PACKET
){+.+.}-{0:0}
, at: lock_sock include/net/sock.h:1697 [inline]
, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3204
1 lock held by dhcpcd/14071:
#0:
ffff888080ed6130
(
sk_lock-AF_PACKET
){+.+.}-{0:0}
, at: lock_sock include/net/sock.h:1697 [inline]
, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3204
1 lock held by dhcpcd/14072:
#0:
ffff888079f82130
(
sk_lock-AF_PACKET
){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1697 [inline]
){+.+.}-{0:0}, at: packet_do_bind+0x2f/0xe30 net/packet/af_packet.c:3204
1 lock held by syz-executor.1/14125:
#0:
ffffffff8e1161e8
(
rtnl_mutex
){+.+.}-{3:3}
, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6392
1 lock held by syz-executor.1/14133:
#0:
ffffffff8e1161e8
(
rtnl_mutex){+.+.}-{3:3}
, at: rtnl_lock net/core/rtnetlink.c:78 [inline]
, at: rtnetlink_rcv_msg+0x3e8/0xd50 net/core/rtnetlink.c:6392
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-next-20230505-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe16/0x1090 kernel/hung_task.c:379
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12142 Comm: kworker/0:7 Not tainted 6.3.0-next-20230505-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
Workqueue: events mptcp_worker
RIP: 0010:io_serial_out+0x8f/0xb0 drivers/tty/serial/8250/8250_port.c:476
Code: 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 18 66 03 5d 40 44 89 e8 89 da ee <5b> 5d 41 5c 41 5d c3 e8 f5 5f 4f fd eb a4 e8 4e 60 4f fd eb e1 66
RSP: 0018:ffffc90006e2ef90 EFLAGS: 00000002
RAX: 0000000000000020 RBX: 00000000000003f8 RCX: 0000000000000000
RDX: 00000000000003f8 RSI: ffffffff8487e065 RDI: ffffffff920d11c0
RBP: ffffffff920d1180 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 205d323431323154 R12: 0000000000000000
R13: 0000000000000020 R14: ffffffff8487e000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c005f0b000 CR3: 0000000027419000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial_out drivers/tty/serial/8250/8250.h:123 [inline]
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3387 [inline]
serial8250_console_write+0xd12/0x1010 drivers/tty/serial/8250/8250_port.c:3458
console_emit_next_record kernel/printk/printk.c:2877 [inline]
console_flush_all+0x49c/0xcc0 kernel/printk/printk.c:2933
console_unlock+0xb8/0x1f0 kernel/printk/printk.c:3007
vprintk_emit+0x1bd/0x600 kernel/printk/printk.c:2307
vprintk+0x84/0xa0 kernel/printk/printk_safe.c:50
_printk+0xbf/0xf0 kernel/printk/printk.c:2328
seq_buf_do_printk lib/seq_buf.c:118 [inline]
seq_buf_do_printk+0x144/0x260 lib/seq_buf.c:105
mem_cgroup_print_oom_meminfo+0x282/0x4e0 mm/memcontrol.c:1693
dump_header+0x13f/0xd70 mm/oom_kill.c:462
out_of_memory+0xd6c/0x1650 mm/oom_kill.c:1163
mem_cgroup_out_of_memory+0x206/0x270 mm/memcontrol.c:1745
mem_cgroup_oom mm/memcontrol.c:1975 [inline]
try_charge_memcg+0xf9c/0x13b0 mm/memcontrol.c:2754
try_charge mm/memcontrol.c:2848 [inline]
mem_cgroup_charge_skmem+0x80/0x1d0 mm/memcontrol.c:7317
__sk_mem_raise_allocated+0x206/0x17a0 net/core/sock.c:2986
__sk_mem_schedule+0x6c/0xe0 net/core/sock.c:3077
sk_wmem_schedule include/net/sock.h:1606 [inline]
__mptcp_alloc_tx_skb net/mptcp/protocol.c:1185 [inline]
mptcp_alloc_tx_skb net/mptcp/protocol.c:1198 [inline]
mptcp_sendmsg_frag+0x653/0x2940 net/mptcp/protocol.c:1282
__mptcp_push_pending+0x246/0x770 net/mptcp/protocol.c:1578
mptcp_release_cb+0x1f3/0x930 net/mptcp/protocol.c:3318
release_sock+0xb8/0x1b0 net/core/sock.c:3490
mptcp_worker+0x3be/0x1090 net/mptcp/protocol.c:2705
process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405
worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552
kthread+0x344/0x440 kernel/kthread.c:379
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308