PKA reboot flow kernel traces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On some Bluefield platforms, the reboot flow leaves PKA traces in the kernel.
This is due to PKA being corrupt on boot-up due to multiple applications using PKA at the same time.
Handling multiple applications requires a new feature in the PKA driver.
SRU Justification:
[Impact]
* Kernel traces are seen at startup on Bluefield platforms (by Mellanox/Nvidia) due to applications using public key accelerator (PKA) hardware simultaneously.
[Fix]
* Allow synchronized usage of PKA hardware resources "pka: Handle ring open scenario when rings are busy"
[Test Case]
* Trigger multiple processes/
* Note: On Bluefield platforms the OpenSSL dynamic engine (-engine pka, in the above example) is loaded by default.
[Regression Potential]
* The regression can be considered as low, since the rings are shared in a synchronized manner there is no corruption due to different applications running concurrently.
* As there are limited resources (PKA rings) available, if exhausted, can cause applications fail to execute (due to resource unavailability). This is an expected behaviour.
[Other]
* Note: Unit of PKA HW available for application usage is called a ring.
CVE References
description: | updated |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in linux-bluefield (Ubuntu): | |
status: | New → Invalid |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-focal removed: verification-needed-focal |
This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification- needed- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.
See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you!