syzbot


kernel panic: corrupted stack end in inet_release

Status: closed as invalid on 2023/03/21 17:14
Subsystems: net
[Documentation on labels]
First crash: 741d, last: 741d

Sample crash report:
Kernel panic - not syncing: corrupted stack end detected inside scheduler
CPU: 0 PID: 2779 Comm: syz-executor.1 Not tainted 5.17.0-rc1-syzkaller-00002-g0966d385830d #0
Hardware name: riscv-virtio,qemu (DT)
Call Trace:
[<ffffffff8000a228>] dump_backtrace+0x2e/0x3c arch/riscv/kernel/stacktrace.c:113
[<ffffffff831668cc>] show_stack+0x34/0x40 arch/riscv/kernel/stacktrace.c:119
[<ffffffff831756ba>] __dump_stack lib/dump_stack.c:88 [inline]
[<ffffffff831756ba>] dump_stack_lvl+0xe4/0x150 lib/dump_stack.c:106
[<ffffffff83175742>] dump_stack+0x1c/0x24 lib/dump_stack.c:113
[<ffffffff83166fa8>] panic+0x24a/0x634 kernel/panic.c:233
[<ffffffff831a688a>] schedule_debug kernel/sched/core.c:5541 [inline]
[<ffffffff831a688a>] schedule+0x0/0x14c kernel/sched/core.c:6187
[<ffffffff831a6b00>] preempt_schedule_common+0x4e/0xde kernel/sched/core.c:6462
[<ffffffff831a6bc4>] preempt_schedule+0x34/0x36 kernel/sched/core.c:6487
[<ffffffff80061140>] __local_bh_enable_ip+0x29e/0x2a4 kernel/softirq.c:390
[<ffffffff82af5eaa>] local_bh_enable include/linux/bottom_half.h:33 [inline]
[<ffffffff82af5eaa>] rcu_read_unlock_bh include/linux/rcupdate.h:764 [inline]
[<ffffffff82af5eaa>] ip_finish_output2+0x57c/0x1720 net/ipv4/ip_output.c:222
[<ffffffff82af8978>] __ip_finish_output net/ipv4/ip_output.c:299 [inline]
[<ffffffff82af8978>] __ip_finish_output+0x25a/0x3ee net/ipv4/ip_output.c:281
[<ffffffff82af8b4a>] ip_finish_output+0x3e/0x176 net/ipv4/ip_output.c:309
[<ffffffff82af8e52>] NF_HOOK_COND include/linux/netfilter.h:296 [inline]
[<ffffffff82af8e52>] ip_output+0x1d0/0x2d0 net/ipv4/ip_output.c:423
[<ffffffff82afbbce>] dst_output include/net/dst.h:451 [inline]
[<ffffffff82afbbce>] ip_local_out net/ipv4/ip_output.c:126 [inline]
[<ffffffff82afbbce>] __ip_queue_xmit+0x4a0/0xeb2 net/ipv4/ip_output.c:525
[<ffffffff82f2f3e0>] sctp_v4_xmit+0x4c2/0x590 net/sctp/protocol.c:1070
[<ffffffff82f7ca4c>] sctp_packet_transmit+0x1126/0x170c net/sctp/output.c:652
[<ffffffff82f503c8>] sctp_outq_flush_transports+0x2f2/0x568 net/sctp/outqueue.c:1166
[<ffffffff82f55372>] sctp_outq_flush net/sctp/outqueue.c:1214 [inline]
[<ffffffff82f55372>] sctp_outq_uncork+0x144/0x182 net/sctp/outqueue.c:761
[<ffffffff82f2ca74>] sctp_cmd_interpreter net/sctp/sm_sideeffect.c:1320 [inline]
[<ffffffff82f2ca74>] sctp_side_effects net/sctp/sm_sideeffect.c:1195 [inline]
[<ffffffff82f2ca74>] sctp_do_sm+0x28d6/0x2ef4 net/sctp/sm_sideeffect.c:1166
[<ffffffff82f79c0c>] sctp_primitive_ABORT+0x6a/0x82 net/sctp/primitive.c:104
[<ffffffff82f61582>] sctp_close+0x1b8/0x664 net/sctp/socket.c:1523
[<ffffffff82bb8360>] inet_release+0xd4/0x15c net/ipv4/af_inet.c:428
[<ffffffff826d0a98>] __sock_release+0x88/0x17e net/socket.c:650
[<ffffffff826d0bac>] sock_close+0x1e/0x2a net/socket.c:1318
[<ffffffff804cb3c0>] __fput+0x164/0x502 fs/file_table.c:311
[<ffffffff804cb7d2>] ____fput+0x1a/0x24 fs/file_table.c:344
[<ffffffff800a0530>] task_work_run+0xdc/0x154 kernel/task_work.c:164
[<ffffffff80008c12>] tracehook_notify_resume include/linux/tracehook.h:188 [inline]
[<ffffffff80008c12>] do_notify_resume+0x894/0xa56 arch/riscv/kernel/signal.c:320
[<ffffffff80005724>] ret_from_exception+0x0/0x10
SMP: stopping secondary CPUs
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/17 22:52 git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git fixes 0966d385830d 42660d9e .config console log report info ci-qemu2-riscv64 kernel panic: corrupted stack end in inet_release
* Struck through repros no longer work on HEAD.