syzbot


INFO: task hung in packet_set_ring (2)

Status: auto-obsoleted due to no activity on 2024/09/05 19:37
Subsystems: net
[Documentation on labels]
First crash: 260d, last: 256d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in packet_set_ring net 53 1948d 2353d 0/28 closed as invalid on 2019/10/23 07:23
upstream INFO: task hung in packet_set_ring (3) net 1 149d 149d 0/28 auto-obsoleted due to no activity on 2024/12/21 03:39

Sample crash report:
INFO: task syz-executor.2:6133 blocked for more than 143 seconds.
      Not tainted 6.10.0-rc2-syzkaller-00235-g8a92980606e3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:26224 pid:6133  tgid:6132  ppid:5114   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
 __schedule_loop kernel/sched/core.c:6822 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6837
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894
 __mutex_lock_common kernel/locking/mutex.c:684 [inline]
 __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
 prb_calc_retire_blk_tmo net/packet/af_packet.c:578 [inline]
 init_prb_bdqc net/packet/af_packet.c:636 [inline]
 packet_set_ring+0xb7d/0x2450 net/packet/af_packet.c:4465
 packet_setsockopt+0x1140/0x1970 net/packet/af_packet.c:3824
 do_sock_setsockopt+0x3b1/0x720 net/socket.c:2312
 __sys_setsockopt+0x1ae/0x250 net/socket.c:2335
 __do_sys_setsockopt net/socket.c:2344 [inline]
 __se_sys_setsockopt net/socket.c:2341 [inline]
 __x64_sys_setsockopt+0xb5/0xd0 net/socket.c:2341
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7ff07f67cf69
RSP: 002b:00007ff0804c20c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007ff07f7b3f80 RCX: 00007ff07f67cf69
RDX: 0000000000000005 RSI: 0000000000000107 RDI: 0000000000000003
RBP: 00007ff07f6da6fe R08: 000000000000001c R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007ff07f7b3f80 R15: 00007ffc72293038
 </TASK>
INFO: task syz-executor.1:6141 blocked for more than 144 seconds.
      Not tainted 6.10.0-rc2-syzkaller-00235-g8a92980606e3 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:27872 pid:6141  tgid:6139  ppid:5115   flags:0x00000006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5408 [inline]
 __schedule+0x17e8/0x4a20 kernel/sched/core.c:6745
 __schedule_loop kernel/sched/core.c:6822 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6837
 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6894
 __mutex_lock_common kernel/locking/mutex.c:684 [inline]
 __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
 do_ip_getsockopt+0x10f5/0x2940 net/ipv4/ip_sockglue.c:1702

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/07 19:30 upstream 8a92980606e3 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in packet_set_ring
2024/06/03 16:38 upstream c3f38fa61af7 0aba2352 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in packet_set_ring
* Struck through repros no longer work on HEAD.