Bug 2514390 - 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.
Summary: Regression in kernel 7.1.3 and 7.1.8 causes TPM2 to fail initialization on Le...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 44
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Justin M. Forbes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-11 20:33 UTC by Asmit
Modified: 2026-11-21 03:05 UTC (History)
16 users (show)

Fixed In Version: kernel-7.1.13-200.fc44 kernel-7.1.13-100.fc43
Clone Of:
Environment:
Last Closed: 2026-09-04 01:11:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
dmseg_working_7.0.14 (86.31 KB, text/plain)
2026-08-11 20:35 UTC, Asmit
no flags Details
dmesg_working_7.0.14 (86.31 KB, text/plain)
2026-08-11 20:36 UTC, Asmit
no flags Details
dmseg_broken_7.1.8 (85.93 KB, text/plain)
2026-08-11 20:40 UTC, Asmit
no flags Details
system_info (1.32 KB, text/plain)
2026-08-11 20:42 UTC, Asmit
no flags Details
acpi_dump (722.48 KB, text/plain)
2026-08-11 20:42 UTC, Asmit
no flags Details

Description Asmit 2026-08-11 20:33:08 UTC
​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

Comment 1 Asmit 2026-08-11 20:35:11 UTC
Created attachment 2154266 [details]
dmseg_working_7.0.14

Comment 2 Asmit 2026-08-11 20:36:51 UTC
Created attachment 2154268 [details]
dmesg_working_7.0.14

Comment 3 Asmit 2026-08-11 20:40:49 UTC
Created attachment 2154269 [details]
dmseg_broken_7.1.8

Comment 4 Asmit 2026-08-11 20:42:19 UTC
Created attachment 2154270 [details]
system_info

Comment 5 Asmit 2026-08-11 20:42:57 UTC
Created attachment 2154271 [details]
acpi_dump

Comment 6 junjie.cao 2026-09-01 01:30:35 UTC
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.

Comment 7 Fedora Update System 2026-09-02 17:55:07 UTC
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

Comment 8 Fedora Update System 2026-09-02 17:55:49 UTC
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

Comment 9 Fedora Update System 2026-09-03 01:38:55 UTC
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.

Comment 10 Fedora Update System 2026-09-03 01:54:35 UTC
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.

Comment 11 Asmit 2026-09-03 17:58:46 UTC
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 👍

Comment 12 Fedora Update System 2026-09-04 01:11:33 UTC
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.

Comment 13 Fedora Update System 2026-09-04 01:27:56 UTC
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.

Comment 14 Steve North 2026-11-21 03:05:35 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.