INFO: task hung in htable_put (3)

Status: upstream: reported on 2026/08/01 09:09
Reported-by: syzbot+dc2423082b59685d9efa@syzkaller.appspotmail.com
First crash: 41d, last: 2d17h
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 INFO: task hung in htable_put 1 3 413d 448d 0/2 auto-obsoleted due to no activity on 2025/11/01 23:35
upstream INFO: task hung in htable_put 1 syz, C done done 29 2397d 2450d 15/29 fixed on 2020/11/16 12:12
linux-4.19 INFO: task hung in htable_put 1 syz, C done 8 2391d 2437d 1/1 fixed on 2020/03/24 16:08
upstream INFO: task hung in htable_put (2) kernel 1 54 596d 656d 0/29 auto-obsoleted due to no activity on 2025/04/03 01:38
linux-6.6 INFO: task hung in htable_put (2) 1 1 184d 184d 0/2 auto-obsoleted due to no activity on 2026/06/19 02:51
linux-4.19 INFO: task hung in htable_put (2) 1 1 2017d 2017d 0/1 auto-closed as invalid on 2021/07/01 18:58

Sample crash report:
INFO: task syz.0.5184:20177 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.5184      state:D stack:24432 pid:20177 ppid:5779   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5382 [inline]
 __schedule+0x15ae/0x4660 kernel/sched/core.c:6701
 schedule+0xbd/0x170 kernel/sched/core.c:6775
 schedule_timeout+0xc1/0x2d0 kernel/time/timer.c:2144
 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+0x2c6/0x5a0 kernel/sched/completion.c:148
 __flush_work+0x92f/0xac0 kernel/workqueue.c:3475
 __cancel_work_timer+0x3f8/0x560 kernel/workqueue.c:3562
 htable_put+0x1c4/0x230 net/netfilter/xt_hashlimit.c:431
 cleanup_match net/ipv6/netfilter/ip6_tables.c:477 [inline]
 cleanup_entry+0x15a/0x350 net/ipv6/netfilter/ip6_tables.c:661
 translate_table+0x1e04/0x2020 net/ipv6/netfilter/ip6_tables.c:744
 do_replace net/ipv6/netfilter/ip6_tables.c:1152 [inline]
 do_ip6t_set_ctl+0x9fe/0xe10 net/ipv6/netfilter/ip6_tables.c:1641
 nf_setsockopt+0x263/0x280 net/netfilter/nf_sockopt.c:101
 rawv6_setsockopt+0x276/0x5d0 net/ipv6/raw.c:1048
 do_sock_setsockopt+0x175/0x1a0 net/socket.c:2322
 __sys_setsockopt net/socket.c:2345 [inline]
 __do_sys_setsockopt net/socket.c:2354 [inline]
 __se_sys_setsockopt net/socket.c:2351 [inline]
 __x64_sys_setsockopt+0x182/0x200 net/socket.c:2351
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f7e72d9e159
RSP: 002b:00007f7e73d06028 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f7e73025fa0 RCX: 00007f7e72d9e159
RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 00007f7e72e3503b R08: 00000000000005c0 R09: 0000000000000000
R10: 0000200000000580 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f7e73026038 R14: 00007f7e73025fa0 R15: 00007fff2c9a89b8
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/29:
 #0: ffffffff8d1320e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:334 [inline]
 #0: ffffffff8d1320e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:786 [inline]
 #0: ffffffff8d1320e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x290 kernel/locking/lockdep.c:6633
2 locks held by kworker/u4:12/2968:
2 locks held by getty/5535:
 #0: ffff88803180a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc9000327b2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x428/0x1370 drivers/tty/n_tty.c:2217
3 locks held by kworker/1:3/5781:
2 locks held by kworker/1:4/5786:
2 locks held by kworker/0:7/5840:
 #0: ffff888017c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #0: ffff888017c72d38 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734
 #1: ffffc90004a9fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2632 [inline]
 #1: ffffc90004a9fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x975/0x1600 kernel/workqueue.c:2734

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

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 07/24/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+0xf59/0xfa0 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: 5786 Comm: kworker/1:4 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Workqueue: events_power_efficient htable_gc
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:147 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:254 [inline]
RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:196
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 89 f6 31 d2 e9 5b 41 2d 03 66 2e 0f 1f 84 00 00 00 00 00
RSP: 0018:ffffc900001f0df0 EFLAGS: 00000046
RAX: 000000000000003e RBX: ffff8880b8f282c0 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000000003e RDI: 0000000000000838
RBP: 000000000000003e R08: ffffffff8e8c8daf R09: 1ffffffff1d191b5
R10: dffffc0000000000 R11: fffffbfff1d191b6 R12: ffff8880b8f28300
R13: ffff8880b8f282f8 R14: 0000000000000020 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc65a55da08 CR3: 000000002e8ff000 CR4: 00000000003506e0
Call Trace:
 <IRQ>
 apic_write arch/x86/include/asm/apic.h:404 [inline]
 lapic_next_event+0x11/0x20 arch/x86/kernel/apic/apic.c:448
 clockevents_program_min_delta+0x199/0x340 kernel/time/clockevents.c:248
 hrtimer_update_softirq_timer kernel/time/hrtimer.c:1227 [inline]
 hrtimer_run_softirq+0x225/0x290 kernel/time/hrtimer.c:1838
 handle_softirqs+0x27d/0x820 kernel/softirq.c:578
 do_softirq+0xfa/0x1a0 kernel/softirq.c:479
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0x184/0x1c0 kernel/softirq.c:406
 spin_unlock_bh include/linux/spinlock.h:396 [inline]
 htable_selective_cleanup+0x26a/0x300 net/netfilter/xt_hashlimit.c:376
 htable_gc+0x29/0xa0 net/netfilter/xt_hashlimit.c:387
 process_one_work kernel/workqueue.c:2657 [inline]
 process_scheduled_works+0xa60/0x1600 kernel/workqueue.c:2734
 worker_thread+0xa5e/0xfe0 kernel/workqueue.c:2815
 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 (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/08 16:43 linux-6.6.y 8b73de7da85f 243b72f1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in htable_put
2026/08/01 09:08 linux-6.6.y a1153c0deb44 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in htable_put
2026/08/01 09:08 linux-6.6.y a1153c0deb44 e611ffe1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan INFO: task hung in htable_put
* Struck through repros no longer work on HEAD.