INFO: task syz.7.2137:16510 blocked for more than 143 seconds.
Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.2137 state:D stack:25328 pid:16510 tgid:16499 ppid:9817 flags:0x00024006
Call Trace:
context_switch kernel/sched/core.c:5369 [inline]
__schedule+0xe58/0x5ad0 kernel/sched/core.c:6756
__schedule_loop kernel/sched/core.c:6833 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6848
schedule_timeout+0x244/0x280 kernel/time/sleep_timeout.c:75
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common+0x3e1/0x600 kernel/sched/completion.c:116
__flush_work+0x7d8/0xcd0 kernel/workqueue.c:4235
__cancel_work_sync+0x10c/0x130 kernel/workqueue.c:4355
htable_put.part.0+0x1d4/0x280 net/netfilter/xt_hashlimit.c:429
htable_put net/netfilter/xt_hashlimit.c:424 [inline]
hashlimit_mt_destroy_v1+0x78/0x90 net/netfilter/xt_hashlimit.c:970
cleanup_match net/ipv6/netfilter/ip6_tables.c:477 [inline]
cleanup_entry+0x19f/0x3a0 net/ipv6/netfilter/ip6_tables.c:661
translate_table+0xddd/0x17b0 net/ipv6/netfilter/ip6_tables.c:744
do_replace net/ipv6/netfilter/ip6_tables.c:1154 [inline]
do_ip6t_set_ctl+0x926/0xbf0 net/ipv6/netfilter/ip6_tables.c:1644
nf_setsockopt+0x8a/0xf0 net/netfilter/nf_sockopt.c:101
ipv6_setsockopt+0x135/0x170 net/ipv6/ipv6_sockglue.c:998
rawv6_setsockopt+0xd7/0x680 net/ipv6/raw.c:1054
do_sock_setsockopt+0x222/0x480 net/socket.c:2313
__sys_setsockopt+0x1a0/0x230 net/socket.c:2338
__do_sys_setsockopt net/socket.c:2344 [inline]
__se_sys_setsockopt net/socket.c:2341 [inline]
__x64_sys_setsockopt+0xbd/0x160 net/socket.c:2341
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe64f185d29
RSP: 002b:00007fe64ffa8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fe64f376160 RCX: 00007fe64f185d29
RDX: 0000000000000040 RSI: 0000000000000029 RDI: 000000000000000a
RBP: 00007fe64f201b08 R08: 00000000000004c0 R09: 0000000000000000
R10: 00000000200004c0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fe64f376160 R15: 00007ffd101286e8
Showing all locks held in the system:
2 locks held by kworker/1:0/25:
1 lock held by khungtaskd/30:
#0: ffffffff8e1bb900 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e1bb900 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e1bb900 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744
5 locks held by kworker/1:2/2142:
2 locks held by kworker/u8:11/3699:
1 lock held by klogd/5181:
1 lock held by sshd/5802:
4 locks held by kworker/1:5/5907:
2 locks held by syz.3.8/5929:
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: tun_detach drivers/net/tun.c:698 [inline]
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: tun_chr_close+0x38/0x230 drivers/net/tun.c:3517
#1: ffffffff8ffdab48 (flowtable_lock){+.+.}-{4:4}, at: nf_flow_table_cleanup+0x81/0x3d0 net/netfilter/nf_flow_table_core.c:593
3 locks held by kworker/u8:12/6718:
#0: ffff88801b081148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204
#1: ffffc900032a7d80 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
#2: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: linkwatch_event+0x51/0xc0 net/core/link_watch.c:281
2 locks held by kworker/u8:19/6762:
#0: ffff8881476a0948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204
#1: ffffc900033b7d80 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
3 locks held by kworker/0:0/16536:
#0: ffff88801b078948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204
#1: ffffc90004a2fd80 (ser_release_work){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205
#2: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: ser_release+0x10f/0x280 drivers/net/caif/caif_serial.c:307
2 locks held by syz-executor/16538:
#0: ffffffff905f7660 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_lock_acquire include/linux/srcu.h:158 [inline]
#0: ffffffff905f7660 (&ops->srcu#2){.+.+}-{0:0}, at: srcu_read_lock include/linux/srcu.h:249 [inline]
#0: ffffffff905f7660 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x10f/0x2c0 net/core/rtnetlink.c:559
#1: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:79 [inline]
#1: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:326 [inline]
#1: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0x5d9/0x1d60 net/core/rtnetlink.c:4011
3 locks held by getty/16541:
#0: ffff8880368721c0 (&tty->legacy_mutex){+.+.}-{4:4}, at: __tty_hangup.part.0+0xb8/0x890 drivers/tty/tty_io.c:584
#1: ffff8880368720a0 (&tty->ldisc_sem){++++}-{0:0}, at: __tty_ldisc_lock drivers/tty/tty_ldisc.c:289 [inline]
#1: ffff8880368720a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_lock+0x65/0xb0 drivers/tty/tty_ldisc.c:313
#2: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: ldisc_open+0x47b/0x980 drivers/net/caif/caif_serial.c:350
1 lock held by syz-executor/16549:
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x316/0x1560 net/ipv4/devinet.c:987
1 lock held by syz-executor/16550:
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x316/0x1560 net/ipv4/devinet.c:987
1 lock held by syz-executor/16557:
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x316/0x1560 net/ipv4/devinet.c:987
1 lock held by syz-executor/16559:
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_net_lock include/linux/rtnetlink.h:128 [inline]
#0: ffffffff8fedca88 (rtnl_mutex){+.+.}-{4:4}, at: inet_rtm_newaddr+0x316/0x1560 net/ipv4/devinet.c:987
=============================================
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline]
watchdog+0xf14/0x1240 kernel/hung_task.c:397
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 5907 Comm: kworker/1:5 Not tainted 6.13.0-rc5-syzkaller-00163-gab75170520d4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events_power_efficient htable_gc
RIP: 0010:hlock_class+0x56/0x130 kernel/locking/lockdep.c:228
Code: 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 48 8d 3c c5 c0 1c e5 96 e8 52 f8 86 00 48 0f a3 1d 2a 4b 6f 15 <73> 13 48 69 c3 c8 00 00 00 5b 48 05 e0 20 e5 96 c3 cc cc cc cc 48
RSP: 0018:ffffc90000a18770 EFLAGS: 00000047
RAX: 0000000000000001 RBX: 0000000000000406 RCX: ffffffff8175d18e
RDX: fffffbfff2dca3a9 RSI: 0000000000000008 RDI: ffffffff96e51d40
RBP: ffffc90000a188c0 R08: 0000000000000000 R09: fffffbfff2dca3a8
R10: ffffffff96e51d47 R11: 0000000000000003 R12: ffff8880275e4880
R13: 0000000000000100 R14: 0000000000000008 R15: 1ffff920001430f6
FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbbbd10f700 CR3: 000000000df7e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
mark_lock+0xb5/0xc60 kernel/locking/lockdep.c:4727
mark_usage kernel/locking/lockdep.c:4670 [inline]
__lock_acquire+0x9f1/0x3c40 kernel/locking/lockdep.c:5180
lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5849
local_lock_acquire include/linux/local_lock_internal.h:29 [inline]
kcov_remote_stop+0x8e/0x5f0 kernel/kcov.c:1007
kcov_remote_stop_softirq include/linux/kcov.h:98 [inline]
__usb_hcd_giveback_urb+0x4d9/0x6e0 drivers/usb/core/hcd.c:1651
usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734
dummy_timer+0x17f7/0x3960 drivers/usb/gadget/udc/dummy_hcd.c:1993
__run_hrtimer kernel/time/hrtimer.c:1739 [inline]
__hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803
hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1820
handle_softirqs+0x213/0x8f0 kernel/softirq.c:561
do_softirq kernel/softirq.c:462 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:449
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:389
spin_unlock_bh include/linux/spinlock.h:396 [inline]
htable_selective_cleanup+0x2ef/0x440 net/netfilter/xt_hashlimit.c:374
htable_gc+0x1f/0xb0 net/netfilter/xt_hashlimit.c:385
process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229
process_scheduled_works kernel/workqueue.c:3310 [inline]
worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244