2022-05-19 02:09:15 |
bugproxy |
bug |
|
|
added bug |
2022-05-19 02:09:17 |
bugproxy |
tags |
|
architecture-s39064 bugnameltc-198062 severity-medium targetmilestone-inin--- |
|
2022-05-19 02:09:19 |
bugproxy |
ubuntu: assignee |
|
Skipper Bug Screeners (skipper-screen-team) |
|
2022-05-19 02:09:23 |
bugproxy |
affects |
ubuntu |
linux (Ubuntu) |
|
2022-05-19 11:55:47 |
Frank Heimes |
affects |
linux (Ubuntu) |
s390-tools (Ubuntu) |
|
2022-05-19 11:55:56 |
Frank Heimes |
bug task added |
|
ubuntu-z-systems |
|
2022-05-19 11:56:08 |
Frank Heimes |
bug task added |
|
s390-tools-signed (Ubuntu) |
|
2022-05-19 11:56:28 |
Frank Heimes |
ubuntu-z-systems: assignee |
|
Skipper Bug Screeners (skipper-screen-team) |
|
2022-06-01 08:02:53 |
Frank Heimes |
s390-tools (Ubuntu): assignee |
Skipper Bug Screeners (skipper-screen-team) |
|
|
2022-06-01 08:02:56 |
Frank Heimes |
ubuntu-z-systems: status |
New |
Incomplete |
|
2022-08-30 07:22:36 |
Frank Heimes |
description |
ZIPL segfaults if a section doesn't contain a "parameter=" line.
Adding that line makes the problem go away.
This is especially a problem when secure execution is set up since the parameter is provided in the secure image and hence a zipl parameter is not needed.
---uname output---
Linux linux6 5.15.0-27-generic #28-Ubuntu SMP Thu Apr 14 04:55:23 UTC 2022 s390x s390x s390x GNU/Linux
Machine Type = z16
---Steps to Reproduce---
Add a section to /etc/zipl.conf that doesn't have a parameter line.
Userspace tool common name: zipl
The userspace tool has the following bit modes: 64-bit |
SRU Justification:
------------------
[Impact]
* The zipl boot-loader tool segfaults if a section doesn't contain
a "parameters =" line.
* Adding a "parameters =" line makes the problem go away.
* This is especially problematic when secure execution is set up,
since the parameter is provided in the secure image
and hence a zipl parameter is not needed.
[Fix]
* 6ff8202f 6ff8202fa9e172199e995298d336d9dd87ca8180 "zipl: Add missing check for a nullpointer."
[Test Plan]
* Setup a default Ubuntu Server for s390x test installation.
* Backup the existing /etc/zipl.conf:
cp /etc/zipl.conf ~
* Edit /etc/zipl.conf and remove (or better comment out)
'the parameters =' line:
sudo vi /etc/zipl.conf
and save the file.
* Execute the zipl tool to re-write the zipl bootloader
and it will segfault
without the patch (like this):
sudo zipl
Using config file '/etc/zipl.conf'
Segmentation fault
* or complete successfully (like this):
sudo zipl
Using config file '/etc/zipl.conf'
Building bootmap in '/boot'
Adding IPL section 'ubuntu' (default)
Preparing boot device: dasda (0101).
Done.
[Where problems could occur]
* It's a patch that changes just one line,
checks the existence of the parmline
and only then computes it's length,
and otherwise sets the length to 0.
* Issues could occur if the compact/short if
statement is wrong and for example the logic mixed up.
* Or if somewhere else in the code a length of 0
for the parameters line is not expected and will
cause further issues.
* Both cases can simply be covered by the above test.
[Other Info]
* The above fix is included in s390-tools v2.23
and is with that incl. in the kinetic s390-tools version.
__________
ZIPL segfaults if a section doesn't contain a "parameter=" line.
Adding that line makes the problem go away.
This is especially a problem when secure execution is set up since the parameter is provided in the secure image and hence a zipl parameter is not needed.
---uname output---
Linux linux6 5.15.0-27-generic #28-Ubuntu SMP Thu Apr 14 04:55:23 UTC 2022 s390x s390x s390x GNU/Linux
Machine Type = z16
---Steps to Reproduce---
Add a section to /etc/zipl.conf that doesn't have a parameter line.
Userspace tool common name: zipl
The userspace tool has the following bit modes: 64-bit |
|
2022-08-30 09:41:18 |
Frank Heimes |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2022-08-30 09:43:52 |
Frank Heimes |
attachment added |
|
debdiff_s390-tools_jammy_from_2.20.0-0ubuntu3.1_to_2.20.0-0ubuntu3.2.diff https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1974109/+attachment/5612502/+files/debdiff_s390-tools_jammy_from_2.20.0-0ubuntu3.1_to_2.20.0-0ubuntu3.2.diff |
|
2022-08-30 09:44:11 |
Frank Heimes |
attachment added |
|
debdiff_s390-tools-signed_jammy_from_2.20.0-0ubuntu3.1_to_2.20.0-0ubuntu3.2.diff https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1974109/+attachment/5612503/+files/debdiff_s390-tools-signed_jammy_from_2.20.0-0ubuntu3.1_to_2.20.0-0ubuntu3.2.diff |
|
2022-08-30 09:44:21 |
Frank Heimes |
ubuntu-z-systems: status |
Incomplete |
In Progress |
|
2022-08-30 09:44:25 |
Frank Heimes |
s390-tools (Ubuntu): status |
New |
In Progress |
|
2022-08-30 09:44:30 |
Frank Heimes |
s390-tools-signed (Ubuntu): status |
New |
In Progress |
|
2022-08-30 09:44:38 |
Frank Heimes |
s390-tools (Ubuntu): importance |
Undecided |
Medium |
|
2022-08-30 09:44:40 |
Frank Heimes |
s390-tools-signed (Ubuntu): importance |
Undecided |
Medium |
|
2022-08-30 09:44:43 |
Frank Heimes |
ubuntu-z-systems: importance |
Undecided |
Medium |
|
2022-08-31 20:11:41 |
Brian Murray |
nominated for series |
|
Ubuntu Jammy |
|
2022-08-31 20:11:41 |
Brian Murray |
bug task added |
|
s390-tools (Ubuntu Jammy) |
|
2022-08-31 20:11:41 |
Brian Murray |
bug task added |
|
s390-tools-signed (Ubuntu Jammy) |
|
2022-08-31 20:11:41 |
Brian Murray |
nominated for series |
|
Ubuntu Kinetic |
|
2022-08-31 20:11:41 |
Brian Murray |
bug task added |
|
s390-tools (Ubuntu Kinetic) |
|
2022-08-31 20:11:41 |
Brian Murray |
bug task added |
|
s390-tools-signed (Ubuntu Kinetic) |
|
2022-08-31 20:12:18 |
Brian Murray |
s390-tools (Ubuntu Jammy): status |
New |
In Progress |
|
2022-08-31 20:12:21 |
Brian Murray |
s390-tools (Ubuntu Jammy): importance |
Undecided |
Medium |
|
2022-08-31 20:12:25 |
Brian Murray |
s390-tools-signed (Ubuntu Jammy): status |
New |
In Progress |
|
2022-08-31 20:12:27 |
Brian Murray |
s390-tools-signed (Ubuntu Jammy): importance |
Undecided |
Medium |
|
2022-08-31 20:12:30 |
Brian Murray |
s390-tools-signed (Ubuntu Kinetic): status |
In Progress |
Fix Released |
|
2022-08-31 20:12:32 |
Brian Murray |
s390-tools (Ubuntu Kinetic): status |
In Progress |
Fix Released |
|
2022-09-01 11:49:48 |
bugproxy |
tags |
architecture-s39064 bugnameltc-198062 severity-medium targetmilestone-inin--- |
architecture-s39064 bugnameltc-198062 severity-medium targetmilestone-inin2204 |
|
2022-09-08 14:23:00 |
Simon Chopin |
s390-tools (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2022-09-08 14:23:01 |
Simon Chopin |
s390-tools-signed (Ubuntu Jammy): status |
In Progress |
Fix Committed |
|
2022-09-08 15:23:00 |
Frank Heimes |
ubuntu-z-systems: status |
In Progress |
Fix Committed |
|
2022-09-09 18:28:37 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2022-12-02 00:45:50 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2022-12-02 00:45:52 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2022-12-02 00:45:55 |
Łukasz Zemczak |
tags |
architecture-s39064 bugnameltc-198062 severity-medium targetmilestone-inin2204 |
architecture-s39064 bugnameltc-198062 severity-medium targetmilestone-inin2204 verification-needed verification-needed-jammy |
|
2022-12-02 09:01:11 |
Frank Heimes |
attachment added |
|
verification_jammy.txt https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1974109/+attachment/5633872/+files/verification_jammy.txt |
|
2022-12-02 09:01:40 |
Frank Heimes |
tags |
architecture-s39064 bugnameltc-198062 severity-medium targetmilestone-inin2204 verification-needed verification-needed-jammy |
architecture-s39064 bugnameltc-198062 severity-medium targetmilestone-inin2204 verification-done verification-done-jammy |
|
2023-01-10 19:46:41 |
Launchpad Janitor |
s390-tools (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-01-10 19:46:49 |
Launchpad Janitor |
s390-tools-signed (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-01-10 19:47:02 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2023-01-10 20:23:16 |
Frank Heimes |
ubuntu-z-systems: status |
Fix Committed |
Fix Released |
|