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 1752050 - Memory corruption in systemd-cryptsetup
Summary: Memory corruption in systemd-cryptsetup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: systemd
Version: 8.0
Hardware: Unspecified
OS: Unspecified
urgent
unspecified
Target Milestone: rc
: 8.0
Assignee: David Tardon
QA Contact: Frantisek Sumsal
URL:
Whiteboard:
: 1759954 (view as bug list)
Depends On:
Blocks: 1751912 1777037
TreeView+ depends on / blocked
 
Reported: 2019-09-13 14:33 UTC by Sergio Correia
Modified: 2022-04-25 23:35 UTC (History)
6 users (show)

Fixed In Version: systemd-239-19.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1777037 (view as bug list)
Environment:
Last Closed: 2020-04-28 16:45:02 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-28498 0 None None None 2022-04-25 23:35:39 UTC
Red Hat Product Errata RHSA-2020:1794 0 None None None 2020-04-28 16:45:20 UTC

Description Sergio Correia 2019-09-13 14:33:59 UTC
Description of problem:

When trying to use clevis to unlock multiple LUKS devices automatically, systemd-cryptsetup crashes with SIGABRT.


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

systemd-239-13.el8.x86_64

How reproducible:
Always, when using a clevis setup as per https://bugzilla.redhat.com/show_bug.cgi?id=1751912


Steps to Reproduce:
1.  Install RHEL 8.0 w/ multiple LUKS1 devices
2.  Configure the LUKS devices to be decrypted with tang server
3.  Reboot

Actual results:

systemd-cryptsetup will crash due to memory corruption.
journalctl will have messages like the following:

systemd-cryptsetup@luks\x2dc695d0af\x2db6a0\x2d4e93\x2d941f\x2d53c0f36c865d.service: Main process exited, code=dumped, status=6/ABRT
Sep 13 07:11:47 rhel-luks1 systemd[1]: systemd-cryptsetup@luks\x2dc695d0af\x2db6a0\x2d4e93\x2d941f\x2d53c0f36c865d.service: Failed with result 'core-dump'.
Sep 13 07:11:47 rhel-luks1 systemd[1]: Failed to start Cryptography Setup for luks-c695d0af-b6a0-4e93-941f-53c0f36c865d.


Expected results:

No crashes in systemd-cryptsetup.

Additional info:

Backporting this upstream fix resolves this particular memory corruption: https://github.com/systemd/systemd/commit/59c55e73eaee345e1ee67c23eace8895ed499693

Comment 1 David Tardon 2019-09-17 13:45:29 UTC
PR: https://github.com/systemd-rhel/rhel-8/pull/20

Comment 3 Renaud Métrich 2019-10-09 15:11:05 UTC
*** Bug 1759954 has been marked as a duplicate of this bug. ***

Comment 5 Lukáš Nykrýn 2019-10-21 09:21:42 UTC
fix merged to github master branch -> https://github.com/systemd-rhel/rhel-8/pull/20 -> post

Comment 10 errata-xmlrpc 2020-04-28 16:45:02 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://access.redhat.com/errata/RHSA-2020:1794


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