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: 270d, last: 2d07h
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 457d 480d 28/29 fixed on 2025/06/10 16:19
android-414 INFO: task hung in _free_event 1 8 2451d 2518d 0/1 auto-closed as invalid on 2019/10/26 01:49
linux-4.19 INFO: task hung in _free_event 1 1 2135d 2135d 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 1009 1d16h 558d 0/3 upstream: reported C repro on 2024/09/01 12:31
linux-5.15 INFO: task hung in _free_event 1 3 57d 124d 0/3 upstream: reported on 2025/11/09 04:01
linux-4.14 INFO: task hung in _free_event 1 1 2008d 2008d 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.23:5962 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.23        state:D stack:21992 pid:5962  ppid:5902   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:5242 [inline]
 _free_event+0x174/0xf30 kernel/events/core.c:5248
 put_event kernel/events/core.c:5376 [inline]
 perf_event_release_kernel+0x842/0x8d0 kernel/events/core.c:5501
 perf_release+0x3b/0x40 kernel/events/core.c:5511
 __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/0xa0 arch/x86/entry/common.c:82
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2ea8d9c629
RSP: 002b:00007ffd4544d5c8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007ffd4544d6b0 RCX: 00007f2ea8d9c629
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 000000000003668b R08: 0000000000000001 R09: 0000000000000000
R10: 0000001b2cd20000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2ea9015fac R14: 00007f2ea9015fa8 R15: 00007f2ea9015fa0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8d131fa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8d131fa0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8d131fa0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
4 locks held by kworker/u4:4/59:
 #0: ffff888017c73938 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #0: ffff888017c73938 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2711
 #1: ffffc900015a7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2609 [inline]
 #1: ffffc900015a7d00 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x96f/0x15d0 kernel/workqueue.c:2711
 #2: ffffffff8e3b3310 (pernet_ops_rwsem){++++}-{3:3}, at: cleanup_net+0x14c/0xbb0 net/core/net_namespace.c:606
 #3: ffffffff8e3c0348 (rtnl_mutex){+.+.}-{3:3}, at: ppp_exit_net+0xf2/0x350 drivers/net/ppp/ppp_generic.c:1156
2 locks held by getty/5532:
 #0: ffff88802d59f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc900015c02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x433/0x1390 drivers/tty/n_tty.c:2217
3 locks held by syz.4.89/6247:

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

NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/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 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6196 Comm: kworker/u4:5 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
Workqueue: events_unbound nsim_dev_trap_report_work
RIP: 0010:stack_access_ok arch/x86/kernel/unwind_orc.c:393 [inline]
RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:403 [inline]
RIP: 0010:unwind_next_frame+0xf2d/0x2970 arch/x86/kernel/unwind_orc.c:585
Code: 95 c0 4c 39 f3 0f 96 c1 20 c1 4d 39 f7 0f 97 c0 84 c1 0f 84 fd 01 00 00 49 8d 46 08 48 39 d8 0f 97 c1 4c 39 f8 0f 96 c0 84 c1 <48> 8b 6c 24 10 0f 84 ab 05 00 00 e8 b3 cf 4b 00 4c 8b 24 24 49 bd
RSP: 0018:ffffc90003bbf4d8 EFLAGS: 00000202
RAX: ffffc90003bbf901 RBX: ffffc90003bb8000 RCX: 0000000000000001
RDX: ffff88802bad0000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffff88802bad0000 R09: 0000000000000003
R10: 0000000000000004 R11: 0000000000000000 R12: 1ffff92000777eb6
R13: 1ffff92000777eb7 R14: ffffc90003bbf9b8 R15: ffffc90003bc0000
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000001d23 CR3: 000000000cf32000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 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+0xba/0x1e0 mm/slub.c:3843
 skb_kfree_head net/core/skbuff.c:949 [inline]
 skb_free_head net/core/skbuff.c:961 [inline]
 skb_release_data+0x634/0x800 net/core/skbuff.c:991
 skb_release_all net/core/skbuff.c:1057 [inline]
 __kfree_skb net/core/skbuff.c:1071 [inline]
 consume_skb+0xb2/0x110 net/core/skbuff.c:1287
 nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline]
 nsim_dev_trap_report_work+0x76f/0xb00 drivers/net/netdevsim/dev.c:851
 process_one_work kernel/workqueue.c:2634 [inline]
 process_scheduled_works+0xa5d/0x15d0 kernel/workqueue.c:2711
 worker_thread+0xa55/0xfc0 kernel/workqueue.c:2792
 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 (284):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/03/11 19:43 linux-6.6.y 4fc00fe35d46 2d88ab01 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/11 07:47 linux-6.6.y 4fc00fe35d46 86914af9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/09 21:10 linux-6.6.y 4fc00fe35d46 176bead5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/09 10:05 linux-6.6.y 4fc00fe35d46 5cb44a80 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/06 14:43 linux-6.6.y 4fc00fe35d46 41d8037d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/02 08:03 linux-6.6.y 7a137e9bfa0e 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/01 10:36 linux-6.6.y 7a137e9bfa0e 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/03/01 00:17 linux-6.6.y 7a137e9bfa0e 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/28 09:50 linux-6.6.y 7a137e9bfa0e 43249bac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/27 13:55 linux-6.6.y 7a137e9bfa0e a2f13f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/27 11:58 linux-6.6.y 7a137e9bfa0e a2f13f71 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/26 16:50 linux-6.6.y 7a137e9bfa0e ffa54287 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/24 12:32 linux-6.6.y 7a137e9bfa0e 96b1aa46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/23 01:41 linux-6.6.y 7a137e9bfa0e 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/23 00:17 linux-6.6.y 7a137e9bfa0e 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/22 14:50 linux-6.6.y 7a137e9bfa0e 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/22 06:09 linux-6.6.y 7a137e9bfa0e 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/21 14:23 linux-6.6.y 7a137e9bfa0e 6e7b5511 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/20 09:49 linux-6.6.y 7a137e9bfa0e 17d780d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/19 20:40 linux-6.6.y 7a137e9bfa0e c8d8c52d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/19 06:20 linux-6.6.y 56865d9b7074 746545b8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/18 06:03 linux-6.6.y 56865d9b7074 39751c21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/17 07:32 linux-6.6.y 56865d9b7074 e439b951 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/15 17:37 linux-6.6.y 1b4ef5214f17 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/15 13:46 linux-6.6.y 1b4ef5214f17 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/15 01:07 linux-6.6.y 1b4ef5214f17 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/14 11:15 linux-6.6.y 1b4ef5214f17 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/13 19:37 linux-6.6.y 1b4ef5214f17 1e62d198 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/13 15:24 linux-6.6.y 1b4ef5214f17 6a673c50 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/11 02:11 linux-6.6.y c56aaf1a85ae 441e25b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/10 14:00 linux-6.6.y c56aaf1a85ae 91d776d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/05 12:22 linux-6.6.y 2cf6f68313dc 4936e85c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/03 23:48 linux-6.6.y 2cf6f68313dc 42b01fab .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/02 11:17 linux-6.6.y 2cf6f68313dc 018ebef2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/02/01 23:37 linux-6.6.y 2cf6f68313dc 6b8752f2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/30 01:39 linux-6.6.y cbb31f77b879 bfa73b7b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/29 01:16 linux-6.6.y cbb31f77b879 0adc945e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/26 19:48 linux-6.6.y cbb31f77b879 a4c52dd6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/24 22:48 linux-6.6.y cbb31f77b879 40acda8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/24 00:08 linux-6.6.y cbb31f77b879 4f25b9b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/22 22:43 linux-6.6.y cbb31f77b879 82c9c083 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/22 11:53 linux-6.6.y cbb31f77b879 a16aed1d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/20 13:32 linux-6.6.y cbb31f77b879 06648d9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/19 12:57 linux-6.6.y cbb31f77b879 a9fc5226 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan-perf INFO: task hung in _free_event
2026/01/18 20:23 linux-6.6.y cbb31f77b879 20d37d28 .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.