DASDFMT fails with a buffer overflow error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
High
|
bugproxy | ||
debian-installer (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
s390-tools (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Xenial |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
[Impact]
* In certain hardware configurations, dasdfmt fails to format a drive, thus preventing successful installation and/or initialisation of a new disk.
"there is a bug in the parsing of /proc/dasd/devices which is being triggered only if an FBA device is listed prior to the ECKD device in question. And since you've had FBA devices attached to your system during the installation, you ran into that bug."
[Test Case]
* Activate on a system and FBA device and a ECKD device
* Check that FBA device is listed first in /proc/dasd/devices
* Try to dasdfmt the ECKD device with $ dasdfmt -t /dev/dasdX
* One can change ECKD to "FBA " in /proc/dasd/devices by bind-mounting an edited file in place to reproduce the bug
[Regression Potential]
* Minimal. Bug fix cherrypick from upstream.
[Original Description]
During installation, either through the menu or in an ssh session , dasdfmt fails with a buffer overflow error and does not format the dasd volume. The volume is a z/VM minidisk - defined as 1 to end, this is common in this environment. The DASD volume was formatted from z/VM as a minidisk volume. These are the same steps taken for other distributions running under z/VM. I've attached some screen shots.
Related branches
tags: | added: s390x |
Changed in ubuntu-z-systems: | |
importance: | Undecided → High |
Changed in ubuntu-z-systems: | |
status: | New → Triaged |
tags: | added: architecture-s39064 bugnameltc-141598 severity-high targetmilestone-inin1610 |
Changed in ubuntu-z-systems: | |
assignee: | nobody → bugproxy (bugproxy) |
Changed in s390-tools (Ubuntu): | |
status: | New → In Progress |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
Changed in s390-tools (Ubuntu): | |
status: | In Progress → Triaged |
Changed in s390-tools (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in s390-tools (Ubuntu): | |
importance: | Undecided → High |
Changed in s390-tools (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in s390-tools (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in s390-tools (Ubuntu Xenial): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
description: | updated |
tags: | added: patch |
description: | updated |
Changed in s390-tools (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
Marking s390-tools affected due to image #5:
/dev # dasdfmt -b 4096 /dev/dasdc
*** buffer overflow detected ***: dasdfmt terminated
Aborted
/dev #