INFO: task syz.0.342:5532 blocked for more than 143 seconds. Not tainted 5.15.189-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.342 state:D stack:25512 pid: 5532 ppid: 4182 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5030 [inline] __schedule+0x11b8/0x43b0 kernel/sched/core.c:6376 schedule+0x11b/0x1e0 kernel/sched/core.c:6459 perf_pending_task_sync+0x13c/0x1c0 kernel/events/core.c:5127 _free_event+0x34/0xe60 kernel/events/core.c:5133 put_event kernel/events/core.c:5258 [inline] perf_event_release_kernel+0x832/0x8c0 kernel/events/core.c:5383 perf_release+0x37/0x40 kernel/events/core.c:5393 __fput+0x234/0x930 fs/file_table.c:311 task_work_run+0x125/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x10f/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f35aa41bbe9 RSP: 002b:00007f35a8683038 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 00007f35aa642fa0 RCX: 00007f35aa41bbe9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000005 RBP: 00007f35aa49ee19 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f35aa643038 R14: 00007f35aa642fa0 R15: 00007fffd5c9fcc8 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c11c360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 3 locks held by kworker/u4:4/1261: 2 locks held by getty/3949: #0: ffff88802c223098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900026562e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ba/0x1a30 drivers/tty/n_tty.c:2158 3 locks held by kworker/u4:5/4275: #0: ffff888016879138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x760/0x1000 kernel/workqueue.c:-1 #1: ffffc900033ffd00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work+0x7a3/0x1000 kernel/workqueue.c:2285 #2: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xa/0x50 net/core/link_watch.c:251 4 locks held by kworker/u4:6/4326: 2 locks held by syz.7.1434/10050: #0: ffffffff8d22a2d0 (pernet_ops_rwsem){++++}-{3:3}, at: copy_net_ns+0x32e/0x5b0 net/core/net_namespace.c:499 #1: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: cangw_pernet_exit+0xe/0x20 net/can/gw.c:1279 2 locks held by syz.0.1452/10121: 1 lock held by syz.2.1455/10132: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x86b/0xa40 net/core/dev.c:10696 1 lock held by syz.4.1467/10167: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: netdev_run_todo+0x86b/0xa40 net/core/dev.c:10696 3 locks held by syz.6.1468/10170: 1 lock held by syz.6.1468/10172: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: __tun_chr_ioctl+0x3ab/0x1e70 drivers/net/tun.c:3052 1 lock held by syz.6.1468/10173: #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:699 [inline] #0: ffffffff8d235f48 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3d/0x1b0 drivers/net/tun.c:3440 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 nmi_cpu_backtrace+0x397/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+0xe0f/0xe50 kernel/hung_task.c:369 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4188 Comm: syz-executor Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 RIP: 0010:rcu_preempt_read_exit kernel/rcu/tree_plugin.h:380 [inline] RIP: 0010:__rcu_read_unlock+0x2e/0xd0 kernel/rcu/tree_plugin.h:419 Code: 41 55 41 54 53 49 bf 00 00 00 00 00 fc ff df 65 48 8b 3d a5 17 9e 7e 48 8d 9f 3c 04 00 00 49 89 dc 49 c1 ec 03 43 0f b6 04 3c <84> c0 75 48 ff 0b 75 1d 4c 8d b7 40 04 00 00 4c 89 f0 48 c1 e8 03 RSP: 0018:ffffc90002eff070 EFLAGS: 00000a07 RAX: 0000000000000000 RBX: ffff88807a0421fc RCX: ffff88807a041dc0 RDX: 0000000000000000 RSI: ffffffff8a599320 RDI: ffff88807a041dc0 RBP: 0000000000000000 R08: dffffc0000000000 R09: fffffbfff1ff6e19 R10: fffffbfff1ff6e19 R11: 1ffffffff1ff6e18 R12: 1ffff1100f40843f R13: 0000000000000e14 R14: 0000000000000000 R15: dffffc0000000000 FS: 000055558da9e500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb2f534cad8 CR3: 0000000063655000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: rcu_read_unlock include/linux/rcupdate.h:771 [inline] is_bpf_text_address+0x24f/0x270 kernel/bpf/core.c:727 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x9a/0x100 kernel/extable.c:105 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf2/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] __kasan_kmalloc+0xb5/0xf0 mm/kasan/common.c:522 kmalloc_node include/linux/slab.h:627 [inline] kvmalloc_node+0x84/0x130 mm/util.c:619 kvmalloc include/linux/mm.h:805 [inline] xt_alloc_table_info+0x37/0xa0 net/netfilter/x_tables.c:1192 do_replace net/ipv6/netfilter/ip6_tables.c:1145 [inline] do_ip6t_set_ctl+0x87a/0xd00 net/ipv6/netfilter/ip6_tables.c:1646 nf_setsockopt+0x25f/0x280 net/netfilter/nf_sockopt.c:101 ipv6_setsockopt+0x1cb8/0x3890 net/ipv6/ipv6_sockglue.c:1014 tcp_setsockopt+0x21a/0x1d70 net/ipv4/tcp.c:3713 __sys_setsockopt+0x2bf/0x3d0 net/socket.c:2203 __do_sys_setsockopt net/socket.c:2214 [inline] __se_sys_setsockopt net/socket.c:2211 [inline] __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2211 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:0x7fb2f5159ada Code: ff ff ff c3 0f 1f 40 00 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 a8 ff ff ff f7 RSP: 002b:00007ffebecece08 EFLAGS: 00000206 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007ffebecece90 RCX: 00007fb2f5159ada RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003 RBP: 0000000000000003 R08: 0000000000000558 R09: 0079746972756365 R10: 00007fb2f534ca80 R11: 0000000000000206 R12: 00007fb2f534ca20 R13: 00007ffebecece2c R14: 0000000000000000 R15: 00007fb2f534de60