syzbot


INFO: task hung in cleanup_net

Status: upstream: reported on 2024/08/15 07:55
Reported-by: syzbot+680d625a5f4668587d80@syzkaller.appspotmail.com
First crash: 63d, last: 63d
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in cleanup_net (2) net 2 2002d 2002d 0/28 closed as invalid on 2019/05/08 13:05
android-44 INFO: task hung in cleanup_net 10 1956d 1997d 0/2 auto-closed as invalid on 2019/10/25 08:38
upstream INFO: task hung in cleanup_net net 1 2506d 2494d 3/28 fixed on 2018/01/03 02:35
linux-4.19 INFO: task hung in cleanup_net 1 1621d 1621d 0/1 auto-closed as invalid on 2020/09/08 00:00
linux-4.14 INFO: task hung in cleanup_net C inconclusive 23 1009d 2014d 0/1 upstream: reported C repro on 2019/04/13 10:16
upstream INFO: task hung in cleanup_net (7) net 98 1d06h 98d 0/28 upstream: reported on 2024/07/11 22:48
upstream INFO: task hung in cleanup_net (3) net 1 1936d 1936d 0/28 auto-closed as invalid on 2019/10/25 14:21
android-49 INFO: task hung in cleanup_net 4 2006d 2013d 0/3 auto-closed as invalid on 2019/10/18 21:44
upstream INFO: task hung in cleanup_net (4) net 2 1520d 1525d 0/28 auto-closed as invalid on 2020/11/17 15:39
android-414 INFO: task hung in cleanup_net C 45 1874d 2017d 0/1 public: reported C repro on 2019/04/11 00:00
android-49 INFO: task hung in cleanup_net (2) 1 1790d 1790d 0/3 auto-closed as invalid on 2020/03/23 02:35
upstream INFO: task hung in cleanup_net (6) net 1 474d 474d 0/28 auto-obsoleted due to no activity on 2023/09/30 00:07
upstream INFO: task hung in cleanup_net (5) net 3 1247d 1292d 0/28 auto-closed as invalid on 2021/09/03 11:33

Sample crash report:
INFO: task kworker/u4:4:1241 blocked for more than 143 seconds.
      Not tainted 5.15.164-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:4    state:D stack:19832 pid: 1241 ppid:     2 flags:0x00004000
Workqueue: netns cleanup_net
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
 cleanup_net+0x81c/0xb60 net/core/net_namespace.c:610
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
INFO: task syz.2.1659:11126 blocked for more than 143 seconds.
      Not tainted 5.15.164-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.1659      state:D stack:24704 pid:11126 ppid: 10665 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
 netdev_run_todo+0x381/0xc40 net/core/dev.c:10622
 tun_detach drivers/net/tun.c:705 [inline]
 tun_chr_close+0x136/0x1b0 drivers/net/tun.c:3440
 __fput+0x3fe/0x8e0 fs/file_table.c:280
 task_work_run+0x129/0x1a0 kernel/task_work.c:164
 exit_task_work include/linux/task_work.h:32 [inline]
 do_exit+0x6a3/0x2480 kernel/exit.c:874
 do_group_exit+0x144/0x310 kernel/exit.c:996
 get_signal+0xc66/0x14e0 kernel/signal.c:2889
 arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:867
 handle_signal_work kernel/entry/common.c:154 [inline]
 exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:178
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214
 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline]
 syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307
 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fbf9699b64a
RSP: 002b:00007fbf94e18e50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007fbf94e18ef0 RCX: 00007fbf9699b64a
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00000000200004c0 R08: 0000000000000000 R09: 0000000000005535
R10: 0000000000000000 R11: 0000000000000293 R12: 0000000020000040
R13: 00007fbf94e18eb0 R14: 000000000000553b R15: 0000000020001f80
 </TASK>
INFO: task syz-executor:11146 blocked for more than 144 seconds.
      Not tainted 5.15.164-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:24600 pid:11146 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
 netdev_run_todo+0x381/0xc40 net/core/dev.c:10622
 ip_tunnel_delete_nets+0x2f2/0x330 net/ipv4/ip_tunnel.c:1151
 ops_exit_list net/core/net_namespace.c:177 [inline]
 setup_net+0x81c/0x9e0 net/core/net_namespace.c:355
 copy_net_ns+0x392/0x5d0 net/core/net_namespace.c:476
 create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0x11e/0x170 kernel/nsproxy.c:226
 ksys_unshare+0x580/0xb20 kernel/fork.c:3101
 __do_sys_unshare kernel/fork.c:3175 [inline]
 __se_sys_unshare kernel/fork.c:3173 [inline]
 __x64_sys_unshare+0x34/0x40 kernel/fork.c:3173
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f3829c8e117
RSP: 002b:00007fffdbd5d638 EFLAGS: 00000202 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f3829e28f40 RCX: 00007f3829c8e117
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007f3829e29a38 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000000000000000c
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000009
 </TASK>
INFO: task syz-executor:11147 blocked for more than 145 seconds.
      Not tainted 5.15.164-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor    state:D stack:24600 pid:11147 ppid:     1 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
 netdev_run_todo+0x381/0xc40 net/core/dev.c:10622
 ip_tunnel_delete_nets+0x2f2/0x330 net/ipv4/ip_tunnel.c:1151
 ops_exit_list net/core/net_namespace.c:177 [inline]
 setup_net+0x81c/0x9e0 net/core/net_namespace.c:355
 copy_net_ns+0x392/0x5d0 net/core/net_namespace.c:476
 create_new_namespaces+0x425/0x7a0 kernel/nsproxy.c:110
 unshare_nsproxy_namespaces+0x11e/0x170 kernel/nsproxy.c:226
 ksys_unshare+0x580/0xb20 kernel/fork.c:3101
 __do_sys_unshare kernel/fork.c:3175 [inline]
 __se_sys_unshare kernel/fork.c:3173 [inline]
 __x64_sys_unshare+0x34/0x40 kernel/fork.c:3173
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f7386a85117
RSP: 002b:00007ffcdcce7a48 EFLAGS: 00000206 ORIG_RAX: 0000000000000110
RAX: ffffffffffffffda RBX: 00007f7386c1ff40 RCX: 00007f7386a85117
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000
RBP: 00007f7386c20a38 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 000000000000000c
R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000009
 </TASK>

Showing all locks held in the system:
2 locks held by kworker/u4:0/9:
1 lock held by khungtaskd/27:
 #0: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:4/1241:
 #0: ffff888011dd5138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
 #1: ffffc90004c4fd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
 #2: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
2 locks held by getty/3321:
 #0: ffff888024656098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc90002bab2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158
3 locks held by kworker/1:13/5895:
 #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283
 #1: ffffc90003cc7d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285
 #2: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
2 locks held by kworker/1:22/10561:
4 locks held by syz.4.1643/11095:
1 lock held by syz.2.1659/11126:
 #0: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
1 lock held by syz-executor/11128:
 #0: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
1 lock held by syz-executor/11129:
 #0: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
1 lock held by syz-executor/11132:
 #0: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
2 locks held by syz-executor/11146:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
2 locks held by syz-executor/11147:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8c923ff0 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039
2 locks held by syz-executor/11162:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8da308c8 (rtnl_mutex){+.+.}-{3:3}, at: wg_netns_pre_exit+0x1b/0x1d0 drivers/net/wireguard/device.c:404
2 locks held by syz-executor/11163:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8da308c8 (rtnl_mutex){+.+.}-{3:3}, at: ip6_tnl_exit_batch_net+0xc0/0x5e0 net/ipv6/ip6_tunnel.c:2319
3 locks held by syz-executor/11164:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8da308c8 (rtnl_mutex){+.+.}-{3:3}, at: sit_exit_batch_net+0xc0/0x480 net/ipv6/sit.c:1948
 #2: ffffffff8c7bd390 (cpu_hotplug_lock){++++}-{0:0}, at: flush_all_backlogs net/core/dev.c:5847 [inline]
 #2: ffffffff8c7bd390 (cpu_hotplug_lock){++++}-{0:0}, at: unregister_netdevice_many+0x58e/0x18f0 net/core/dev.c:11079
2 locks held by syz-executor/11170:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8da308c8 (rtnl_mutex){+.+.}-{3:3}, at: xfrmi_exit_batch_net+0xb3/0x280 net/xfrm/xfrm_interface_core.c:796
2 locks held by syz-executor/11172:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8da308c8 (rtnl_mutex){+.+.}-{3:3}, at: vti6_exit_batch_net+0xb0/0x410 net/ipv6/ip6_vti.c:1185
2 locks held by syz-executor/11200:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8da308c8 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x80/0x270 net/ipv4/nexthop.c:3606
2 locks held by syz-executor/11207:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8da308c8 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x80/0x270 net/ipv4/nexthop.c:3606
2 locks held by syz-executor/11209:
 #0: ffffffff8da24d10 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x378/0x5d0 net/core/net_namespace.c:472
 #1: ffffffff8da308c8 (rtnl_mutex){+.+.}-{3:3}, at: register_nexthop_notifier+0x80/0x270 net/ipv4/nexthop.c:3606
3 locks held by syz-executor/11211:
 #0: ffff888024c6c460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
 #1: ffff88807eb553b0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
 #1: ffff88807eb553b0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835
 #2: ffff88814b4b8990 (jbd2_handle){++++}-{0:0}, at: start_this_handle+0x12b9/0x1570 fs/jbd2/transaction.c:462
2 locks held by syz-executor/11212:
 #0: ffff888024c6c460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
 #1: ffff88807eb553b0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
 #1: ffff88807eb553b0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835
2 locks held by syz-executor/11221:
 #0: ffff888024c6c460 (sb_writers#5){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:377
 #1: ffff88807eb553b0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:824 [inline]
 #1: ffff88807eb553b0 (&type->i_mutex_dir_key#4/1){+.+.}-{3:3}, at: filename_create+0x25c/0x530 fs/namei.c:3835
2 locks held by syz-executor/11222:
1 lock held by syz-executor/11223:

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
 watchdog+0xe72/0xeb0 kernel/hung_task.c:295
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 11095 Comm: syz.4.1643 Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:memset_erms+0xb/0x10 arch/x86/lib/memset_64.S:65
Code: 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 f3 aa <4c> 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01 01 01
RSP: 0018:ffffc90002e35d20 EFLAGS: 00000202
RAX: 0000000000000000 RBX: ffffc90002e35e30 RCX: 0000000000000000
RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffffc90002e35e40
RBP: ffffffff8e6ab432 R08: dffffc0000000000 R09: ffffc90002e35e30
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffffffff1cd5686
R13: 1ffffffff1cd5686 R14: ffffffff8e6ab42e R15: ffffc90002e35de0
FS:  00007fce567336c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33a10ff8 CR3: 000000004cfb4000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 unwind_next_frame+0xbc8/0x1fa0 arch/x86/kernel/unwind_orc.c:547
 arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track+0x4b/0x80 mm/kasan/common.c:46
 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360
 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366
 kasan_slab_free include/linux/kasan.h:230 [inline]
 slab_free_hook mm/slub.c:1705 [inline]
 slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731
 slab_free mm/slub.c:3499 [inline]
 kmem_cache_free+0x91/0x1f0 mm/slub.c:3515
 free_buffer_head+0x45/0xb0 fs/buffer.c:3327
 try_to_free_buffers+0x464/0x5a0 fs/buffer.c:3268
 shrink_page_list+0x2dfe/0x7540 mm/vmscan.c:1712
 shrink_inactive_list mm/vmscan.c:2216 [inline]
 shrink_list mm/vmscan.c:2443 [inline]
 shrink_lruvec+0x14ae/0x2b90 mm/vmscan.c:2762
 shrink_node_memcgs mm/vmscan.c:2949 [inline]
 shrink_node+0x10b3/0x26d0 mm/vmscan.c:3072
 shrink_zones mm/vmscan.c:3278 [inline]
 do_try_to_free_pages+0x697/0x17b0 mm/vmscan.c:3333
 try_to_free_mem_cgroup_pages+0x44c/0xa60 mm/vmscan.c:3647
 try_charge_memcg+0x4f4/0x1530 mm/memcontrol.c:2651
 try_charge mm/memcontrol.c:2776 [inline]
 charge_memcg+0x10b/0x340 mm/memcontrol.c:6742
 __mem_cgroup_charge+0x23/0x80 mm/memcontrol.c:6778
 mem_cgroup_charge include/linux/memcontrol.h:700 [inline]
 __add_to_page_cache_locked+0xbdb/0x11a0 mm/filemap.c:892
 add_to_page_cache_lru+0x1b3/0x560 mm/filemap.c:984
 pagecache_get_page+0xbe0/0x1010 mm/filemap.c:1951
 find_or_create_page include/linux/pagemap.h:420 [inline]
 grow_dev_page fs/buffer.c:949 [inline]
 grow_buffers fs/buffer.c:1014 [inline]
 __getblk_slow fs/buffer.c:1041 [inline]
 __getblk_gfp+0x22a/0xaf0 fs/buffer.c:1336
 __bread_gfp+0x2a/0x390 fs/buffer.c:1381
 sb_bread include/linux/buffer_head.h:337 [inline]
 bfs_find_entry+0x1c3/0x3f0 fs/bfs/dir.c:337
 bfs_lookup+0x147/0x270 fs/bfs/dir.c:137
 lookup_open fs/namei.c:3440 [inline]
 open_last_lookups fs/namei.c:3532 [inline]
 path_openat+0x111d/0x2f20 fs/namei.c:3739
 do_filp_open+0x21c/0x460 fs/namei.c:3769
 do_sys_openat2+0x13b/0x4f0 fs/open.c:1253
 do_sys_open fs/open.c:1269 [inline]
 __do_sys_open fs/open.c:1277 [inline]
 __se_sys_open fs/open.c:1273 [inline]
 __x64_sys_open+0x221/0x270 fs/open.c:1273
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fce582f89b9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fce56733038 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fce58495130 RCX: 00007fce582f89b9
RDX: 0000000000000000 RSI: 000000000014927e RDI: 0000000020000180
RBP: 00007fce583668d8 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fce58495130 R15: 00007ffff651c6f8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/08/15 07:54 linux-5.15.y 7e89efd3ae1c e4bacdaf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in cleanup_net
* Struck through repros no longer work on HEAD.