Bug 2464626
| Summary: | Modules in recent ELN kernel builds are incorrectly signed | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson <awilliam> |
| Component: | kernel | Assignee: | Justin M. Forbes <jforbes> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | acaringi, adscvr, airlied, hans, hpa, jforbes, kernel-maint, linville, masami256, mchehab, nickolasjcarr, ptalbert, sardella, steved, suraj.ghimire7, yselkowi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-06-25 20:38:56 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
Adam Williamson
2026-05-02 06:01:50 UTC
Note this does not, for some reason, affect Rawhide. The Rawhide kernel builds have correctly-signed modules that load. It's only the ELN builds that have the issue. I expect this will be fixed with kernel-7.1.0-0.rc2.260505ga293ec25d59dd.17 I have also opened an MR to have RHEL change their config appropriately, and marked it include in release until such time as we have acks and a merge. Root cause is that RHEL/ELN changed to CONFIG_MODULE_SIG_KEY_TYPE_MLDSA_87 from CONFIG_MODULE_SIG_KEY_TYPE_RSA. Rawhide is still using RSA becaus the MLDSA_87 option specifically mentions that it needs openssl 4.0 to be fully functional. The 7.0 build did work because of openssl 4.0 being in the ELN root temporarily. Without openssl 4.0 we must also enable PKCS7_WAIVE_AUTHATTRS_REJECTION_FOR_MLDSA. The Kconfig description follows. Due to use of CMS_NOATTR with ML-DSA not being supported in OpenSSL < 4.0 (and thus any released version), enabling this allows authenticatedAttributes to be used with ML-DSA for module signing. Use of authenticatedAttributes in this context is normally rejected. Thanks a lot for figuring that out. We'll confirm it works when the ELN rebuild happens. Unfortunately that does not seem to have entirely done the trick :( 7.1.0-0.rc2.260505ga293ec25d59dd.17.eln156 failed openQA tests, the compose it's in also fails to boot, and the signatures on modules in it still look very long. Looking at the video of one failed test I do see this message: PCKS7: Waived invalid module sig (has authattrs) which implies setting the option did what it's meant to do, but...we're still not booting successfully. Testing manually in my local VM, I still get `modprobe: ERROR: could not insert 'dm_mod': Key was rejected by service` when trying to do `modprobe dm_mod` in the rescue environment after boot fails. This was fixed a while ago. |