[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-18 Thread Frank Heimes
** Changed in: ubuntu-z-systems
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Fix Released
Status in openssh package in Ubuntu:
  Invalid
Status in openssl-ibmca package in Ubuntu:
  Fix Released

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: pkcs11
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1819487/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-18 Thread Launchpad Bug Tracker
This bug was fixed in the package openssl-ibmca - 2.0.2-0ubuntu2

---
openssl-ibmca (2.0.2-0ubuntu2) disco; urgency=medium

  * Rework error string init and exit. LP: #1819487

 -- Dimitri John Ledkov   Mon, 18 Mar 2019 15:03:08
+

** Changed in: openssl-ibmca (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in openssh package in Ubuntu:
  Invalid
Status in openssl-ibmca package in Ubuntu:
  Fix Released

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: pkcs11
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1819487/+subscriptions

-- 
Mailing list

[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-18 Thread Frank Heimes
** Changed in: openssl-ibmca (Ubuntu)
   Status: New => Fix Committed

** Changed in: ubuntu-z-systems
   Status: Triaged => Fix Committed

** Changed in: openssh (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Fix Committed
Status in openssh package in Ubuntu:
  Invalid
Status in openssl-ibmca package in Ubuntu:
  Fix Committed

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: pkcs11
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1819487/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad

[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-18 Thread Frank Heimes
I just verified the updated package:
$ apt-cache policy openssl-ibmca
openssl-ibmca:
  Installed: 2.0.2-0ubuntu2
  Candidate: 2.0.2-0ubuntu2
  Version table:
 *** 2.0.2-0ubuntu2 100
100 /var/lib/dpkg/status
 2.0.2-0ubuntu1 500
500 http://us.ports.ubuntu.com/ubuntu-ports disco/universe s390x 
Packages
and it looks like it fixes the problem.
With this package installed and hw crypto enabled,
I can again remotely (and locally) login again into that disco system w/o a 
sshd crash.
Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New
Status in openssl-ibmca package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: pkcs11

[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-18 Thread Dimitri John Ledkov
This PPA:
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3681

Will soon have openssl-ibmca with above mentioned patch, built and
published.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New
Status in openssl-ibmca package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: pkcs11
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1819487/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-18 Thread Dimitri John Ledkov
This cannot be reproduced on 18.10, as on 18.10 openssh uses libssl1.0.0
package, yet openssl-ibmca is provided for libssl1.1 only.

In disco (19.04), openssh has been upgraded to use libssl1.1 with a
matching openssl-ibmca for libssl1.1.

If you want to reproduce this on 18.10, do add 'disco' repository in
/etc/apt/sources.list and upgrade to disco's version of openssh-server.

(note that 19.04 uses newer openssl-ibmca too 2.0.2 vs 2.0.0 which was
in 18.10).

** Also affects: openssl-ibmca (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New
Status in openssl-ibmca package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log present (proba

[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-18 Thread Frank Heimes
$ sudo lszcrypt -b
ap_domain=0xc
ap_max_domain_id=0x54
ap_interrupts are enabled
config_time=30 (seconds)
poll_thread is disabled
poll_timeout=25 (nanoseconds)

$ sudo lszcrypt -V
CARD.DOMAIN TYPE  MODESTATUS  REQUESTS  PENDING HWTYPE QDEPTH FUNCTIONS 
 DRIVER 

00  CEX5C CCA-Coproc  online1000160 11 08 S--D--N-- 
 cex4card   
00.000c CEX5C CCA-Coproc  online1000160 11 08 S--D--N-- 
 cex4queue

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New
Status in openssl-ibmca package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log presen

[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-15 Thread bugproxy
--- Comment From heinz-werner_se...@de.ibm.com 2019-03-15 08:55 EDT---
Description will be mirrored via reverse mirroring

** Tags added: architecture-s39064 bugnameltc-176142 severity-high
targetmilestone-inin1904

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: pkcs11
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1819487/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpa

[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-14 Thread Harald Freudenberger
enough ffdc data
Thanks

This happens at ibmca destruction time.
Looks like there is some kind of double free or so in the
destructor for the ibmca engine. We had some issues like
this in the past already. I'll have a look onto the code ...

Thanks Frank and Xnox

regards Harald Freudenberger

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: pkcs11
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1819487/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : ht

[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-14 Thread Frank Heimes
apport information

** Tags added: apport-collected disco

** Description changed:

  While using today's daily image of disco (either in z/VM or on LPAR) and
  enabling s309x hardware crypto support in openssh, sshd crashes with the
  following messages:
  
  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)
  
  Steps to reproduce - on disco daily:
  
  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux
  
  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe
  
  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4
  
  For more details see attachments ...
+ --- 
+ ProblemType: Bug
+ ApportVersion: 2.20.10-0ubuntu23
+ Architecture: s390x
+ DistroRelease: Ubuntu 19.04
+ Package: openssh-server 1:7.9p1-9
+ PackageArchitecture: s390x
+ ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
+ SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
+ Tags:  disco
+ Uname: Linux 5.0.0-7-generic s390x
+ UpgradeStatus: No upgrade log present (probably fresh install)
+ UserGroups: pkcs11
+ _MarkForUpload: True

** Attachment added: "Dependencies.txt"
   
https://bugs.launchpad.net/bugs/1819487/+attachment/5246119/+files/Dependencies.txt

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPt

[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-14 Thread Frank Heimes
ubuntu-bug upload see:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1820056

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.10-0ubuntu23
  Architecture: s390x
  DistroRelease: Ubuntu 19.04
  Package: openssh-server 1:7.9p1-9
  PackageArchitecture: s390x
  ProcVersionSignature: Ubuntu 5.0.0-7.8-generic 5.0.0
  SSHDConfig: Error: command ['/usr/sbin/sshd', '-T'] failed with exit code -11:
  Tags:  disco
  Uname: Linux 5.0.0-7-generic s390x
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: pkcs11
  _MarkForUpload: True

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1819487/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-14 Thread Frank Heimes
Two crash files were already uploaded - see above, but manually.

I just created another nice(er) 'apport-retrace --gdb' output locally on
that system (w/ dbgsym):

$ sudo apport-retrace --gdb --rebuild-package-info 
/var/crash/_usr_sbin_sshd.0.crash
GNU gdb (Ubuntu 8.2.90-0ubuntu1) 8.2.90
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "s390x-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Reading symbols from /usr/sbin/sshd...
Reading symbols from 
/usr/lib/debug/.build-id/18/2cb9bda0be98e50d87a4104872aead696f1998.debug...
[New LWP 4508]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/s390x-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/sshd -T'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __pthread_rwlock_wrlock_full (abstime=0x0, rwlock=0x0)
at pthread_rwlock_common.c:581
581 pthread_rwlock_common.c: No such file or directory.
(gdb) bt
#0  __pthread_rwlock_wrlock_full (abstime=0x0, rwlock=0x0)
at pthread_rwlock_common.c:581
#1  __GI___pthread_rwlock_wrlock (rwlock=0x0) at pthread_rwlock_wrlock.c:27
#2  0x03ffab27238a in CRYPTO_THREAD_write_lock ()
   from /lib/s390x-linux-gnu/libcrypto.so.1.1
#3  0x03ffab208b32 in ERR_unload_strings ()
   from /lib/s390x-linux-gnu/libcrypto.so.1.1
#4  0x03ffab6868b4 in ERR_unload_IBMCA_strings () at e_ibmca_err.c:122
#5  0x03ffab684dd2 in ibmca_destructor () at e_ibmca.c:754
#6  0x03ffab7100ea in ?? () from /lib/ld64.so.1
#7  0x03ffaabc79e8 in __run_exit_handlers (status=, 
listp=0x3ffaad189a8 <__exit_funcs>, 
run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true)
at exit.c:108
#8  0x03ffaabc7ad8 in __GI_exit (status=) at exit.c:139
#9  0x02aa192909c0 in main (ac=, av=)
at ../../sshd.c:2257
(gdb) quit

(if you wanna see it colored, see attachment)

** Attachment added: "gbd_session.png"
   
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1819487/+attachment/5246118/+files/gbd_session.png

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fau

[Touch-packages] [Bug 1819487] Re: sshd crashed on s390x with hw crypto enabled

2019-03-14 Thread Frank Heimes
** Also affects: openssh (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1819487

Title:
  sshd crashed on s390x with hw crypto enabled

Status in Ubuntu on IBM z Systems:
  Triaged
Status in openssh package in Ubuntu:
  New

Bug description:
  While using today's daily image of disco (either in z/VM or on LPAR)
  and enabling s309x hardware crypto support in openssh, sshd crashes
  with the following messages:

  $ ssh ubuntu@localhost
  The authenticity of host 'localhost (::1)' can't be established.
  ECDSA key fingerprint is SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
  ubuntu@localhost's password:
  packet_write_wait: Connection to ::1 port 22: Broken pipe
  (local session is sufficient to reproduce)

  Steps to reproduce - on disco daily:

  $ lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu Disco Dingo (development branch)
  Release:  19.04
  Codename: disco
  $ uname -a
  Linux zlin42 5.0.0-7-generic #8-Ubuntu SMP Mon Mar 4 16:25:21 UTC 2019 s390x 
s390x s390x GNU/Linux

  - enable z hw crypto support for openssh on an Ubuntu host (zlin42) on s390x 
like this:
  - sudo apt-get install openssl-ibmca libica-utils libica3
  - sudo tee -a /etc/ssl/openssl.cnf < 
/usr/share/doc/openssl-ibmca/examples/openssl.cnf.sample
  - sudo sed -i 's/^\(openssl_conf = openssl_def.*$\)/# \1/g' 
/etc/ssl/openssl.cnf
  - sudo sed -i '10i openssl_conf = openssl_def' /etc/ssl/openssl.cnf
  - afterwards ssh login attempts fail (existing session are unaffected):
     $ ssh ubuntu@localhost
     The authenticity of host 'localhost (::1)' can't be established.
     ECDSA key fingerprint is 
SHA256:KoTYC0jCQPtmsOMmBW9DrCiBbkrKTL0leQ/zoIaInNw.
     Are you sure you want to continue connecting (yes/no)? yes
     Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
     ubuntu@localhost's password:
     packet_write_wait: Connection to ::1 port 22: Broken pipe

  [94629.032586] User process fault: interruption code 003b ilc:2 in 
libpthread-2.29.so[3ff7d48+1c000]
  [94629.032597] Failing address:  TEID: 0800
  [94629.032598] Fault in primary space mode while using user ASCE.
  [94629.032601] AS:0007450281c7 R3:0024
  [94629.032606] CPU: 0 PID: 8183 Comm: sshd Not tainted 5.0.0-7-generic 
#8-Ubuntu
  [94629.032607] Hardware name: IBM 2964 N63 400 (LPAR)
  [94629.032608] User PSW : 070520018000 03ff7d48e954
  [94629.032610]R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:1 AS:0 CC:2 PM:0 
RI:0 EA:3
  [94629.032611] User GPRS:    
03ff7e0085c8
  [94629.032612]03ff7e510108 03ff7db1c3a8  
03fff857eea0
  [94629.032613]03ff7e525040 02aa3f5ec090 03ff7e4916f0 
03ff7e4921a8
  [94629.032614]03ff7db17c18 0002 03ff7e07238a 
03fff857ea20
  [94629.032622] User Code: 03ff7d48e946: b9040012  lgr %r1,%r2
    03ff7d48e94a: e3f0ff60ff71  lay 
%r15,-160(%r15)
   #03ff7d48e950: 4700  bc  0,0
   >03ff7d48e954: 58202018  l   
%r2,24(%r2)
    03ff7d48e958: b24f00b0  ear %r11,%a0
    03ff7d48e95c: ebbb002d  sllg
%r11,%r11,32
    03ff7d48e962: b24f00b1  ear %r11,%a1
    03ff7d48e966: 5920b0d0  c   
%r2,208(%r11)
  [94629.032634] Last Breaking-Event-Address:
  [94629.032638]  [<03ff7df773b4>] 0x3ff7df773b4

  For more details see attachments ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1819487/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp