[v5.15] INFO: task hung in nfc_targets_found

3 views
Skip to first unread message

syzbot

unread,
Apr 18, 2023, 5:11:54 PM4/18/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 4fdad925aa1a Linux 5.15.107
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12f394e0280000
kernel config: https://syzkaller.appspot.com/x/.config?x=d9bc1b227ee6c412
dashboard link: https://syzkaller.appspot.com/bug?extid=0abed2617c7ddfbc3bc6
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/6a7f3b0f6a27/disk-4fdad925.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/db34418039b7/vmlinux-4fdad925.xz
kernel image: https://storage.googleapis.com/syzbot-assets/4e96525a950a/bzImage-4fdad925.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+0abed2...@syzkaller.appspotmail.com

INFO: task kworker/u4:0:9 blocked for more than 148 seconds.
Not tainted 5.15.107-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/u4:0 state:D stack:19520 pid: 9 ppid: 2 flags:0x00004000
Workqueue: nfc2_nci_rx_wq nci_rx_work
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6514
__mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
device_lock include/linux/device.h:760 [inline]
nfc_targets_found+0x26b/0x580 net/nfc/core.c:778
nci_ntf_packet+0x430f/0x4e00
nci_rx_work+0xf7/0x260 net/nfc/nci/core.c:1517
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306
worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>
INFO: task kworker/1:14:3886 blocked for more than 150 seconds.
Not tainted 5.15.107-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:14 state:D stack:23808 pid: 3886 ppid: 2 flags:0x00004000
Workqueue: events nfc_urelease_event_work
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6514
__mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
__mutex_lock kernel/locking/mutex.c:729 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
nci_request net/nfc/nci/core.c:148 [inline]
nci_stop_poll+0x11f/0x480 net/nfc/nci/core.c:872
nfc_stop_poll+0xe6/0x220 net/nfc/core.c:259
nfc_urelease_event_work+0x162/0x2f0 net/nfc/netlink.c:1826
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306
worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>
INFO: task syz-executor.4:5657 blocked for more than 150 seconds.
Not tainted 5.15.107-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:23128 pid: 5657 ppid: 3637 flags:0x00004006
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5026 [inline]
__schedule+0x12c4/0x4590 kernel/sched/core.c:6372
schedule+0x11b/0x1f0 kernel/sched/core.c:6455
schedule_timeout+0xac/0x300 kernel/time/timer.c:1860
do_wait_for_common+0x2d9/0x480 kernel/sched/completion.c:85
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x48/0x60 kernel/sched/completion.c:138
flush_workqueue+0x737/0x1610 kernel/workqueue.c:2878
nci_close_device+0x185/0x5f0 net/nfc/nci/core.c:578
nci_unregister_device+0x3c/0x230 net/nfc/nci/core.c:1295
virtual_ncidev_close+0x55/0x90 drivers/nfc/virtual_ncidev.c:166
__fput+0x3bf/0x890 fs/file_table.c:280
task_work_run+0x129/0x1a0 kernel/task_work.c:164
get_signal+0x143a/0x14e0 kernel/signal.c:2661
arch_do_signal_or_restart+0xc3/0x1890 arch/x86/kernel/signal.c:865
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop+0x97/0x130 kernel/entry/common.c:172
exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:208
__syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
syscall_exit_to_user_mode+0x5d/0x250 kernel/entry/common.c:301
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7ff4efd05169
RSP: 002b:00007ff4ee277168 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: fffffffffffffff2 RBX: 00007ff4efe24f80 RCX: 00007ff4efd05169
RDX: 0000000000000064 RSI: 0000000020000840 RDI: 0000000000000003
RBP: 00007ff4efd60ca1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffcffcffd4f R14: 00007ff4ee277300 R15: 0000000000022000
</TASK>

Showing all locks held in the system:
3 locks held by kworker/0:0/7:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90000cc7d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/u4:0/9:
#0: ffff888016dca138 ((wq_completion)nfc2_nci_rx_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90000ce7d20 ((work_completion)(&ndev->rx_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffff888026bdd190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff888026bdd190 (&dev->mutex){....}-{3:3}, at: nfc_targets_found+0x26b/0x580 net/nfc/core.c:778
3 locks held by kworker/0:1/13:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90000d27d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:0/21:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90000db7d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
1 lock held by khungtaskd/27:
#0: ffffffff8c91b920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
4 locks held by kworker/u4:3/155:
#0: ffff888011db5138 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90001dbfd20 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8d9c7f50 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0xf1/0xb60 net/core/net_namespace.c:558
#3: ffffffff8d9d3ca8 (rtnl_mutex){+.+.}-{3:3}, at: tc_action_net_exit include/net/act_api.h:155 [inline]
#3: ffffffff8d9d3ca8 (rtnl_mutex){+.+.}-{3:3}, at: gate_exit_net+0x2c/0x100 net/sched/act_gate.c:624
3 locks held by kworker/1:2/1065:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc9000512fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
2 locks held by getty/3261:
#0: ffff888024c6f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147
3 locks held by kworker/0:3/3684:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc9000471fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:4/3685:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc9000472fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
4 locks held by kworker/1:6/3687:
#0: ffff8880b9b39698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475
#1: ffff8880b9b27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4e1/0x810 kernel/sched/psi.c:882
#2: ffff8880b9b28098 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 kernel/time/timer.c:946
#3: ffffffff915fe058 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x97/0x690 lib/debugobjects.c:668
3 locks held by kworker/1:8/3689:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc9000476fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:4/3690:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc9000477fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:5/3691:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc9000479fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:6/3729:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004d57d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:7/3730:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc9000304fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:8/3736:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004db7d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:9/3826:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc9000117fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:11/3830:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc900010ffd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:10/3880:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004eb7d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:11/3881:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004ec7d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:12/3884:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004f3fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
6 locks held by kworker/1:14/3886:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004f6fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
#3: ffff888026bdd5d0 (&genl_data->genl_data_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0x113/0x2f0 net/nfc/netlink.c:1823
#4: ffff888026bdd190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#4: ffff888026bdd190 (&dev->mutex){....}-{3:3}, at: nfc_stop_poll+0x38/0x220 net/nfc/core.c:247
#5: ffff888026bda350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_request net/nfc/nci/core.c:148 [inline]
#5: ffff888026bda350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_stop_poll+0x11f/0x480 net/nfc/nci/core.c:872
3 locks held by kworker/1:15/3887:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004f8fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:16/3888:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004f9fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:17/3889:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004fbfd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:18/3890:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004fcfd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:19/3929:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90005237d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
1 lock held by syz-executor.4/5657:
#0: ffff888026bda350 (&ndev->req_lock){+.+.}-{3:3}, at: nci_close_device+0x106/0x5f0 net/nfc/nci/core.c:560
3 locks held by kworker/0:12/7108:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90005c17d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:13/7711:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004e97d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:14/7712:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004ed7d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/0:15/7714:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90004f0fd20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
3 locks held by kworker/1:22/7861:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc900052b7d20 (fqdir_free_work){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8c91fd70 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:3994
3 locks held by kworker/1:23/7863:
#0: ffff888011c64d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc900052d7d20 ((work_completion)(&w->w)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
#2: ffffffff8dca7068 (nfc_devlist_mutex){+.+.}-{3:3}, at: nfc_urelease_event_work+0xa9/0x2f0 net/nfc/netlink.c:1817
2 locks held by kworker/0:28/7907:
#0: ffff888011c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2279
#1: ffffc90005477d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2281
3 locks held by syz-executor.3/7961:
#0: ffffffff8d9c7f50 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x37b/0x5d0 net/core/net_namespace.c:469
#1: ffffffff8d9d3ca8 (rtnl_mutex){+.+.}-{3:3}, at: ip6_tnl_exit_batch_net+0xc0/0x5e0 net/ipv6/ip6_tunnel.c:2309
#2: ffffffff8c91fe68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline]
#2: ffffffff8c91fe68 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x280/0x740 kernel/rcu/tree_exp.h:840

=============================================

NMI backtrace for cpu 1
CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e3/0x2cb 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:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5795 Comm: kworker/u4:19 Not tainted 5.15.107-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023
Workqueue: phy16 ieee80211_iface_work
RIP: 0010:mark_held_locks kernel/locking/lockdep.c:4184 [inline]
RIP: 0010:__trace_hardirqs_on_caller kernel/locking/lockdep.c:4210 [inline]
RIP: 0010:lockdep_hardirqs_on_prepare+0x255/0x7a0 kernel/locking/lockdep.c:4277
Code: 8b 44 24 10 48 8d 98 20 0a 00 00 4c 8d a0 40 0a 00 00 45 31 ed 49 83 fd 31 0f 83 a5 00 00 00 4c 89 e0 48 c1 e8 03 0f b6 04 10 <84> c0 75 54 8b 43 20 a9 00 00 04 00 74 2c 31 d2 a9 00 00 03 00 0f
RSP: 0018:ffffc900050ff980 EFLAGS: 00000806
RAX: 0000000000000000 RBX: ffff88801e3b4420 RCX: ffffffff913aef03
RDX: dffffc0000000000 RSI: ffffffff8a8afee0 RDI: ffffffff8ad85240
RBP: ffffc900050ffa28 R08: ffffffff81862a70 R09: ffffc900050ff770
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88801e3b4440
R13: 0000000000000000 R14: ffff88801e3b4418 R15: 1ffff11003c76883
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0108d2008 CR3: 0000000079f04000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
trace_hardirqs_on+0x67/0x80 kernel/trace/trace_preemptirq.c:49
kasan_quarantine_put+0xd4/0x220 mm/kasan/quarantine.c:231
kasan_slab_free include/linux/kasan.h:230 [inline]
slab_free_hook mm/slub.c:1705 [inline]
slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731
slab_free mm/slub.c:3499 [inline]
kfree+0xf1/0x270 mm/slub.c:4559
skb_free_head net/core/skbuff.c:655 [inline]
skb_release_data+0x73a/0x8a0 net/core/skbuff.c:677
skb_release_all net/core/skbuff.c:742 [inline]
__kfree_skb net/core/skbuff.c:756 [inline]
kfree_skb_reason+0xb3/0x170 net/core/skbuff.c:776
kfree_skb include/linux/skbuff.h:1122 [inline]
ieee80211_iface_work+0x251/0xcc0 net/mac80211/iface.c:1497
process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2306
worker_thread+0xaca/0x1280 kernel/workqueue.c:2453
kthread+0x3f6/0x4f0 kernel/kthread.c:319
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Sep 27, 2023, 12:29:34 PM9/27/23
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages