Bug 3232 - The new select syscall needed for ARM architecture
Summary: The new select syscall needed for ARM architecture
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 8.4p1
Hardware: ARM64 Linux
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_8_5
  Show dependency treegraph
 
Reported: 2020-11-19 21:39 AEDT by Jakub Jelen
Modified: 2021-04-23 14:53 AEST (History)
3 users (show)

See Also:


Attachments
proposed patch (420 bytes, text/plain)
2020-11-19 21:39 AEDT, Jakub Jelen
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Jelen 2020-11-19 21:39:04 AEDT
Created attachment 3454 [details]
proposed patch

I got a new report that with a new kernel on armhfp (armv7hl), sshd fails in the sandbox. Later debugging uncovered the syscall number, which is missing:

type=SECCOMP msg=audit(1605645779.332:638): auid=4294967295 uid=74 gid=74 ses=4294967295 subj=system_u:system_r:sshd_net_t:s0-s0:c0.c1023 pid=796 comm="sshd" exe="/usr/sbin/sshd" sig=31 arch=40000028 syscall=413 compat=0 ip=0xb68db370 code=0x0AUID="unset" UID="sshd" GID="sshd" ARCH=armeb SYSCALL=unknown-syscall(413)

On arm 413 looks to be pselect6_time64

I tried the attached patch and it solved the issue. For more information, see the Fedora bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1897712
Comment 1 Darren Tucker 2020-11-20 13:40:11 AEDT
Patch applied, thanks.  It will be in the next major release.
Comment 2 Arkadiusz Miśkiewicz 2021-03-02 21:34:10 AEDT
A note, i686 needed this patch, too (glibc 2.33).
Comment 3 Damien Miller 2021-04-23 14:53:12 AEST
closing resolved bugs as of 8.6p1 release