syzbot


INFO: task hung in do_ip_setsockopt (3)

Status: auto-obsoleted due to no activity on 2026/01/22 01:48
Subsystems: net
[Documentation on labels]
First crash: 105d, last: 105d
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in do_ip_setsockopt (2) net 1 29 480d 621d 0/29 auto-obsoleted due to no activity on 2024/12/23 06:51
linux-6.1 INFO: task hung in do_ip_setsockopt 1 1 608d 608d 0/3 auto-obsoleted due to no activity on 2024/09/16 00:20
android-414 INFO: task hung in do_ip_setsockopt 1 1 2477d 2477d 0/1 auto-closed as invalid on 2019/10/24 07:11
upstream INFO: task hung in do_ip_setsockopt net 1 2 854d 860d 0/29 auto-obsoleted due to no activity on 2024/01/03 18:34
linux-4.19 INFO: task hung in do_ip_setsockopt 1 1 1488d 1488d 0/1 auto-closed as invalid on 2022/05/09 22:19

Sample crash report:
INFO: task syz.7.1281:11128 blocked for more than 155 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.7.1281      state:D stack:28888 pid:11128 tgid:11126 ppid:10521  task_flags:0x400040 flags:0x00080002
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5325 [inline]
 __schedule+0x16f3/0x4c20 kernel/sched/core.c:6929
 __schedule_loop kernel/sched/core.c:7011 [inline]
 rt_mutex_schedule+0x77/0xf0 kernel/sched/core.c:7307
 rt_mutex_slowlock_block+0x5ba/0x6d0 kernel/locking/rtmutex.c:1647
 __rt_mutex_slowlock kernel/locking/rtmutex.c:1721 [inline]
 __rt_mutex_slowlock_locked kernel/locking/rtmutex.c:1760 [inline]
 rt_mutex_slowlock+0x2b1/0x6e0 kernel/locking/rtmutex.c:1800
 __rt_mutex_lock kernel/locking/rtmutex.c:1815 [inline]
 __mutex_lock_common kernel/locking/rtmutex_api.c:536 [inline]
 mutex_lock_nested+0x16a/0x1d0 kernel/locking/rtmutex_api.c:547
 do_ip_setsockopt+0xeee/0x2d00 net/ipv4/ip_sockglue.c:1077
 ip_setsockopt+0x66/0x110 net/ipv4/ip_sockglue.c:1417
 do_sock_setsockopt+0x17c/0x1b0 net/socket.c:2360
 __sys_setsockopt net/socket.c:2385 [inline]
 __do_sys_setsockopt net/socket.c:2391 [inline]
 __se_sys_setsockopt net/socket.c:2388 [inline]
 __x64_sys_setsockopt+0x145/0x1b0 net/socket.c:2388
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f92be8defc9
RSP: 002b:00007f92bcb3e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f92beb35fa0 RCX: 00007f92be8defc9
RDX: 0000000000000027 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007f92be961f91 R08: 000000000000000c R09: 0000000000000000
R10: 0000200000000740 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f92beb36038 R14: 00007f92beb35fa0 R15: 00007ffd9f0518f8
 </TASK>

Showing all locks held in the system:
1 lock held by kworker/R-kvfre/6:
 #0: ffffffff8d452a78 (wq_pool_attach_mutex){+.+.}-{4:4}, at: worker_attach_to_pool+0x2e/0x3a0 kernel/workqueue.c:2678
5 locks held by kworker/0:0/9:
 #0: ffff88805dd7f938 ((wq_completion)wg-kex-wg0#18){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline]
 #0: ffff88805dd7f938 ((wq_completion)wg-kex-wg0#18){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/24 01:43 upstream 266ee584e55e c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in do_ip_setsockopt
* Struck through repros no longer work on HEAD.