CVE-2026-143097: tpm: flush timeout work outside buffer_mutex to avoid deadlock
In the Linux kernel, the following vulnerability has been resolved:
tpm: flush timeout work outside buffermutex to avoid deadlock
tpmcommonread() calls flushwork(&priv->timeoutwork) under priv->buffermutex, but tpmtimeoutwork() also takes buffermutex, so a running timeout work deadlocks the flush. Flush after unlocking; the timer is deleted under the lock, so no new work can be queued.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Flush tpm timeout work outside buffer_mutex to avoid deadlock.
Event History
Frequently Asked Questions
What conditions are required to trigger the deadlock?
The deadlock requires tpm_common_read() to call flush_work() for priv->timeout_work while holding priv->buffer_mutex, while the timeout work is running and attempts to acquire the same mutex.
What is the operational impact?
Affected systems can deadlock in the TPM read/timeout-work path, preventing completion of the involved operation.
Is there a mitigation if the fix cannot be deployed immediately?
The provided information does not identify a configuration workaround. The resolved behavior moves the timeout-work flush outside buffer_mutex after deleting the timer under the lock.