Fedora Account System
Red Hat Associate
Red Hat Customer
1. The problem: Since updating to kernel 7.1.3 and recent update 7.1.8, my system fails to automatically unlock the LUKS encrypted drive via the TPM at boot. The system's ACPI tables detect the TPM hardware (Lenovo CB-01), but the kernel driver silently fails to attach. As a result, the device files /dev/tpm0 and /dev/tpmrm0 are never created, and systemd times out waiting for them. Checking dmesg shows: ima: No TPM chip found, activating TPM-bypass!. Running tpm2_pcrread returns: Failed to open specified TCTI device file /dev/tpmrm0: No such file or directory. 2.Version-Release number of the kernel: kernel-7.1.8-200.fc44.x86_64 and kernel-7.1.3-201.fc44.x86_64 3. Did it work previously in Fedora? If so, what kernel version did the issue first appear? Yes, it worked perfectly on older kernels. The system boots and unlocks automatically without intervention on kernel 7.0.14. The issue first appeared immediately upon updating to kernel 7.1.3. 4. Can you reproduce this issue? Yes, the issue is 100% reproducible on every boot with the 7.1.3 or 7.1.8 kernel. Steps to reproduce: - Boot the system selecting kernel 7.1.3 from systemd-boot menu. - Observe that the boot process halts and prompts for a manual LUKS passphrase instead of auto-unlocking. - Once booted, run ls /dev/tpm* and see that the devices are missing. - Reboot, select kernel 7.0.14 from GRUB, and observe that the system automatically unlocks as expected and /dev/tpmrm0 is present. 5. Does this problem occur with the latest Rawhide kernel? I have not yet tested the Rawhide kernel. If required, I can provision a test to see if the upstream patch already exists. 6. Are you running any modules that not shipped with directly Fedora's kernel?: - No out-of-tree modules that interact with the TPM. 7. attached the kernel logs. [Logs attached via Bugzilla attachment system] Attached: dmesg_working_7.0.14.txt Attached: dmesg_broken_7.1.8.txt Attached: system_info.txt Attached: acpi_dump.txt Reproducible: Always
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.