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 1272080 - libreswan FIPS test mistakenly looks for non-existent file hashes and reports FIPS failure
Summary: libreswan FIPS test mistakenly looks for non-existent file hashes and reports...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libreswan
Version: 6.6
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: 6.8
Assignee: Paul Wouters
QA Contact: Ondrej Moriš
URL:
Whiteboard:
Depends On: 1271811
Blocks: 1272317
TreeView+ depends on / blocked
 
Reported: 2015-10-15 12:41 UTC by Ondrej Moriš
Modified: 2016-05-11 00:16 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1271811
: 1272317 (view as bug list)
Environment:
Last Closed: 2016-05-11 00:16:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0890 0 normal SHIPPED_LIVE libreswan bug fix and enhancement update 2016-05-10 22:49:36 UTC

Description Ondrej Moriš 2015-10-15 12:41:41 UTC
+++ This bug was initially created as a clone of Bug #1271811 +++

Description of problem:
libreswan FIPS test mistakenly looks for non-existent file hashes and reports FIPS failure

For example, /usr/libexec/ipsec/_updown.mast is no longer installed because we compile with USE_MAST=false but this did not properly update the file list for FIPS files, so booting in FIPS would fail.

Fix for this upstream:

https://github.com/libreswan/libreswan/commit/19b50a501772a06fb7648b531852fb588efb0021

Comment 7 Ondrej Moriš 2016-03-11 12:40:06 UTC
Successfully reproduced and verified. 

Old (libreswan-3.15-2.el6)
==========================

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Sanity
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Checking checksums count (Assert: '31' should equal '31')
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_import_crl' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_keycensor' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_pluto_adns' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_plutorun' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_secretcensor' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_stackmanager' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_updown' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_updown.klips' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_updown.netkey' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/addconn' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/auto' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/barf' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/cavp' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/eroute' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/ikeping' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/klipsdebug' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/look' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/newhostkey' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/pf_key' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/pluto' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/readwriteconf' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/rsasigkey' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/secrets' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/setup' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/showhostkey' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/spi' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/spigrp' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/tncfg' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/verify' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/whack' (Expected 0, got 0)
:: [   LOG    ] :: Checking that no bogus is reported (BZ#1268873)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should not contain 'Non-fips mode set' 
:: [   PASS   ] :: File 'journal' should contain 'FIPS: pluto daemon NOT running in FIPS mode' 
:: [   LOG    ] :: FIPS mode NOT detected - simulating it
:: [   PASS   ] :: Command 'touch /etc/system-fips' (Expected 0, got 0)
:: [   LOG    ] :: Handling correct integrity
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   FAIL   ] :: File 'journal' should contain 'FIPS HMAC integrity verification test passed' 
:: [   LOG    ] :: Duration: 19s
:: [   LOG    ] :: Assertions: 37 good, 1 bad
:: [   FAIL   ] :: RESULT: Sanity

New (libreswan-3.15-5.3.el6)
============================

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Sanity
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Checking checksums count (Assert: '31' should equal '31')
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_import_crl' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_keycensor' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_pluto_adns' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_plutorun' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_secretcensor' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_stackmanager' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_updown' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_updown.klips' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/_updown.netkey' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/addconn' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/auto' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/barf' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/cavp' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/eroute' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/ikeping' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/klipsdebug' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/look' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/newhostkey' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/pf_key' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/pluto' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/readwriteconf' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/rsasigkey' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/secrets' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/setup' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/showhostkey' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/spi' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/spigrp' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/tncfg' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/verify' (Expected 0, got 0)
:: [   PASS   ] :: Command 'fipscheck /usr/libexec/ipsec/whack' (Expected 0, got 0)
:: [   LOG    ] :: Checking that no bogus is reported (BZ#1268873)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should not contain 'Non-fips mode set' 
:: [   PASS   ] :: File 'journal' should contain 'FIPS: pluto daemon NOT running in FIPS mode' 
:: [   LOG    ] :: FIPS mode NOT detected - simulating it
:: [   PASS   ] :: Command 'touch /etc/system-fips' (Expected 0, got 0)
:: [   LOG    ] :: Handling correct integrity
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification test passed' 
:: [   LOG    ] :: Duration: 20s
:: [   LOG    ] :: Assertions: 38 good, 0 bad
:: [   PASS   ] :: RESULT: Sanity

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: HMAC Corruption
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._import_crl.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   FAIL   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._keycensor.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._plutorun.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._secretcensor.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._stackmanager.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._updown.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._updown.klips.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._updown.netkey.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.addconn.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.auto.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.barf.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.cavp.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   FAIL   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.eroute.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.ikeping.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.klipsdebug.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.look.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.newhostkey.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.pf_key.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.pluto.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.readwriteconf.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.rsasigkey.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.secrets.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.setup.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.showhostkey.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.spi.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.spigrp.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.tncfg.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.verify.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.whack.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: Corrupting /usr/sbin/.ipsec.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   LOG    ] :: Duration: 3m 38s
:: [   LOG    ] :: Assertions: 88 good, 2 bad
:: [   FAIL   ] :: RESULT: HMAC Corruption

FIPS 

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: HMAC Corruption
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._import_crl.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 0)
:: [   FAIL   ] :: Checking ipsec status (Expected 1-255, got 0)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   FAIL   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   FAIL   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._keycensor.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._plutorun.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._secretcensor.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._stackmanager.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._updown.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._updown.klips.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/._updown.netkey.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.addconn.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.auto.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.barf.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.cavp.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 0)
:: [   FAIL   ] :: Checking ipsec status (Expected 1-255, got 0)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   FAIL   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   FAIL   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.eroute.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.ikeping.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.klipsdebug.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.look.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.newhostkey.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.pf_key.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.pluto.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.readwriteconf.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.rsasigkey.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.secrets.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.setup.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.showhostkey.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.spi.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.spigrp.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.tncfg.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.verify.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/libexec/ipsec/.whack.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   PASS   ] :: Corrupting /usr/sbin/.ipsec.hmac (Expected 0, got 0)
:: [   PASS   ] :: Starting ipsec (Expected 0-255, got 1)
:: [   PASS   ] :: Checking ipsec status (Expected 1-255, got 3)
:: [   PASS   ] :: Stopping ipsec (Expected 0, got 0)
:: [   PASS   ] :: File 'journal' should contain 'FIPS HMAC integrity verification FAILURE' 
:: [   PASS   ] :: File 'journal' should contain 'ABORT: FIPS product and kernel in FIPS mode' 
:: [   LOG    ] :: Duration: 7m 36s
:: [   LOG    ] :: Assertions: 174 good, 6 bad
:: [   FAIL   ] :: RESULT: HMAC Corruption

Failures in NEW are tracked in BZ#1316616 proposed for 6.9.0. From 6.8.0 perspective they are expected and harmless.

Comment 9 errata-xmlrpc 2016-05-11 00:16:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0890.html


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