Bug 684616

Summary: cryptsetup segfaults in plain mode
Product: Red Hat Enterprise Linux 5 Reporter: Milan Broz <mbroz>
Component: cryptsetup-luksAssignee: Milan Broz <mbroz>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 5.7CC: agk, atodorov, mbroz, pholica, prajnoha, prockai, pvrabec, zkabelac
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cryptsetup-luks-1.0.3-7.el5 Doc Type: Bug Fix
Doc Text:
Previously, the cryptsetup utility could have terminated unexpectedly when the key size was larger than 256 bits. The cryptsetup utility now properly supports keys longer than 256 bits, fixing the problem.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-21 07:04:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Broz 2011-03-13 21:39:19 UTC
Description of problem:

# cryptsetup create x /dev/sdb -h sha256
Enter passphrase: 
Segmentation fault

Version-Release number of selected component (if applicable):
cryptsetup-luks-1.0.3-6.el5.x86_64

Comment 1 Milan Broz 2011-03-13 21:40:02 UTC
Regression in update package.

Comment 3 Milan Broz 2011-03-15 11:41:24 UTC
Fixed in
cryptsetup-luks-1.0.3-7.el5

Comment 5 Alexander Todorov 2011-05-09 11:50:37 UTC
# rpm -q cryptsetup-luks
cryptsetup-luks-1.0.3-8.el5
# cryptsetup create x /dev/vdb -h sha256
Enter passphrase: 
# echo $?
0
# ls -l /dev/mapper/x
brw-rw---- 1 root disk 252, 2  9 may  7,49 /dev/mapper/x

Moving to VERIFIED.

Comment 6 Eliska Slobodova 2011-07-07 16:07:54 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, the cryptsetup utility could have terminated unexpectedly when the key size was larger than 256 bits. The cryptsetup utility now properly supports keys longer than 256 bits, fixing the problem.

Comment 7 errata-xmlrpc 2011-07-21 07:04:21 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0987.html