Bug 2362996
| Summary: | rpmKeyringVerifySig2 attempts to lock mutex of NULL keyring | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Aaron Merey <amerey> | ||||
| Component: | rpm | Assignee: | Panu Matilainen <pmatilai> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | igor.raits, mdomonko, packaging-team-maint, pmatilai | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | --- | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-05-12 08:59:13 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Aaron Merey
2025-04-29 20:39:14 UTC
Created attachment 2087780 [details]
backtrace.txt
Hey, thanks for reporting! This has sufficient info for fixing, the missing NULL check is rather obvious in the code. I'll look into it. > Debuginfod server calls rpmReadPackageFile in order to verify IMA signatures.
Note that rpmReadPackageFile() does NOT verify IMA signatures. Rpm itself never does. IMA verification only happens during an actual installation, if the IMA plugin is present and enabled.
Ignore the above note, re-reading more carefully debuginfod is reading the header *in order to* verify the IMA signatures (by itself). Upstream fix now at https://github.com/rpm-software-management/rpm/pull/3741 Fixed in rpm >= 5.99.90-5 now |