syzbot


INFO: task hung in _free_event

Status: upstream: reported C repro on 2025/06/16 19:30
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+a88e5b05a992af96c7be@syzkaller.appspotmail.com
First crash: 358d, last: 14h38m
Bug presence (2)
Date Name Commit Repro Result
2025/08/09 linux-6.6.y (ToT) 3a8ababb8b6a C [report] INFO: task hung in _free_event
2025/08/09 upstream (ToT) 37816488247d C Didn't crash
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in _free_event perf 1 C 2 546d 569d 28/29 fixed on 2025/06/10 16:19
android-414 INFO: task hung in _free_event 1 8 2539d 2607d 0/1 auto-closed as invalid on 2019/10/26 01:49
linux-4.19 INFO: task hung in _free_event 1 1 2223d 2223d 0/1 auto-closed as invalid on 2020/09/05 20:32
linux-6.1 INFO: task hung in _free_event origin:lts-only 1 C inconclusive 1307 8h07m 647d 0/3 upstream: reported C repro on 2024/09/01 12:31
linux-5.15 INFO: task hung in _free_event 1 3 145d 213d 0/3 auto-obsoleted due to no activity on 2026/04/25 20:32
linux-4.14 INFO: task hung in _free_event 1 1 2097d 2097d 0/1 auto-closed as invalid on 2021/01/10 07:54
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/08/24 09:49 2h02m fix candidate upstream OK (0) job log

Sample crash report:
INFO: task syz.0.2071:8136 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.2071      state:D stack:26984 pid:8136  ppid:7841   flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5381 [inline]
 __schedule+0x1553/0x45a0 kernel/sched/core.c:6700
 schedule+0xbd/0x170 kernel/sched/core.c:6774
 perf_pending_task_sync kernel/events/core.c:5244 [inline]
 _free_event+0x174/0xf30 kernel/events/core.c:5250
 put_event kernel/events/core.c:5378 [inline]
 perf_event_release_kernel+0x842/0x8d0 kernel/events/core.c:5503
 perf_release+0x3b/0x40 kernel/events/core.c:5513
 __fput+0x234/0x970 fs/file_table.c:384
 task_work_run+0x1d4/0x260 kernel/task_work.c:245
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
 syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302
 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f0860b9ce59
RSP: 002b:00007ffcc415f608 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffcc415f6f0 RCX: 00007f0860b9ce59
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00000000000344f3 R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2de20000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0860e15fac R14: 00007f0860e15fa8 R15: 00007f0860e15fa0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8d132120 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8d132120 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8d132120 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
2 locks held by getty/5532:
 #0: ffff88802d0d30a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000326e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x433/0x1390 drivers/tty/n_tty.c:2217
1 lock held by syz-executor/12091:

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

NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x3a6/0x3e0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x2f0 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
 watchdog+0xf3d/0xf80 kernel/hung_task.c:379
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10843 Comm: kworker/u4:1 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:check_kcov_mode kernel/kcov.c:184 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:245 [inline]
RIP: 0010:__sanitizer_cov_trace_cmp8+0x30/0x80 kernel/kcov.c:293
Code: 04 24 65 48 8b 0d b0 87 7c 7e 65 8b 15 b1 87 7c 7e 81 e2 00 01 ff 00 74 11 81 fa 00 01 00 00 75 57 83 b9 1c 16 00 00 00 74 4e <8b> 91 f8 15 00 00 83 fa 03 75 43 48 8b 91 00 16 00 00 44 8b 89 fc
RSP: 0018:ffffc9000d267590 EFLAGS: 00000246
RAX: ffffffff813b3986 RBX: ffffffff81000000 RCX: ffff88806c711e00
RDX: 0000000000000000 RSI: ffffffff81000000 RDI: ffffffff81310ee7
RBP: ffffc9000d2676b8 R08: ffffc9000d267730 R09: 0000000000000009
R10: 0000000000000004 R11: 0000000000000000 R12: ffffc9000d267668
R13: dffffc0000000000 R14: ffffc9000d26769d R15: ffffffff81310ee7
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe776872780 CR3: 000000000cf32000 CR4: 00000000003506f0
Call Trace:
 <TASK>
 orc_find arch/x86/kernel/unwind_orc.c:206 [inline]
 unwind_next_frame+0x1c6/0x2970 arch/x86/kernel/unwind_orc.c:494
 arch_stack_walk+0x144/0x190 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0xaa/0x100 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:46 [inline]
 kasan_set_track+0x4e/0x70 mm/kasan/common.c:53
 kasan_save_free_info+0x2e/0x50 mm/kasan/generic.c:522
 ____kasan_slab_free+0x126/0x1e0 mm/kasan/common.c:237
 kasan_slab_free include/linux/kasan.h:164 [inline]
 slab_free_hook mm/slub.c:1811 [inline]
 slab_free_freelist_hook+0x130/0x1a0 mm/slub.c:1837
 slab_free mm/slub.c:3830 [inline]
 kmem_cache_free+0xf8/0x270 mm/slub.c:3852
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline]
 nsim_dev_trap_report_work+0x77e/0xb10 drivers/net/netdevsim/dev.c:851
 process_one_work kernel/workqueue.c:2653 [inline]
 process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2730
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2811
 kthread+0x2fa/0x390 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:152
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:293
 </TASK>

Crashes (343):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/27 07:57 linux-6.6.y 0a40c6fbd105 2b01f00e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/26 20:09 linux-6.6.y 9760bf04666d 9c2d0995 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/26 12:05 linux-6.6.y 9760bf04666d 9c2d0995 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/20 15:41 linux-6.6.y 7a137e9bfa0e 17d780d6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2025/11/04 10:16 linux-6.6.y 0a805b6ea8cd 686bf657 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2025/09/12 14:38 linux-6.6.y 60a9e718726f e2beed91 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2025/09/09 06:12 linux-6.6.y 355bd0b51d2f d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2025/07/06 21:02 linux-6.6.y a5df3a702b2c 4f67c4ae .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2025/07/03 17:02 linux-6.6.y 3f5b4c104b7d 115ceea7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/06/10 02:10 linux-6.6.y 924b4a879cbb 34dab4be .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/06/08 11:32 linux-6.6.y 924b4a879cbb cc095639 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/06/08 04:45 linux-6.6.y 924b4a879cbb cc095639 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/06/06 21:17 linux-6.6.y 924b4a879cbb cc095639 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/29 14:08 linux-6.6.y 0a40c6fbd105 6b4a8443 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/26 23:06 linux-6.6.y 0a40c6fbd105 2b01f00e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/26 06:01 linux-6.6.y 0a40c6fbd105 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/25 14:21 linux-6.6.y 0a40c6fbd105 c69befb3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/21 04:38 linux-6.6.y eac8889a3a1c 41b8c833 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/20 15:51 linux-6.6.y eac8889a3a1c 62fb93a2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/14 05:00 linux-6.6.y 3b9f64db0496 6ccb967e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/09 18:48 linux-6.6.y 3b9f64db0496 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/09 12:01 linux-6.6.y 3b9f64db0496 29233ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/05 19:37 linux-6.6.y 258cf62a6dfd 06e69a27 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/04 05:24 linux-6.6.y 258cf62a6dfd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/04 02:35 linux-6.6.y 258cf62a6dfd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/05/03 02:46 linux-6.6.y 258cf62a6dfd a0d91488 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/26 02:16 linux-6.6.y 9760bf04666d 9c2d0995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/24 20:31 linux-6.6.y 9760bf04666d 1c2b9291 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/24 17:41 linux-6.6.y 9760bf04666d 1c2b9291 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/24 02:47 linux-6.6.y 9760bf04666d 9cfb3ca7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/23 15:57 linux-6.6.y 9760bf04666d 4c3406dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/23 13:45 linux-6.6.y 9760bf04666d 4c3406dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/21 05:55 linux-6.6.y 9760bf04666d 3f2e655b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/19 15:58 linux-6.6.y 9760bf04666d 303e2802 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/18 08:09 linux-6.6.y 8cee53b8eaeb 303e2802 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/18 05:08 linux-6.6.y 8cee53b8eaeb 5be7a9de .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/17 04:24 linux-6.6.y 8cee53b8eaeb de0a551d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/16 22:53 linux-6.6.y 8cee53b8eaeb 4743f87d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/11 20:08 linux-6.6.y 8cee53b8eaeb 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/11 02:42 linux-6.6.y 80de0a958133 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/10 18:49 linux-6.6.y 80de0a958133 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/09 13:50 linux-6.6.y 80de0a958133 38c8e246 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/07 16:53 linux-6.6.y 80de0a958133 628666c6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/07 08:11 linux-6.6.y 80de0a958133 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/06 07:22 linux-6.6.y 08667c1437c0 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/04 06:17 linux-6.6.y 08667c1437c0 4440e7c2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/02 14:51 linux-6.6.y 29242a623821 91bc79b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/04/02 08:40 linux-6.6.y c09fbcd31ae6 0cb124d5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/30 04:23 linux-6.6.y c09fbcd31ae6 b5ceaad2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/27 06:43 linux-6.6.y c09fbcd31ae6 766b6434 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/25 16:24 linux-6.6.y c09fbcd31ae6 8ee77f7d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/24 03:54 linux-6.6.y 4fc00fe35d46 baf8bf12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/23 14:29 linux-6.6.y 4fc00fe35d46 4933dba2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2025/06/20 00:11 linux-6.6.y 6282921b6825 ed3e87f7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2025/06/16 19:29 linux-6.6.y c2603c511feb d1716036 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
* Struck through repros no longer work on HEAD.