Bug 2514390
| Summary: | Regression in kernel 7.1.3 and 7.1.8 causes TPM2 to fail initialization on Lenovo hardware, resulting in missing /dev/tpmrm0 and breaking LUKS automatic disk unlocking. | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Asmit <asmitkesarwani3105> | ||||||||||||
| Component: | kernel | Assignee: | Justin M. Forbes <jforbes> | ||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||
| Severity: | medium | Docs Contact: | |||||||||||||
| Priority: | unspecified | ||||||||||||||
| Version: | 44 | CC: | acaringi, adscvr, airlied, fedorabugzilla.hankie929, hans, hpa, jforbes, junjie.cao, kernel-maint, linville, masami256, mchehab, nickolasjcarr, ptalbert, steved, suraj.ghimire7 | ||||||||||||
| Target Milestone: | --- | Keywords: | Regression | ||||||||||||
| Target Release: | --- | ||||||||||||||
| Hardware: | x86_64 | ||||||||||||||
| OS: | Linux | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Fixed In Version: | kernel-7.1.13-200.fc44 kernel-7.1.13-100.fc43 | Doc Type: | --- | ||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||
| Clone Of: | Environment: | ||||||||||||||
| Last Closed: | 2026-09-04 01:11:33 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
Asmit
2026-08-11 20:33:08 UTC
Created attachment 2154266 [details]
dmseg_working_7.0.14
Created attachment 2154268 [details]
dmesg_working_7.0.14
Created attachment 2154269 [details]
dmseg_broken_7.1.8
Created attachment 2154270 [details]
system_info
Created attachment 2154271 [details]
acpi_dump
Your 7.1.8 log has the answer:
platform MSFT0101:00: failed to claim resource 1: [mem 0xfed40000-0xfed40fff]
acpi MSFT0101:00: platform device creation failed: -16
and no tpm_crb line at all. Through 7.0.x tpm_crb was an ACPI driver and
bound to the acpi_device directly (your 7.0.14 log shows it probing,
"Bad ACPI memory layout" note and all); 48fe2cddc85c ("tpm_crb: Convert
ACPI driver to a platform one", v7.1) made it depend on a platform
device, and on this machine that device can't be registered because of
a resource conflict in the TPM's ACPI description -- hence no driver and
no /dev/tpm0 on every 7.1.x.
Same regression upstream on an Acer Aspire ES1-572:
https://lore.kernel.org/linux-integrity/CAJOGg3z6LJPDsdPNBxajgy8_wQxfhYBRxe4EiurZf3kPU5A5Bw@mail.gmail.com/
Fixed in v7.3-rc1 by f234fdaae1ca ("ACPI: scan: Avoid registering
platform devices with resource overlaps") plus follow-up 7617cc05df28
("ACPI: scan: Do not combine resources that overlap completely"); both
carry Cc: stable and Fixes: 48fe2cddc85c, so they reach 7.1.y through
the normal stable flow (not in Greg's queue as of today). Fedora 44
backport so you don't have to wait for that round trip:
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/4731
Once a 7.1.x with the fix is out, please confirm /dev/tpmrm0 is back and
LUKS auto-unlock works.
FEDORA-2026-a7b1ccd14c (kernel-7.1.13-100.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-a7b1ccd14c FEDORA-2026-0d885c0533 (kernel-7.1.13-200.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-0d885c0533 FEDORA-2026-0d885c0533 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-0d885c0533` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-0d885c0533 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-a7b1ccd14c has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a7b1ccd14c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a7b1ccd14c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. I have installed the kernel update from fedora 44 updates-testing repo. With newly updated kernel version 7.1.13, automatic LUKS unlocking through tpm has started working again properly at system startup. 👍 /dev/tpmrm0 is also fixed 👍 FEDORA-2026-0d885c0533 (kernel-7.1.13-200.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-a7b1ccd14c (kernel-7.1.13-100.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. I still have this issue:
Summary: No /dev/tpm0 or /dev/tpmrm0 on 7.3.4-200.fc44. 6.19 works on the same machine. The TPM's ACPI node has _CID PNP0C31. This looks different from the resource-overlap case fixed for 2514390: there is no "platform device creation failed" or "failed to claim resource" message. Nothing about the TPM is logged at all.
Hardware: Gigabyte GA-Z170MX-Gaming 5, BIOS F22f (AMI), Intel Skylake with PTT enabled (firmware TPM 2.0), Secure Boot on.
Works: kernel 6.19 (Fedora 44 release kernel): /dev/tpm0 and /dev/tpmrm0 are present, and systemd-cryptenroll and TPM2 LUKS unlock work.
Broken: kernel-7.3.4-200.fc44.x86_64. The kernel finds no TPM, so systemd-cryptsetup times out on the TPM and asks for the passphrase.
Observations on 7.3.4:
ACPI TPM2 table present: start method 7 (CRB), control area 0xFED40040.
/sys/bus/acpi/devices/MSFT0101:00: hid MSFT0101, cid PNP0C31, modalias acpi:MSFT0101:PNP0C31:, status 15.
Its physical_node is a PNP device (/sys/devices/pnp0/00:01) with no driver bound. No MSFT0101:00 platform device exists.
CONFIG_TCG_TPM=y, CONFIG_TCG_CRB=y, CONFIG_TCG_TIS=y. tpm_crb never probes, and dmesg has nothing beyond ima: No TPM chip found.
dmesg | grep -i -E 'msft0101|fed40' prints nothing (no -16 or resource-claim error, unlike 2514390).
Booting with pnpacpi=off does not help: still no platform device and no /dev/tpm*.
Suspected cause: after "tpm_crb: Convert ACPI driver to a platform one", tpm_crb needs a platform device. On this firmware the node's _CID PNP0C31 (a tpm_tis PNP ID) seems to make the ACPI PNP scan handler claim it, so the default platform-device enumeration skips it. This would also explain why pnpacpi=off does not help. Before the conversion, tpm_crb bound as an ACPI driver directly to MSFT0101 and was unaffected.
Reproducible: always.
|