INFO: task jbd2/sda1-8:4420 blocked for more than 143 seconds. Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jbd2/sda1-8 state:D stack:25176 pid:4420 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 io_schedule+0xbe/0x130 kernel/sched/core.c:8987 bit_wait_io+0x16/0xe0 kernel/sched/wait_bit.c:209 __wait_on_bit+0x64/0x180 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0xd9/0x110 kernel/sched/wait_bit.c:64 wait_on_bit_io include/linux/wait_bit.h:101 [inline] __wait_on_buffer+0x63/0x70 fs/buffer.c:123 wait_on_buffer include/linux/buffer_head.h:398 [inline] journal_wait_on_commit_record fs/jbd2/commit.c:171 [inline] jbd2_journal_commit_transaction+0x47a3/0x6200 fs/jbd2/commit.c:890 kjournald2+0x1d4/0x890 fs/jbd2/journal.c:209 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 INFO: task syz-executor.1:12617 blocked for more than 143 seconds. Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25792 pid:12617 ppid:11932 flags:0x00004004 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 jbd2_log_wait_commit+0x2d6/0x430 fs/jbd2/journal.c:708 jbd2_complete_transaction+0x188/0x200 fs/jbd2/journal.c:844 ext4_fc_commit+0x852/0x1c20 fs/ext4/fast_commit.c:1199 ext4_fsync_journal fs/ext4/fsync.c:108 [inline] ext4_sync_file+0x3a9/0xda0 fs/ext4/fsync.c:161 vfs_fsync_range+0x13e/0x230 fs/sync.c:188 generic_write_sync include/linux/fs.h:2469 [inline] generic_write_sync include/linux/fs.h:2466 [inline] ext4_buffered_write_iter+0x379/0x460 fs/ext4/file.c:296 ext4_file_write_iter+0xbe0/0x1740 fs/ext4/file.c:710 call_write_iter include/linux/fs.h:1868 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x945/0xd50 fs/read_write.c:584 ksys_write+0x12b/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f914b48c169 RSP: 002b:00007f9149fbc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f914b5ac120 RCX: 00007f914b48c169 RDX: 000000000000fea0 RSI: 0000000020000040 RDI: 0000000000000008 RBP: 00007f914b4e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff58281a6f R14: 00007f9149fbc300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c798530 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c798230 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/28: #0: ffffffff8c799140 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6559 2 locks held by getty/4759: #0: ffff88814ac1c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 2 locks held by kworker/1:10/7773: 2 locks held by kworker/1:11/7774: 3 locks held by kworker/1:14/7777: 2 locks held by kworker/1:9/12098: 2 locks held by kworker/1:16/12099: 2 locks held by kworker/1:17/12100: 4 locks held by syz-executor.0/12566: 2 locks held by syz-executor.1/12617: #0: ffff888016e74ae8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe7/0x100 fs/file.c:1047 #1: ffff88814c23a460 (sb_writers#4){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 fs/read_write.c:637 6 locks held by syz-executor.0/12643: #0: ffff8880282b6460 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 fs/read_write.c:637 #1: ffff88802ac75488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x285/0x600 fs/kernfs/file.c:325 #2: ffff8881423b4578 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a9/0x600 fs/kernfs/file.c:326 #3: ffffffff8d800ae8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xc9/0x4a0 drivers/net/netdevsim/bus.c:209 #4: ffff88803859d0e8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff88803859d0e8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff88803859d0e8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1292 #5: ffff88803859e250 (&devlink->lock_key){+.+.}-{3:3}, at: nsim_drv_remove+0x4a/0x1d0 drivers/net/netdevsim/dev.c:1675 4 locks held by syz-executor.0/12658: #0: ffff8880282b6460 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 fs/read_write.c:637 #1: ffff888029cf3488 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x285/0x600 fs/kernfs/file.c:325 #2: ffff8881423b4578 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a9/0x600 fs/kernfs/file.c:326 #3: ffffffff8d800ae8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xc9/0x4a0 drivers/net/netdevsim/bus.c:209 4 locks held by syz-executor.0/12670: #0: ffff8880282b6460 (sb_writers#8){.+.+}-{0:0}, at: ksys_write+0x12b/0x250 fs/read_write.c:637 #1: ffff8880233d0c88 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x285/0x600 fs/kernfs/file.c:325 #2: ffff8881423b4578 (kn->active#51){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x2a9/0x600 fs/kernfs/file.c:326 #3: ffffffff8d800ae8 (nsim_bus_dev_list_lock){+.+.}-{3:3}, at: del_device_store+0xc9/0x4a0 drivers/net/netdevsim/bus.c:209 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 12566 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/16/2023 RIP: 0010:__find_rr_leaf+0xe/0xdc0 net/ipv6/route.c:788 Code: 5c 06 f9 8b 54 24 04 8b 0c 24 e9 71 ff ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 57 41 56 49 89 f6 41 55 49 89 cd 41 54 <55> 48 bd 00 00 00 00 00 fc ff df 53 48 89 fb 48 81 ec e0 00 00 00 RSP: 0018:ffffc900001e06f8 EFLAGS: 00000286 RAX: ffffc900001e07e8 RBX: ffff88802ac54000 RCX: ffffc900001e08f0 RDX: 0000000000000100 RSI: 0000000000000000 RDI: ffff88802ac54000 RBP: dffffc0000000000 R08: ffffc900001e07f8 R09: 000000000000001e R10: 0000000000000008 R11: 0000000000094001 R12: 0000000000000100 R13: ffffc900001e08f0 R14: 0000000000000000 R15: ffff88801eb94800 FS: 00007f5c41bd2700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5c41c149d0 CR3: 0000000038b4d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: find_rr_leaf net/ipv6/route.c:849 [inline] rt6_select net/ipv6/route.c:893 [inline] fib6_table_lookup+0x62e/0xa20 net/ipv6/route.c:2181 ip6_pol_route+0x1c9/0x1230 net/ipv6/route.c:2217 pol_lookup_func include/net/ip6_fib.h:576 [inline] fib6_rule_lookup+0x115/0x6e0 net/ipv6/fib6_rules.c:116 ip6_route_input_lookup net/ipv6/route.c:2286 [inline] ip6_route_input+0x5d8/0xbb0 net/ipv6/route.c:2582 ip6_rcv_finish_core.constprop.0+0x1a4/0x5d0 net/ipv6/ip6_input.c:66 ip6_rcv_finish net/ipv6/ip6_input.c:77 [inline] NF_HOOK include/linux/netfilter.h:303 [inline] NF_HOOK include/linux/netfilter.h:297 [inline] ipv6_rcv+0x1e9/0x380 net/ipv6/ip6_input.c:309 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5491 __netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5605 process_backlog+0x13e/0x6d0 net/core/dev.c:5933 __napi_poll+0xb3/0x520 net/core/dev.c:6496 napi_poll net/core/dev.c:6563 [inline] net_rx_action+0x8e4/0xd00 net/core/dev.c:6696 __do_softirq+0x1d4/0x905 kernel/softirq.c:553 do_softirq.part.0+0x87/0xc0 kernel/softirq.c:454 do_softirq kernel/softirq.c:446 [inline] __local_bh_enable_ip+0x106/0x130 kernel/softirq.c:381 spin_unlock_bh include/linux/spinlock.h:395 [inline] tcp_metrics_flush_all+0x27c/0x390 net/ipv4/tcp_metrics.c:899 ops_exit_list+0x125/0x170 net/core/net_namespace.c:175 setup_net+0x7fb/0xc50 net/core/net_namespace.c:362 copy_net_ns+0x4ee/0x8e0 net/core/net_namespace.c:491 create_new_namespaces+0x3f6/0xb20 kernel/nsproxy.c:110 copy_namespaces+0x410/0x500 kernel/nsproxy.c:179 copy_process+0x322a/0x7600 kernel/fork.c:2506 kernel_clone+0xeb/0x890 kernel/fork.c:2914 __do_sys_clone+0xba/0x100 kernel/fork.c:3057 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5c40e8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5c41bd2118 EFLAGS: 00000202 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 00007f5c40fac120 RCX: 00007f5c40e8c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000042048480 RBP: 00007f5c40ee7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000 R13: 00007ffe7351484f R14: 00007f5c41bd2300 R15: 0000000000022000