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: 55d, last: 28d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in ip_setsockopt net 1 1384d 1384d 0/27 auto-closed as invalid on 2021/01/01 01:08
upstream INFO: task hung in ip_setsockopt (2) net 1 1003d 1003d 0/27 auto-closed as invalid on 2022/01/17 23:55
upstream INFO: task hung in rtnetlink_rcv_msg net C inconclusive inconclusive 1970 9d21h 1973d 27/27 fixed on 2024/07/09 19:14

Sample crash report:
INFO: task syz-executor.2:4830 blocked for more than 143 seconds.
      Not tainted 5.15.161-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:24688 pid: 4830 ppid:  4459 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
 tcp_setsockopt+0x23f/0x3680 net/ipv4/tcp.c:3707

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/20 04:28 linux-5.15.y 4878aadf2d15 41b7e219 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in ip_setsockopt
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.