All reports
Low

kernel: tpm: tpm_tis_spi: Use wait_woken() in wait_for_tmp_stat()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-72152

Probability of exploitation in the next 30 days: 0.22%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: tpm: tpm_tis_spi: Use wait_woken() in wait_for_tmp_stat() wait_event_interruptible_timeout() evaluates its condition after setting the current task state to TASK_INTERRUPTIBLE. With CONFIG_DEBUG_ATOMIC_SLEEP this triggers a warning when the IRQ wait path is used: tpm_tis_status() tpm_tis_spi_read_bytes() tpm_tis_spi_transfer_full() spi_bus_lock() mutex_lock() Address this with the following measures:

  1. Call wait_tpm_stat_cond() only while tasking is running.

  2. Use wait_woken() to wait for changes.

A flaw was found in the Linux kernel's Trusted Platform Module (TPM) TIS SPI driver. The wait_event_interruptible_timeout() function incorrectly evaluates its condition after setting the task state, which can trigger a warning when debugging atomic sleeps and using the Interrupt Request (IRQ) wait path. This could potentially lead to system instability or unexpected behavior. The issue has been resolved by implementing proper task state handling and using wait_woken() for changes.