INFO: task hung in tracing_open_file_tr

Status: upstream: reported on 2026/10/07 18:35
Reported-by: syzbot+633a09477d9f431e9d60@syzkaller.appspotmail.com
First crash: 13d, last: 13d
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in tracing_open_file_tr origin:lts-only 1 syz 9 14d 67d 0/3 upstream: reported syz repro on 2026/08/14 20:56

Sample crash report:
INFO: task syz.6.310:5776 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.6.310       state:D
 stack:26160 pid: 5776 ppid:  5282 flags:0x00004204
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5049 [inline]
 __schedule+0x11c3/0x4350 kernel/sched/core.c:6395
 schedule+0x11b/0x1e0 kernel/sched/core.c:6478
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6537
 __mutex_lock_common+0xdf5/0x2400 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 trace_array_get kernel/trace/trace.c:451 [inline]
 tracing_check_open_get_tr kernel/trace/trace.c:501 [inline]
 tracing_open_file_tr+0xab/0x2f0 kernel/trace/trace.c:4876
 do_dentry_open+0x7f7/0xf90 fs/open.c:826
 do_open fs/namei.c:3659 [inline]
 path_openat+0x2718/0x2fb0 fs/namei.c:3793
 do_filp_open+0x1df/0x400 fs/namei.c:3820
 do_sys_openat2+0x14b/0x500 fs/open.c:1255
 do_sys_open fs/open.c:1271 [inline]
 __do_sys_openat fs/open.c:1287 [inline]
 __se_sys_openat fs/open.c:1282 [inline]
 __x64_sys_openat+0x135/0x160 fs/open.c:1282
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f27f5aff199
RSP: 002b:00007f27f3d36028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f27f5d87090 RCX: 00007f27f5aff199
RDX: 0000000000000002 RSI: 0000200000000200 RDI: ffffffffffffff9c
RBP: 00007f27f5b968e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f27f5d87128 R14: 00007f27f5d87090 R15: 00007ffe0e46f6a8
 </TASK>

Showing all locks held in the system:
4 locks held by kworker/u4:0/9:
1 lock held by khungtaskd/27:
 #0: ffffffff8c31efa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by klogd/3547:
3 locks held by udevd/3558:
1 lock held by dhcpcd/3851:
 #0: ffffffff8d44d808 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d44d808 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x79f/0xf10 net/core/rtnetlink.c:5695
2 locks held by getty/3958:
 #0: ffff88814ce5b098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
 #1: ffffc90002cf62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x594/0x1a50 drivers/tty/n_tty.c:2158
1 lock held by syz-executor/4173:
3 locks held by kworker/u4:10/4281:
 #0: 
ffff888016c79138
 (
(wq_completion)events_unbound
){+.+.}-{0:0}
, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
 #1: 
ffffc9000330fd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
 #2: ffffffff8d44d808 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251
3 locks held by kworker/1:9/4313:
 #0: 
ffff888016c70938
 (
(wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
 #1: ffffc9000337fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
 #2: 
ffffffff8c323a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
ffffffff8c323a28 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a5/0x750 kernel/rcu/tree_exp.h:845
4 locks held by syz.2.35/4462:
3 locks held by kworker/0:16/4612:
7 locks held by kworker/1:20/5500:
2 locks held by kworker/1:21/5717:
 #0: ffff888016c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
 #1: ffffc9000365fd00 (free_ipc_work){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
1 lock held by syz.6.310/5776:
 #0: ffffffff8c3615a8 (trace_types_lock){+.+.}-{3:3}, at: trace_array_get kernel/trace/trace.c:451 [inline]
 #0: ffffffff8c3615a8 (trace_types_lock){+.+.}-{3:3}, at: tracing_check_open_get_tr kernel/trace/trace.c:501 [inline]
 #0: ffffffff8c3615a8 (trace_types_lock){+.+.}-{3:3}, at: tracing_open_file_tr+0xab/0x2f0 kernel/trace/trace.c:4876
1 lock held by syz-executor/7228:
4 locks held by syz.7.575/7262:
 #0: ffff88807b75d3f0 (&hdev->req_lock){+.+.}-{3:3}, at: hci_dev_do_close+0x5f/0x1020 net/bluetooth/hci_core.c:1755
 #1: ffff88807b75c478 (&hdev->lock){+.+.}-{3:3}, at: hci_dev_do_close+0x408/0x1020 net/bluetooth/hci_core.c:1800
 #2: ffffffff8d594a88 (hci_cb_list_lock){+.+.}-{3:3}
, at: hci_disconn_cfm include/net/bluetooth/hci_core.h:1519 [inline]
, at: hci_conn_hash_flush+0xa4/0x220 net/bluetooth/hci_conn.c:1622
 #3: 
ffffffff8c323a28
 (
rcu_state.exp_mutex
){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline]
){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3a5/0x750 kernel/rcu/tree_exp.h:845
2 locks held by kworker/1:22/7308:
 #0: ffff888016c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x75c/0xff0 kernel/workqueue.c:-1
 #1: 
ffffc90002f5fd00
 (
(work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x79e/0xff0 kernel/workqueue.c:2285
1 lock held by syz.2.604/7427:
 #0: ffffffff966dea58 (nfnl_subsys_ipset){+.+.}-{3:3}, at: call_ad+0x284/0x9a0 net/netfilter/ipset/ip_set_core.c:1761
1 lock held by syz-executor/7421:
 #0: ffffffff8d44d808 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
 #0: ffffffff8d44d808 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x79f/0xf10 net/core/rtnetlink.c:5695
1 lock held by syz.8.607/7447:
 #0: 
ffffffff8d44d808
 (
rtnl_mutex
){+.+.}-{3:3}
, at: rtnl_lock net/core/rtnetlink.c:72 [inline]
, at: rtnetlink_rcv_msg+0x79f/0xf10 net/core/rtnetlink.c:5695

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

NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a2/0x3d0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
 watchdog+0xe1b/0xe60 kernel/hung_task.c:369
 kthread+0x42e/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7228 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026
RIP: 0010:kasan_check_range+0x1b0/0x290 mm/kasan/generic.c:-1
Code: f3 4d 01 f3 49 89 df 49 8d 5f 07 4d 85 ff 49 0f 49 df 48 83 e3 f8 49 29 df 74 0e 41 80 3b 00 75 69 49 ff c3 49 ff cf 75 f2 5b <41> 5c 41 5e 41 5f 5d c3 45 84 ff 0f 85 91 00 00 00 41 f7 c7 00 ff
RSP: 0018:ffffc90003c8e478 EFLAGS: 00000256
RAX: fffff52000791c01 RBX: 0000000000000030 RCX: ffffffff816037f1
RDX: 0000000000000001 RSI: 0000000000000030 RDI: ffffc90003c8e540
RBP: 0000000000000000 R08: ffffc90003c8e56f R09: 1ffff92000791cad
R10: dffffc0000000000 R11: fffff52000791cae R12: dffffc0000000001
R13: ffffc90003c8e540 R14: 1ffff92000791ca8 R15: 0000000000000006
FS:  0000555578897500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555b3a44e8 CR3: 000000004e9fb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 memset+0x1e/0x40 mm/kasan/shadow.c:44
 record_print_text kernel/printk/printk.c:1335 [inline]
 console_unlock+0x631/0x10f0 kernel/printk/printk.c:2725
 vprintk_emit+0xc0/0x150 kernel/printk/printk.c:2274
 _printk+0xda/0x130 kernel/printk/printk.c:2299
 __dynamic_pr_debug+0x196/0x240 lib/dynamic_debug.c:619
 ensure_safe_net_sysctl net/sysctl_net.c:134 [inline]
 register_net_sysctl+0x299/0x350 net/sysctl_net.c:167
 neigh_sysctl_register+0x9b2/0xa90 net/core/neighbour.c:3718
 addrconf_sysctl_register+0xac/0x1b0 net/ipv6/addrconf.c:7172
 addrconf_notify+0x7cb/0xf20 net/ipv6/addrconf.c:3723
 notifier_call_chain kernel/notifier.c:83 [inline]
 raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391
 call_netdevice_notifiers_extack net/core/dev.c:2074 [inline]
 call_netdevice_notifiers net/core/dev.c:2088 [inline]
 dev_change_name+0x676/0xc10 net/core/dev.c:1345
 do_setlink+0x9e7/0x29d0 net/core/rtnetlink.c:2773
 __rtnl_newlink net/core/rtnetlink.c:3464 [inline]
 rtnl_newlink+0x15bb/0x1920 net/core/rtnetlink.c:3586
 rtnetlink_rcv_msg+0x7f1/0xf10 net/core/rtnetlink.c:5698
 netlink_rcv_skb+0x1e9/0x430 net/netlink/af_netlink.c:2519
 netlink_unicast_kernel net/netlink/af_netlink.c:1314 [inline]
 netlink_unicast+0x78f/0x940 net/netlink/af_netlink.c:1340
 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1919
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 __sys_sendto+0x46d/0x620 net/socket.c:2073
 __do_sys_sendto net/socket.c:2085 [inline]
 __se_sys_sendto net/socket.c:2081 [inline]
 __x64_sys_sendto+0xda/0xf0 net/socket.c:2081
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f86541279ce
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 <c3> 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007ffc5dc3cfe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000555578897500 RCX: 00007f86541279ce
RDX: 0000000000000030 RSI: 00007f8654f1c610 RDI: 0000000000000006
RBP: 0000000000000001 R08: 00007ffc5dc3d064 R09: 000000000000000c
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006
R13: 0000000000000000 R14: 00007f8654f1c610 R15: 0000000000000000
 </TASK>
kcov: kcov_remote_start: handle = 10000000000000a, context: softirq
kcov: kcov_start: t = ffff888017a08000, size = 262144, area = ffffc90002049000
kcov: kcov_move_area: ffffc9001925d000 1048576 <= ffffc90002049000 51
kcov: kcov_remote_start: handle = 10000000000000a, context: softirq
kcov: kcov_start: t = ffff88807ae9bb80, size = 262144, area = ffffc90002049000
kcov: kcov_move_area: ffffc9001925d000 1048576 <= ffffc90002049000 33
virtqueue callback for ffff888147c35d00 (ffffffff8506e140)
sd 0:0:1:0: cmd ffff8880237a8928 response 0 status 0x0 sense_len 0
sd 0:0:1:0: cmd ffff8880237a8d28 response 0 status 0x0 sense_len 0
sd 0:0:1:0: cmd ffff8880237a7d28 response 0 status 0x0 sense_len 0
sd 0:0:1:0: cmd ffff8880237a7928 response 0 status 0x0 sense_len 0
No more buffers in queue
virtqueue callback for ffff888147c35d00 (ffffffff8506e140)
sd 0:0:1:0: cmd ffff8880237a8128 response 0 status 0x0 sense_len 0
No more buffers in queue
virtqueue callback for ffff888147c35d00 (ffffffff8506e140)
sd 0:0:1:0: cmd ffff8880237a8528 response 0 status 0x0 sense_len 0
No more buffers in queue

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/07 18:35 linux-5.15.y a051a4bf909f 6520ecdb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in tracing_open_file_tr
* Struck through repros no longer work on HEAD.