INFO: task syz.4.6346:30158 blocked for more than 143 seconds.
Not tainted 6.12.0-rc7-syzkaller-00216-gf66d6acccbc0 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.6346 state:D stack:25008 pid:30158 tgid:30155 ppid:22527 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0x17fa/0x4bd0 kernel/sched/core.c:6693
__schedule_loop kernel/sched/core.c:6770 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6785
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2591
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common kernel/sched/completion.c:116 [inline]
wait_for_common kernel/sched/completion.c:127 [inline]
wait_for_completion+0x355/0x620 kernel/sched/completion.c:148
__flush_work+0xa37/0xc50 kernel/workqueue.c:4217
__cancel_work_sync+0xbc/0x110 kernel/workqueue.c:4337
rfkill_unregister+0x96/0x230 net/rfkill/core.c:1139
nfc_unregister_device+0x96/0x2a0 net/nfc/core.c:1167
virtual_ncidev_close+0x56/0x90 drivers/nfc/virtual_ncidev.c:172
__fput+0x23f/0x880 fs/file_table.c:431
task_work_run+0x24f/0x310 kernel/task_work.c:239
exit_task_work include/linux/task_work.h:43 [inline]
do_exit+0xa2f/0x28e0 kernel/exit.c:939
do_group_exit+0x207/0x2c0 kernel/exit.c:1088
get_signal+0x16a3/0x1740 kernel/signal.c:2918
arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218
do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc26177e719
RSP: 002b:00007fc262552038 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: 0000000000000008 RBX: 00007fc261936130 RCX: 00007fc26177e719
RDX: 0000000000000002 RSI: 0000000020000080 RDI: ffffffffffffff9c
RBP: 00007fc2617f175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fc261936130 R15: 00007ffd071c7978
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937ee0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by getty/5580:
#0: ffff8880313cb0a0 (&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+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
4 locks held by kworker/0:2/11963:
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc9000fbc7d00 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000fbc7d00 ((work_completion)(&rfkill->sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8ff98ce8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_sync_work+0x23/0x220 net/rfkill/core.c:1055
#3: ffff88802c922100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
#3: ffff88802c922100 (&dev->mutex){....}-{3:3}, at: nfc_dev_down net/nfc/core.c:143 [inline]
#3: ffff88802c922100 (&dev->mutex){....}-{3:3}, at: nfc_rfkill_set_block+0x50/0x310 net/nfc/core.c:179
1 lock held by syz-executor/22527:
#0: ffffffff8ff98ce8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145
3 locks held by kworker/1:5/25257:
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801ac80948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc9000af27d00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000af27d00 ((work_completion)(&rfkill_global_led_trigger_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8ff98ce8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_global_led_trigger_worker+0x27/0xd0 net/rfkill/core.c:182
4 locks held by kworker/u8:6/25273:
#0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88801baeb148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc9000ae97d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc9000ae97d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
#2: ffffffff8fcb4dd0 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x16a/0xcc0 net/core/net_namespace.c:580
#3: ffffffff8ff98ce8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145
2 locks held by syz-executor/30084:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
#1: ffffffff8ff98ce8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_fop_open+0x131/0x850 net/rfkill/core.c:1178
1 lock held by syz.4.6346/30158:
#0: ffff88802c922100 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:1014 [inline]
#0: ffff88802c922100 (&dev->mutex){....}-{3:3}, at: nfc_unregister_device+0x63/0x2a0 net/nfc/core.c:1165
3 locks held by syz.2.6353/30186:
#0: ffffffff8fd27610 (cb_lock){++++}-{3:3}, at: genl_rcv+0x19/0x40 net/netlink/genetlink.c:1218
#1: ffffffff8fd274c8 (genl_mutex){+.+.}-{3:3}, at: genl_lock net/netlink/genetlink.c:35 [inline]
#1: ffffffff8fd274c8 (genl_mutex){+.+.}-{3:3}, at: genl_op_lock net/netlink/genetlink.c:60 [inline]
#1: ffffffff8fd274c8 (genl_mutex){+.+.}-{3:3}, at: genl_rcv_msg+0x121/0xec0 net/netlink/genetlink.c:1209
#2: ffffffff8ff98ce8 (rfkill_global_mutex){+.+.}-{3:3}, at: rfkill_unregister+0xd0/0x230 net/rfkill/core.c:1145
1 lock held by syz.8.6355/30196:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz.6.6358/30206:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30209:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30211:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30213:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30215:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30217:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30219:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30221:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30223:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30225:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30227:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30229:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30231:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30233:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
1 lock held by syz-executor/30235:
#0: ffffffff8f17e048 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x54/0x340 drivers/char/misc.c:129
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc7-syzkaller-00216-gf66d6acccbc0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
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: 29512 Comm: kworker/u8:9 Not tainted 6.12.0-rc7-syzkaller-00216-gf66d6acccbc0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Workqueue: bat_events batadv_nc_worker
RIP: 0010:mark_usage kernel/locking/lockdep.c:4599 [inline]
RIP: 0010:__lock_acquire+0xb2f/0x2050 kernel/locking/lockdep.c:5156
Code: a9 11 00 00 83 3d 60 ab ab 0e 00 0f 84 13 09 00 00 83 7c 24 60 00 48 8b 6c 24 40 0f 84 ff 00 00 00 48 8b 5c 24 20 0f b6 04 13 <84> c0 0f 85 d7 0d 00 00 41 8b 0f f7 c1 00 80 00 00 0f 85 c5 00 00
RSP: 0018:ffffc9000358f850 EFLAGS: 00000002
RAX: 0000000000000000 RBX: 1ffff1100575fcaa RCX: ffffffff81706620
RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff9429b8d8
RBP: ffff88802bafe530 R08: ffffffff9429b8df R09: 1ffffffff285371b
R10: dffffc0000000000 R11: fffffbfff285371c R12: ffff88802bafda00
R13: ffff88802bafe4d8 R14: 0000000000000002 R15: ffff88802bafe550
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffb8c8272f4 CR3: 000000000e734000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5825
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x35/0x50 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:356 [inline]
batadv_nc_purge_paths+0xe8/0x3b0 net/batman-adv/network-coding.c:442
batadv_nc_worker+0x328/0x610 net/batman-adv/network-coding.c:720
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
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