INFO: task syz.2.395:9596 blocked for more than 143 seconds. Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.395 state:D stack:24280 pid:9596 tgid:9595 ppid:9151 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1580 inode_lock include/linux/fs.h:800 [inline] vfs_rename+0x6cb/0xf00 fs/namei.c:4931 do_renameat2+0xd94/0x13f0 fs/namei.c:5123 __do_sys_rename fs/namei.c:5170 [inline] __se_sys_rename fs/namei.c:5168 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5168 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:0x7fe99fd79ef9 RSP: 002b:00007fe9a0b7e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fe99ff15f80 RCX: 00007fe99fd79ef9 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000020000140 RBP: 00007fe99fde793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe99ff15f80 R15: 00007ffe82453798 INFO: task syz.2.395:9601 blocked for more than 144 seconds. Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.395 state:D stack:25376 pid:9601 tgid:9595 ppid:9151 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1528 inode_lock_shared include/linux/fs.h:810 [inline] lookup_slow+0x45/0x70 fs/namei.c:1734 walk_component fs/namei.c:2039 [inline] link_path_walk+0x99b/0xea0 fs/namei.c:2404 path_parentat fs/namei.c:2613 [inline] __filename_parentat+0x263/0x6f0 fs/namei.c:2637 filename_parentat fs/namei.c:2655 [inline] do_renameat2+0x3b8/0x13f0 fs/namei.c:5035 __do_sys_rename fs/namei.c:5170 [inline] __se_sys_rename fs/namei.c:5168 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:5168 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:0x7fe99fd79ef9 RSP: 002b:00007fe9a0b5d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fe99ff16058 RCX: 00007fe99fd79ef9 RDX: 0000000000000000 RSI: 0000000020000440 RDI: 0000000020000000 RBP: 00007fe99fde793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe99ff16058 R15: 00007ffe82453798 INFO: task syz.2.395:9602 blocked for more than 144 seconds. Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.395 state:D stack:25776 pid:9602 tgid:9595 ppid:9151 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common kernel/locking/rwsem.c:1306 [inline] __down_write kernel/locking/rwsem.c:1315 [inline] down_write+0x1d7/0x220 kernel/locking/rwsem.c:1580 inode_lock include/linux/fs.h:800 [inline] open_last_lookups fs/namei.c:3644 [inline] path_openat+0x7fb/0x3470 fs/namei.c:3883 do_filp_open+0x235/0x490 fs/namei.c:3913 do_sys_openat2+0x13e/0x1d0 fs/open.c:1416 do_sys_open fs/open.c:1431 [inline] __do_sys_openat fs/open.c:1447 [inline] __se_sys_openat fs/open.c:1442 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1442 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:0x7fe99fd79ef9 RSP: 002b:00007fe9a0b3c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fe99ff16130 RCX: 00007fe99fd79ef9 RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fe99fde793e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fe99ff16130 R15: 00007ffe82453798 Showing all locks held in the system: 3 locks held by kworker/1:0/25: #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015480948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc900001f7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900001f7d00 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffff88802e34d240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 1 lock held by khungtaskd/30: #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626 3 locks held by kworker/u8:4/63: #0: ffff8880b923e998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560 #1: ffffc900015e7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc900015e7d00 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #2: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #2: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] #2: ffffffff8e738320 (rcu_read_lock){....}-{1:2}, at: batadv_nc_worker+0xcb/0x610 net/batman-adv/network-coding.c:719 1 lock held by syslogd/4658: #0: ffff8880b923e998 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:560 2 locks held by getty/4977: #0: ffff88802b3b60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211 6 locks held by syz.2.395/9596: #0: ffff8880123ea420 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff8880123ea730 (&type->s_vfs_rename_key#7){+.+.}-{3:3}, at: lock_rename fs/namei.c:3151 [inline] #1: ffff8880123ea730 (&type->s_vfs_rename_key#7){+.+.}-{3:3}, at: do_renameat2+0x5cf/0x13f0 fs/namei.c:5058 #2: ffff888060afa9b0 (&sb->s_type->i_mutex_key#20/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:835 [inline] #2: ffff888060afa9b0 (&sb->s_type->i_mutex_key#20/1){+.+.}-{3:3}, at: lock_two_directories+0x1a8/0x220 fs/namei.c:3127 #3: ffff888060afb030 (&sb->s_type->i_mutex_key#20/5){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:835 [inline] #3: ffff888060afb030 (&sb->s_type->i_mutex_key#20/5){+.+.}-{3:3}, at: lock_two_directories+0x1d1/0x220 fs/namei.c:3128 #4: ffff888060afb6b0 (&sb->s_type->i_mutex_key#20/2){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:835 [inline] #4: ffff888060afb6b0 (&sb->s_type->i_mutex_key#20/2){+.+.}-{3:3}, at: vfs_rename+0x658/0xf00 fs/namei.c:4929 #5: ffff888060afb030 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: inode_lock include/linux/fs.h:800 [inline] #5: ffff888060afb030 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: vfs_rename+0x6cb/0xf00 fs/namei.c:4931 1 lock held by syz.2.395/9601: #0: ffff888060afa9b0 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:810 [inline] #0: ffff888060afa9b0 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1734 2 locks held by syz.2.395/9602: #0: ffff8880123ea420 (sb_writers#13){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:515 #1: ffff888060afa9b0 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: inode_lock include/linux/fs.h:800 [inline] #1: ffff888060afa9b0 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: open_last_lookups fs/namei.c:3644 [inline] #1: ffff888060afa9b0 (&sb->s_type->i_mutex_key#20){++++}-{3:3}, at: path_openat+0x7fb/0x3470 fs/namei.c:3883 1 lock held by syz-executor/11033: #0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:328 [inline] #0: ffffffff8e73d6f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x451/0x830 kernel/rcu/tree_exp.h:958 7 locks held by syz-executor/11252: 2 locks held by dhcpcd-run-hook/11573: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 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+0xff4/0x1040 kernel/hung_task.c:379 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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 11252 Comm: syz-executor Not tainted 6.11.0-rc5-syzkaller-00176-g20371ba12063 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:delay_tsc+0x5c/0xe0 arch/x86/lib/delay.c:79 Code: 90 48 89 d5 48 c1 e5 20 48 09 c5 48 29 dd 4c 39 f5 73 67 bf 01 00 00 00 e8 61 60 b6 f5 65 8b 05 c2 36 57 74 85 c0 74 2f f3 90 01 00 00 00 e8 aa 5e b6 f5 e8 e5 f7 03 00 41 39 c7 75 20 0f 01 RSP: 0018:ffffc900098166b8 EFLAGS: 00000002 RAX: 0000000000000002 RBX: 00000124ca7a90e5 RCX: 0000000000000003 RDX: 0000000000000124 RSI: ffffffff8c3faf20 RDI: 0000000000000001 RBP: 00000000000001b6 R08: ffffffff85374baa R09: 1ffff11003fd1046 R10: dffffc0000000000 R11: ffffffff8bac9fb0 R12: dffffc0000000000 R13: 00000000000026ea R14: 0000000000000899 R15: 0000000000000001 FS: 00005555806c3500(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc9e0adfe8 CR3: 00000000562d6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: wait_for_lsr drivers/tty/serial/8250/8250_port.c:2074 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3315 [inline] serial8250_console_write+0x104e/0x1770 drivers/tty/serial/8250/8250_port.c:3393 console_emit_next_record kernel/printk/printk.c:2983 [inline] console_flush_all+0x865/0xfd0 kernel/printk/printk.c:3049 console_unlock+0x13b/0x4d0 kernel/printk/printk.c:3118 vprintk_emit+0x5dc/0x7c0 kernel/printk/printk.c:2348 _printk+0xd5/0x120 kernel/printk/printk.c:2373 batadv_check_known_mac_addr+0x2bd/0x410 net/batman-adv/hard-interface.c:528 batadv_hard_if_event+0x3a5/0x1620 net/batman-adv/hard-interface.c:998 notifier_call_chain+0x19f/0x3e0 kernel/notifier.c:93 call_netdevice_notifiers_extack net/core/dev.c:2032 [inline] call_netdevice_notifiers net/core/dev.c:2046 [inline] dev_set_mac_address+0x3d9/0x510 net/core/dev.c:9101 dev_set_mac_address_user+0x31/0x50 net/core/dev.c:9115 do_setlink+0x8b6/0x41f0 net/core/rtnetlink.c:2855 __rtnl_newlink net/core/rtnetlink.c:3696 [inline] rtnl_newlink+0x180d/0x20a0 net/core/rtnetlink.c:3743 rtnetlink_rcv_msg+0x73f/0xcf0 net/core/rtnetlink.c:6647 netlink_rcv_skb+0x1e3/0x430 net/netlink/af_netlink.c:2550 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x7f6/0x990 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8e4/0xcb0 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg+0x221/0x270 net/socket.c:745 __sys_sendto+0x3a4/0x4f0 net/socket.c:2204 __do_sys_sendto net/socket.c:2216 [inline] __se_sys_sendto net/socket.c:2212 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2212 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:0x7fc821f7bd8c 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:00007fff9a151a90 EFLAGS: 00000293 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fc822c44620 RCX: 00007fc821f7bd8c RDX: 000000000000002c RSI: 00007fc822c44670 RDI: 0000000000000003 RBP: 0000000000000000 R08: 00007fff9a151ae4 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000000 R14: 00007fc822c44670 R15: 0000000000000000