INFO: task syz.4.909:8188 blocked for more than 143 seconds. Not tainted 5.15.173-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.4.909 state:D stack:26432 pid: 8188 ppid: 4171 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6515 rwsem_down_read_slowpath+0x605/0xb40 kernel/locking/rwsem.c:1055 __down_read_common kernel/locking/rwsem.c:1239 [inline] __down_read kernel/locking/rwsem.c:1252 [inline] down_read+0x9a/0x2e0 kernel/locking/rwsem.c:1500 inode_lock_shared include/linux/fs.h:799 [inline] open_last_lookups fs/namei.c:3531 [inline] path_openat+0x815/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:0x7fcb48108ed9 RSP: 002b:00007fcb45f3d058 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007fcb482cf160 RCX: 00007fcb48108ed9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000080 RBP: 00007fcb4817ccc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcb482cf160 R15: 00007fffdc8d72c8 Showing all locks held in the system: 3 locks held by kworker/0:1/13: #0: ffff88802b326538 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000d27d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8dc41388 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x1720 net/ipv6/addrconf.c:4113 1 lock held by khungtaskd/27: #0: ffffffff8cb1fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 1 lock held by kworker/u4:2/154: 2 locks held by kworker/u4:5/1271: #0: ffff888017479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90004b37d20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 1 lock held by udevd/3547: #0: ffff888020a4e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x14d/0xa50 block/bdev.c:817 2 locks held by getty/3929: #0: ffff88802c659098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900025c62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 2 locks held by syz-executor/4173: #0: ffff888020925918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff888020a1b468 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0xa9/0xbe0 drivers/block/loop.c:1365 3 locks held by kworker/u4:9/4404: 2 locks held by syz.4.909/8187: 1 lock held by syz.4.909/8188: #0: ffff88805f6b0188 (&type->i_mutex_dir_key#23){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff88805f6b0188 (&type->i_mutex_dir_key#23){++++}-{3:3}, at: open_last_lookups fs/namei.c:3531 [inline] #0: ffff88805f6b0188 (&type->i_mutex_dir_key#23){++++}-{3:3}, at: path_openat+0x815/0x2f20 fs/namei.c:3739 2 locks held by syz-executor/8304: 3 locks held by kworker/1:5/9045: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc9000338fd20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888061618240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1480 1 lock held by syz-executor/9333: #0: ffffffff8dc41388 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8dc41388 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5644 2 locks held by syz.5.1133/9469: #0: ffff888020a4e518 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x790 block/bdev.c:912 #1: ffff888020aea468 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_release+0x4d/0x1f0 drivers/block/loop.c:2070 4 locks held by syz.6.1136/9470: #0: ffffffff8dc9eaf0 (cb_lock){++++}-{3:3}, at: genl_rcv+0x15/0x40 net/netlink/genetlink.c:802 #1: ffff888057f72690 (nlk_cb_mutex-GENERIC){+.+.}-{3:3}, at: __netlink_dump_start+0x12e/0x6d0 net/netlink/af_netlink.c:2349 #2: ffffffff8dc9e9a8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:33 [inline] #2: ffffffff8dc9e9a8 (genl_mutex){+.+.}-{3:3}, at: genl_lock_dumpit+0x47/0x90 net/netlink/genetlink.c:614 #3: ffffffff8dc41388 (rtnl_mutex){+.+.}-{3:3}, at: macsec_dump_txsc+0x95/0x260 drivers/net/macsec.c:3290 6 locks held by syz.6.1136/9472: #0: ffffffff8c9fc520 (console_lock){+.+.}-{0:0}, at: tioclinux+0x13f/0x3f0 drivers/tty/vt/vt.c:3207 #1: ffff88801e6d7a78 (&helper->lock){+.+.}-{3:3}, at: drm_fb_helper_pan_display+0xb8/0xc00 drivers/gpu/drm/drm_fb_helper.c:1483 #2: ffff88801e5dc1a8 (&dev->master_mutex){+.+.}-{3:3}, at: drm_master_internal_acquire+0x1c/0x70 drivers/gpu/drm/drm_auth.c:453 #3: ffff88801e6d7898 (&client->modeset_mutex){+.+.}-{3:3}, at: drm_client_modeset_commit_locked+0x4c/0x510 drivers/gpu/drm/drm_client_modeset.c:1156 #4: ffffc9000321f590 (crtc_ww_class_acquire){+.+.}-{0:0}, at: drm_client_modeset_commit_atomic+0xc3/0x7b0 drivers/gpu/drm/drm_client_modeset.c:994 #5: ffff88801e5dcda8 (crtc_ww_class_mutex){+.+.}-{3:3}, at: ww_mutex_lock_slow include/linux/ww_mutex.h:301 [inline] #5: ffff88801e5dcda8 (crtc_ww_class_mutex){+.+.}-{3:3}, at: modeset_lock+0x2c7/0x5f0 drivers/gpu/drm/drm_modeset_lock.c:260 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __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 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 154 Comm: kworker/u4:2 Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:__kasan_check_read+0x0/0x10 mm/kasan/shadow.c:31 Code: d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 c7 c7 57 e0 3c 8c eb 0a 48 c7 c7 8f e0 3c 8c 4c 89 fe e8 66 25 73 08 31 db eb d7 cc cc <89> f6 48 8b 0c 24 31 d2 e9 63 ef ff ff 0f 1f 00 89 f6 48 8b 0c 24 RSP: 0018:ffffc90001ff7a78 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8e0a58a8 RBP: ffffc90001ff7bd8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff920003fef58 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888019fbd380 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055556764a648 CR3: 0000000069a6b000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:71 [inline] test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] cpumask_test_cpu include/linux/cpumask.h:344 [inline] cpu_online include/linux/cpumask.h:895 [inline] trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xcc/0x4f0 kernel/locking/lockdep.c:5594 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:312 rcu_read_lock include/linux/rcupdate.h:739 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0xc1/0x5b0 net/batman-adv/network-coding.c:723 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