Bug 1759325
Summary: | please set CONFIG_EFI_TEST to "m" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Laszlo Ersek <lersek> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | airlied, bskeggs, fmartine, hdegoede, ichavero, itamar, jarodwilson, jeremy, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, masami256, mchehab, mjg59, steved |
Target Milestone: | --- | Keywords: | RFE |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | kernel-5.6.0-1.fc33 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-06 00:03:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Laszlo Ersek
2019-10-07 20:36:50 UTC
I think allowing userland to pass arbitrary arguments to firmware calls is probably something that should be lockdown gated. I'll write a patch for upstream. (In reply to Matthew Garrett from comment #1) > I think allowing userland to pass arbitrary arguments to firmware calls is > probably something that should be lockdown gated. I'll write a patch for > upstream. I can post a v2 of that patch that also locks down the module besides requiring the CAP_SYS_ADMIN capability. I've posted a v2 of the patch that also locks down access to the chardev as suggested by Matthew: https://lkml.org/lkml/2019/10/8/309 (In reply to Javier Martinez Canillas from comment #3) > I've posted a v2 of the patch that also locks down access to the chardev as > suggested by Matthew: > > https://lkml.org/lkml/2019/10/8/309 Merged upstream as commit 359efcc2c910 ("efi/efi_test: Lock down /dev/efi_test and require CAP_SYS_ADMIN", 2019-10-31); included in Linux v5.4. Meaning CONFIG_EFI_TEST=m should be acceptable at least in Fedora 32. In the <https://gitlab.com/cki-project/kernel-ark.git> repo, the CONFIG_EFI_TEST=m change seems to have been made already, in commit c84606a7c8b6 ("[redhat] Align some configs for Fedora", 2019-11-20). That commit is a part of tag "kernel-5.6.0-1.fc33". "kernel-core-5.6.0-1.fc33.aarch64.rpm" and "kernel-core-5.6.0-1.fc33.x86_64.rpm" agree. Fedora 33 seems "branched" and not "rawhide" at this moment, so I'm closing this as NEXTRELEASE. Thanks. |