[UBUNTU 20.04] zkey: Fix display of clear key size for XTS keys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
Canonical Foundations Team | ||
s390-tools (Ubuntu) |
Fix Released
|
Undecided
|
Skipper Bug Screeners | ||
Bionic |
Invalid
|
Undecided
|
Unassigned | ||
Eoan |
Won't Fix
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Skipper Bug Screeners |
Bug Description
Description: zkey: Fix display of clear key size for XTS keys
Symptom: The 'zkey list' command shows bogus values for the
keys 'Clear key size' for XTS keys of type CCA-AESDATA
or CCA-AESCIPHER.
Problem: XTS keys consist of 2 keys concatenated to each other.
To calculate the clear key size, the clear key size of
both keys must be added. The code does not address the
of the second key from an invalid memory location. This
This bug has been introduced with feature "Cipher
key support" with commit 298fab68fee8 "zkey: Preparations
for introducing a new key type".
Solution: Correct the addressing of the second key.
Reproduction: Generate an XTS key of type CCA-AESDATA or CCA-AESCIPHER
and then run 'zkey list'.
Upstream commit:
https:/
tags: | added: architecture-s39064 bugnameltc-183404 severity-high targetmilestone-inin2004 |
Changed in ubuntu: | |
assignee: | nobody → Skipper Bug Screeners (skipper-screen-team) |
affects: | ubuntu → linux (Ubuntu) |
affects: | linux (Ubuntu) → s390-tools (Ubuntu) |
Changed in ubuntu-z-systems: | |
importance: | Undecided → High |
status: | New → Triaged |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in s390-tools (Ubuntu Focal): | |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
Changed in s390-tools (Ubuntu Eoan): | |
status: | Invalid → Won't Fix |
tags: | added: fr-884 |
This bug was fixed in the package s390-tools - 2.12.0-0ubuntu1
---------------
s390-tools (2.12.0-0ubuntu1) focal; urgency=medium
* New upstream release, plus cherrypick patches from master.
LP: #1860574 LP: #1860531 LP: #1859018 LP: #1853308
-- Dimitri John Ledkov <email address hidden> Wed, 29 Jan 2020 22:27:05 +0000