RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1053655 - dracut allows booting in fips mode when vmlinuz has incorrect hmac
Summary: dracut allows booting in fips mode when vmlinuz has incorrect hmac
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dracut
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: dracut-maint
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 782468
TreeView+ depends on / blocked
 
Reported: 2014-01-15 15:15 UTC by Pavel Holica
Modified: 2023-05-10 14:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 11:34:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
console (38.13 KB, text/plain)
2014-01-15 15:15 UTC, Pavel Holica
no flags Details

Description Pavel Holica 2014-01-15 15:15:47 UTC
Created attachment 850558 [details]
console

Description of problem:
I've installed system in fips mode and after installed system booted, I've removed first byte in hmac file for vmlinuz in /boot. After reboot, dracut drops to dracut shell stating "Warning: dracut: Refusing to continue". I've pressed ctrl-d, dracut again drops to shell, pressed ctrl-d and then boot continued into system.

Version-Release number of selected component (if applicable):
dracut-033-68.el7
RHEL-7.0-20140110.0 x86_64 Client

How reproducible:
always

Steps to Reproduce:
1. Install system with fips enabled
2. In installed system, remove first byte from file /boot/.vmlinuz-3.10.0-67.el7.x86_64.hmac
3. reboot
4. once dropped in dracut shell, press ctrl-d
5. once dropped in dracut shell, press ctrl-d

Actual results:
System boots (although some strange issues happen, e.g. /boot is not mounted)

Expected results:
One shouldn't be dropped to dracut shell and system doesn't boot.

Additional info:

Comment 2 Ľuboš Kardoš 2014-02-03 09:01:37 UTC
Verified on dracut-033-85 (RHEL-7.0-20140127.0).

Comment 3 Ludek Smid 2014-06-13 11:34:23 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.