libica crashes with illegal instruction on zEC12-GA1

Bug #1642639 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
Medium
Dimitri John Ledkov
libica (Ubuntu)
Fix Released
High
Dimitri John Ledkov
Xenial
Fix Released
Medium
Unassigned
Yakkety
Fix Released
Medium
Unassigned
Zesty
Fix Released
High
Dimitri John Ledkov

Bug Description

[impact]
* impossible to use hw accelerated crypto on zEC12 hardware

[testcase]
* execute e.g. icastats on zEC12 march
* it shall not crash / result in illegal instructions

Please backport libica upstream commit:

    Fix msa level detection

    Fixed problem in library constructor that was leading to false positive
    msa level detection resulting in illegal instruction.

See also:
https://sourceforge.net/p/opencryptoki/libica/ci/eeb40e5aea7dd36580629e6b17cd7f03fb62549c/

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-148864 severity-high targetmilestone-inin1604
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → linux (Ubuntu)
affects: linux (Ubuntu) → libica (Ubuntu)
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
assignee: nobody → Dimitri John Ledkov (xnox)
Changed in libica (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → Dimitri John Ledkov (xnox)
status: New → Triaged
importance: Undecided → High
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-11-22 08:25 EDT-------
Changed Target Milestone to 16.04.1

tags: added: targetmilestone-inin16041
removed: targetmilestone-inin1604
Changed in libica (Ubuntu Zesty):
status: Triaged → Fix Committed
Changed in libica (Ubuntu Yakkety):
status: New → Triaged
Changed in libica (Ubuntu Xenial):
status: New → Triaged
Changed in libica (Ubuntu Yakkety):
importance: Undecided → Medium
Changed in libica (Ubuntu Xenial):
importance: Undecided → Medium
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libica - 2.6.1-4

---------------
libica (2.6.1-4) unstable; urgency=medium

  * Cherry-pick upstream patch to fix msa level detection.
    LP: #1642639. Closes: #845056
  * Build-depend on libssl1.0-dev, upgrade to 1.1 requires v3.0 upstream
    release. Closes: #835811

 -- Dimitri John Ledkov <email address hidden> Tue, 22 Nov 2016 16:13:12 +0000

Changed in libica (Ubuntu Zesty):
status: Fix Committed → Fix Released
Changed in libica (Ubuntu Xenial):
milestone: none → ubuntu-16.04.2
Changed in libica (Ubuntu Yakkety):
milestone: none → yakkety-updates
status: Triaged → In Progress
Changed in libica (Ubuntu Xenial):
status: Triaged → In Progress
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Triaged → In Progress
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello bugproxy, or anyone else affected,

Accepted libica into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libica/2.6.1-1ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libica (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in libica (Ubuntu Yakkety):
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello bugproxy, or anyone else affected,

Accepted libica into yakkety-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libica/2.6.1-3ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: In Progress → Fix Committed
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Verified with testsuite that libica does not regress on xenial, on z13 box. Do not have access to zEC12 hardware to verify that msa detection is now resolved.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Similarly no regression on yakkety, on z13 either.

Revision history for this message
bugproxy (bugproxy) wrote : Patched ubuntu source package

Default Comment by Bridge

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

zEC12-GA1 not available for testing; does not regress on GA2 or z13; please release as is.

tags: added: verification-done
removed: verification-needed
bugproxy (bugproxy)
tags: added: verification-needed
removed: verification-done
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-01-16 10:42 EDT-------
Additionally source code review done by IBM. Fix is included ! Please SRU this fix.. Thx

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 1642639] Comment bridged from LTC Bugzilla

On 16 January 2017 at 15:49, bugproxy <email address hidden> wrote:
> ------- Comment From <email address hidden> 2017-01-16 10:42 EDT-------
> Additionally source code review done by IBM. Fix is included ! Please SRU this fix.. Thx
>

Please do not remove verification-done tags on the bug via bugproxy.

--
Regards,

Dimitri.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libica - 2.6.1-1ubuntu2.1

---------------
libica (2.6.1-1ubuntu2.1) xenial; urgency=medium

  * Cherry-pick upstream patch to fix msa level detection.
    LP: #1642639.

 -- Dimitri John Ledkov <email address hidden> Wed, 04 Jan 2017 12:35:34 +0000

Changed in libica (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Robie Basak (racb) wrote : Update Released

The verification of the Stable Release Update for libica has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libica - 2.6.1-3ubuntu0.1

---------------
libica (2.6.1-3ubuntu0.1) yakkety; urgency=medium

  * Cherry-pick upstream patch to fix msa level detection.
    LP: #1642639.

 -- Dimitri John Ledkov <email address hidden> Tue, 22 Nov 2016 16:13:12 +0000

Changed in libica (Ubuntu Yakkety):
status: Fix Committed → Fix Released
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-01-25 06:42 EDT-------
IBM Bugzilla -> closed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.