syzbot


INFO: task hung in do_ip_setsockopt

Status: upstream: reported on 2024/06/08 00:20
Reported-by: syzbot+dbed5051515dcf9da8d0@syzkaller.appspotmail.com
First crash: 10d, last: 10d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 INFO: task hung in do_ip_setsockopt 1 1879d 1879d 0/1 auto-closed as invalid on 2019/10/24 07:11
upstream INFO: task hung in do_ip_setsockopt net 2 256d 262d 0/27 auto-obsoleted due to no activity on 2024/01/03 18:34
linux-4.19 INFO: task hung in do_ip_setsockopt 1 890d 890d 0/1 auto-closed as invalid on 2022/05/09 22:19

Sample crash report:
INFO: task syz-executor.1:8355 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:29096 pid:8355  ppid:7500   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
 do_ip_setsockopt+0x51d/0x3bb0 net/ipv4/ip_sockglue.c:954
 ip_setsockopt+0x5b/0x100 net/ipv4/ip_sockglue.c:1456
 __sys_setsockopt+0x57e/0xa00 net/socket.c:2283
 __do_sys_setsockopt net/socket.c:2294 [inline]
 __se_sys_setsockopt net/socket.c:2291 [inline]
 __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2291
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc69bc7cf69
RSP: 002b:00007fc69c99d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fc69bdb4050 RCX: 00007fc69bc7cf69
RDX: 000000000000002d RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fc69bcda6fe R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007fc69bdb4050 R15: 00007ffc194fae58
 </TASK>
INFO: task syz-executor.4:8362 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4  state:D stack:27256 pid:8362  ppid:3571   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6693
 __mutex_lock_common kernel/locking/mutex.c:679 [inline]
 __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747
 __netlink_dump_start+0x12e/0x6e0 net/netlink/af_netlink.c:2300
 netlink_dump_start include/linux/netlink.h:269 [inline]
 rtnetlink_rcv_msg+0xd4c/0xff0 net/core/rtnetlink.c:6077

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/08 00:19 linux-6.1.y 88690811da69 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in do_ip_setsockopt
* Struck through repros no longer work on HEAD.