Bug 1592455

Summary: bct_dump segfaults on non-rsa system
Product: [Fedora] Fedora Reporter: Jiri Kastner <jkastner>
Component: cbootimageAssignee: Nicolas Chauvet (kwizart) <kwizart>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: kwizart
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cbootimage-1.8-1.el7 cbootimage-1.8-1.fc27 cbootimage-1.8-1.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-11 18:11:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
bct from ac100 none

Description Jiri Kastner 2018-06-18 14:49:36 UTC
Created attachment 1452659 [details]
bct from ac100

Description of problem:
while dumping bct downloaded from ac100, bct_dump segfaulted

Version-Release number of selected component (if applicable):
1.7-5

How reproducible:
always

Steps to Reproduce:
1. dnf install cbootimage
2. bct_dump ac100-orig.bct
3. check output

Actual results:
# Bootloader[0].Bl AES Hash  = b299dfabc359e4060147599babbe2936;
Segmentation fault (core dumped)


Expected results:
...
# Bootloader[0].Bl AES Hash  = b299dfabc359e4060147599babbe2936;
# Bootloader[0].RsaPssSigBl:

DevType[0] = NvBootDevType_Sdmmc;
DeviceParam[0].SdmmcParams.ClockDivider           = 0x0000000c;
DeviceParam[0].SdmmcParams.DataWidth              = NvBootSdmmcDataWidth_8Bit;
...

Additional info:
fixed in https://github.com/NVIDIA/cbootimage/commit/64045f993c2cd8989838aeaad3d22107d96d5596

Comment 1 Fedora Update System 2018-06-18 20:58:42 UTC
cbootimage-1.8-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a505bf985f

Comment 2 Fedora Update System 2018-06-18 21:06:42 UTC
cbootimage-1.8-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-960c2fb656

Comment 3 Fedora Update System 2018-06-19 16:36:12 UTC
cbootimage-1.8-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-960c2fb656

Comment 4 Fedora Update System 2018-06-19 16:57:08 UTC
cbootimage-1.8-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a505bf985f

Comment 5 Fedora Update System 2018-06-20 08:05:06 UTC
cbootimage-1.8-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bfce46fb2a

Comment 6 Fedora Update System 2018-06-20 14:57:10 UTC
cbootimage-1.8-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bfce46fb2a

Comment 7 Fedora Update System 2018-07-11 18:11:13 UTC
cbootimage-1.8-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2018-07-11 19:28:14 UTC
cbootimage-1.8-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2018-07-11 20:16:29 UTC
cbootimage-1.8-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.