INFO: task syz.0.1039:10114 blocked for more than 143 seconds. Not tainted 6.10.0-rc5-syzkaller-00175-g6d6444ba8205 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.1039 state:D stack:24696 pid:10114 tgid:10110 ppid:5094 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5408 [inline] __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745 __schedule_loop kernel/sched/core.c:6822 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6837 io_schedule+0x8d/0x110 kernel/sched/core.c:9043 folio_wait_bit_common+0x882/0x12b0 mm/filemap.c:1307 release_metapage+0x8c/0x870 fs/jfs/jfs_metapage.c:764 discard_metapage fs/jfs/jfs_metapage.h:88 [inline] __get_metapage+0xb1d/0x1050 fs/jfs/jfs_metapage.c:644 jfs_readdir+0x2945/0x4660 fs/jfs/jfs_dtree.c:3018 wrap_directory_iterator+0x96/0xe0 fs/readdir.c:67 iterate_dir+0x660/0x820 fs/readdir.c:110 __do_sys_getdents64 fs/readdir.c:409 [inline] __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:394 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fbfbbb75b29 RSP: 002b:00007fbfbc8c0048 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007fbfbbd04070 RCX: 00007fbfbbb75b29 RDX: 0000000000001000 RSI: 0000000020000f80 RDI: 0000000000000007 RBP: 00007fbfbbbf6756 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fbfbbd04070 R15: 00007fffacdfa4b8 Showing all locks held in the system: 3 locks held by kworker/u8:1/12: #0: ffff8880b943e798 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xb0/0x140 kernel/sched/core.c:567 #1: ffff8880b9428948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffffffff949c6500 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:978 [inline] #2: ffffffff949c6500 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0x234/0x580 lib/debugobjects.c:1019 1 lock held by khungtaskd/30: #0: ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] ffffffff8e333f60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 4 locks held by kworker/u8:2/35: 3 locks held by kworker/0:2/927: #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc90004597d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] #1: ffffc90004597d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5e7188 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 3 locks held by kworker/u8:11/2883: #0: ffff88802a264148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff88802a264148 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc9000a2e7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0} , at: process_one_work kernel/workqueue.c:3224 [inline] , at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8f5e7188 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xd0/0x16f0 net/ipv6/addrconf.c:4193 2 locks held by getty/4854: #0: ffff88802a9930a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2211 3 locks held by kworker/0:4/5162: #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3223 [inline] #0: ffff888015078948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3329 #1: ffffc900051dfd00 (key_gc_work ){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3224 [inline] ){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3329 #2: ffffffff8e339338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8e339338 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:939 2 locks held by syz.0.1039/10114: #0: ffff88802d3a5c48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x24e/0x310 fs/file.c:1191 #1: ffff88805d937480 (&type->i_mutex_dir_key#15){++++}-{3:3}, at: wrap_directory_iterator+0x5d/0xe0 fs/readdir.c:56 5 locks held by syz.2.1060/10341: 2 locks held by syz.2.1060/10343: #0: ffff88807f816420 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:409 #1: ffff88805ff3a658 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:791 [inline] #1: ffff88805ff3a658 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: process_measurement+0x43c/0x1fb0 security/integrity/ima/ima_main.c:250 4 locks held by syz-executor/11870: 2 locks held by sed/12211: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.10.0-rc5-syzkaller-00175-g6d6444ba8205 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:379 kthread+0x2f2/0x390 kernel/kthread.c:389 ret_from_fork+0x4d/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: 11870 Comm: syz-executor Not tainted 6.10.0-rc5-syzkaller-00175-g6d6444ba8205 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 RIP: 0010:io_serial_in+0x76/0xb0 drivers/tty/serial/8250/8250_port.c:406 Code: 50 3f 5a fc 89 e9 41 d3 e6 48 83 c3 40 48 89 d8 48 c1 e8 03 42 80 3c 38 00 74 08 48 89 df e8 91 f4 bf fc 44 03 33 44 89 f2 ec <0f> b6 c0 5b 41 5e 41 5f 5d e9 e7 55 74 06 89 e9 80 e1 07 38 c1 7c RSP: 0018:ffffc900050adcd8 EFLAGS: 00000002 RAX: 1ffffffff2959c00 RBX: ffffffff94ace160 RCX: 0000000000000000 RDX: 00000000000003fd RSI: 0000000000000000 RDI: 0000000000000020 RBP: 0000000000000000 R08: ffffffff853beae6 R09: 1ffff11003ff3046 R10: dffffc0000000000 R11: ffffffff853beaa0 R12: dffffc0000000000 R13: 00000000000026ef R14: 00000000000003fd R15: dffffc0000000000 FS: 0000555568c80500(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005632723bf950 CR3: 0000000062170000 CR4: 0000000000350ef0 Call Trace: serial_in drivers/tty/serial/8250/8250.h:117 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:139 [inline] wait_for_lsr drivers/tty/serial/8250/8250_port.c:2068 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x109b/0x1770 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2928 [inline] console_flush_all+0x867/0xfd0 kernel/printk/printk.c:2994 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3063 vprintk_emit+0x5a6/0x770 kernel/printk/printk.c:2345 dev_vprintk_emit+0x2ae/0x330 drivers/base/core.c:4909 dev_printk_emit+0xdd/0x120 drivers/base/core.c:4920 __netdev_printk+0x3e0/0x4d0 net/core/dev.c:11625 netdev_info+0x122/0x170 net/core/dev.c:11680 nsim_udp_tunnel_set_port+0x2af/0x460 drivers/net/netdevsim/udp_tunnels.c:34 udp_tunnel_nic_device_sync_by_port net/ipv4/udp_tunnel_nic.c:246 [inline] __udp_tunnel_nic_device_sync+0xa21/0x1380 net/ipv4/udp_tunnel_nic.c:289 udp_tunnel_nic_device_sync net/ipv4/udp_tunnel_nic.c:312 [inline] __udp_tunnel_nic_add_port+0xc15/0xee0 net/ipv4/udp_tunnel_nic.c:531 udp_tunnel_nic_add_port include/net/udp_tunnel.h:350 [inline] udp_tunnel_notify_add_rx_port+0x30c/0x4d0 net/ipv4/udp_tunnel_core.c:127 geneve_socket_create drivers/net/geneve.c:609 [inline] geneve_sock_add+0x647/0xbc0 drivers/net/geneve.c:684 geneve_open+0xe3/0x160 drivers/net/geneve.c:726 __dev_open+0x2d5/0x450 net/core/dev.c:1472 __dev_change_flags+0x1e2/0x6f0 net/core/dev.c:8781 dev_change_flags+0x8b/0x1a0 net/core/dev.c:8853 do_setlink+0xccd/0x41f0 net/core/rtnetlink.c:2900 __rtnl_newlink net/core/rtnetlink.c:3696 [inline] rtnl_newlink+0x180b/0x20a0 net/core/rtnetlink.c:3743 rtnetlink_rcv_msg+0x89d/0x1180 net/core/rtnetlink.c:6635 netlink_rcv_skb+0x1e5/0x430 net/netlink/af_netlink.c:2564 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x7ec/0x980 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x8db/0xcb0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x223/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2192 __do_sys_sendto net/socket.c:2204 [inline] __se_sys_sendto net/socket.c:2200 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2200 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4f17f778bc Code: 2a 5a 02 00 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 44 8b 54 24 28 48 8b 54 24 18 b8 2c 00 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 34 89 ef 48 89 44 24 08 e8 70 5a 02 00 48 8b RSP: 002b:00007fff31af8490 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007f4f18c34620 RCX: 00007f4f17f778bc RDX: 000000000000002c RSI: 00007f4f18c34670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff31af84e4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f4f18c34670 R15: 0000000000000000