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 1832645 - [RHEL8][s390x] add kdump sysconfig option to use kexec_file_load by default
Summary: [RHEL8][s390x] add kdump sysconfig option to use kexec_file_load by default
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kexec-tools
Version: 8.3
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: lijiang
QA Contact: xiaoying yan
URL:
Whiteboard:
Depends On:
Blocks: 1674330 1853986 1894575 1895234
TreeView+ depends on / blocked
 
Reported: 2020-05-07 01:42 UTC by lijiang
Modified: 2021-05-18 14:50 UTC (History)
4 users (show)

Fixed In Version: kexec-tools-2.0.20-35.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1895234 (view as bug list)
Environment:
Last Closed: 2021-05-18 14:50:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description lijiang 2020-05-07 01:42:46 UTC
Description of problem:

This is a clone bug from the bz1809448.

kexec_file_load syscall is a new syscall which implemented a in-kernel kexec loader which can relace kexec_load we are using now for kdump.

Previously, with kexec_file_load() interface, kernel prevents unsigned kernel image from being loaded if secure boot is enabled. So kdump will detect whether secure boot is enabled firstly, then decide which interface is chosen to execute, kexec_load() or kexec_file_load(). Otherwise unsigned kernel loading will fail if secure boot enabled, and kexec_file_load() is entered.

But now, the implementation of kexec_file_load() is adjusted in below commit. With this change, if CONFIG_KEXEC_SIG_FORCE is not set, unsigned kernel still has a chance to be allowed to load under some conditions.

commit 99d5cadfde2b ("kexec_file: split KEXEC_VERIFY_SIG into KEXEC_SIG
and KEXEC_SIG_FORCE")

This has been done in Fedora. https://projects.engineering.redhat.com/browse/RHELPLAN-29772


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


How reproducible:
Always.

Steps to Reproduce:
1. kexec -s -p -u xxx
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 lijiang 2020-06-15 11:33:23 UTC
This has been merged in Fedora branch.

66ff48ed6837 ("s390x: add kdump sysconfig option to use the kexec_file_load() syscall")

Comment 12 errata-xmlrpc 2021-05-18 14:50:05 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 (kexec-tools bug fix and enhancement update), 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/RHBA-2021:1607


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