syzbot


INFO: task hung in ip_setsockopt

Status: upstream: reported on 2024/05/24 05:44
Reported-by: syzbot+76442c3ef3a2bec4d0a0@syzkaller.appspotmail.com
First crash: 26d, last: 7d17h
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in ip_setsockopt net 1 1355d 1355d 0/27 auto-closed as invalid on 2021/01/01 01:08
upstream INFO: task hung in ip_setsockopt (2) net 1 973d 973d 0/27 auto-closed as invalid on 2022/01/17 23:55
upstream INFO: task hung in rtnetlink_rcv_msg net C inconclusive inconclusive 1888 28m 1944d 0/27 upstream: reported C repro on 2019/02/22 17:00

Sample crash report:
INFO: task syz-executor.3:9703 blocked for more than 143 seconds.
      Not tainted 5.15.160-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3  state:D stack:27320 pid: 9703 ppid:  6808 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6518
 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669
 __mutex_lock kernel/locking/mutex.c:729 [inline]
 mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743
 do_ip_setsockopt net/ipv4/ip_sockglue.c:951 [inline]
 ip_setsockopt+0x4ff/0x3fb0 net/ipv4/ip_sockglue.c:1430
 __sys_setsockopt+0x57e/0x990 net/socket.c:2198
 __do_sys_setsockopt net/socket.c:2209 [inline]
 __se_sys_setsockopt net/socket.c:2206 [inline]
 __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2206
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f04e1a29ea9
RSP: 002b:00007f04e05820c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007f04e1b61050 RCX: 00007f04e1a29ea9
RDX: 0000000000000023 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007f04e1a98ff4 R08: 0000000000000040 R09: 0000000000000000
R10: 0000000020000740 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f04e1b61050 R15: 00007ffc20bab1e8
 </TASK>
INFO: task syz-executor.0:9713 blocked for more than 143 seconds.

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/12 01:36 linux-5.15.y c61bd26ae81a 4d75f4f7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in ip_setsockopt
2024/05/24 05:43 linux-5.15.y 83655231580b 8f98448e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in ip_setsockopt
* Struck through repros no longer work on HEAD.