🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #126

Bug#1150271: openssh-sftp-server: sftp-server fails silently with return code 11 on arm64 (Raspberry Pi4)

#126
From: Colin Watson
Date: Thu, 08 Oct 2026 10:20
21 lines
3032 bytes
On Wed, Oct 07, 2026 at 08:14:15PM +0000, Jean-Luc Dalous wrote:
>Package: openssh-sftp-server
>Version: 1:10.0p2-7+deb13u4
>Severity: normal
>Architecture: arm64 (Raspberry Pi 4, Debian trixie, kernel 6.18.50+rpt-rpi-v8)
>The external sftp-server binary exits immediately with return code 11 and no output, making the sftp subsystem unusable (scp/sftp fail with "Connection closed" while interactive ssh works fine).
>Steps to reproduce:
>printf '3\n\n1\n\n' | /usr/lib/openssh/sftp-server; echo $? → rc=11, no output at all.

This isn't a valid reproducer, because that exit code is expected in 
this case due to the input not being a well-formed SSH protocol message.  
If you add the -e option, you should see something like:

   $ printf '3\n\n1\n\n' | /usr/lib/openssh/sftp-server -e
   bad message from 62.31.171.222 local user cjwatson

I assume that you derived this reproducer from something more 
complicated.  Could you go back a few steps?

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
Technical Details
Message-ID: <NLTod-4fxk-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NLGhj-48EP-1@gated-at.bofh.it> <NLGhj-48EP-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Colin Watson <cjwatson@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150271: openssh-sftp-server: sftp-server fails silently with return code 11 on arm64 (Raspberry Pi4)
Date: Thu, 08 Oct 2026 12:20:01 +0200
Message-ID: <NLTod-4fxk-5@gated-at.bofh.it>
References: <NLGhj-48EP-1@gated-at.bofh.it> <NLGhj-48EP-1@gated-at.bofh.it>
X-Original-To: Jean-Luc Dalous <dalous@pm.me>, 1150271@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct  8 10:17:06 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Colin Watson <cjwatson@debian.org>, 1150271@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-ssh@lists.debian.org
X-Debian-Pr-Message: followup 1150271
X-Debian-Pr-Package: openssh-sftp-server
X-Debian-Pr-Source: openssh
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Debian-User: cjwatson
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995687
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 21
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 8 Oct 2026 11:15:41 +0100
X-Original-Message-ID: <asdtTc5A2gtSFxNm@riva.ucam.org>
X-Original-References: <dVkHlJz6LD664dQ14jC5csGbpPIql_-g4yjK2czUdBIL30VRD800-Vdh7MG0xY4hezdKaeLzsgctORRCSaTIULH__G4BYGwiPQBFDgiWL5M=@pm.me> <dVkHlJz6LD664dQ14jC5csGbpPIql_-g4yjK2czUdBIL30VRD800-Vdh7MG0xY4hezdKaeLzsgctORRCSaTIULH__G4BYGwiPQBFDgiWL5M=@pm.me>