CVE-2026-90070: tpm: st33zp24: Return zero on status read failure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
tpm: st33zp24: Return zero on status read failure
st33zp24_status() ignores the result of the transport read and returns data even when no byte was received. The I2C transport, for example, skips i2c_master_recv() when the register-select write is short or fails, leaving data uninitialized. The resulting stack value can be interpreted as TPM_STS flags and let status checks complete spuriously.
The status callback cannot propagate a transport error. Return zero unless recv() reports exactly one byte. With no status bits set, callers retry or take their existing timeout or error path instead of acting on an invalid status value.
This issue was found by a static analysis checker and confirmed by manual source review.
The Linux kernel CVE team has assigned CVE-2026-90070 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.9 with commit 251a7b08213af82e40e4a70cac056e245853c410 and fixed in 5.10.270 with commit d732cfc4befe28f02ec82ed5fd2bc2a21fbabd42 Issue introduced in 3.9 with commit 251a7b08213af82e40e4a70cac056e245853c410 and fixed in 5.15.221 with commit 4973e8386257eed10e5433a94a53bcc6ec37d2a1 Issue introduced in 3.9 with commit 251a7b08213af82e40e4a70cac056e245853c410 and fixed in 6.1.188 with commit 981307e2e8a930da492c2bcf763865c47c2a5165 Issue introduced in 3.9 with commit 251a7b08213af82e40e4a70cac056e245853c410 and fixed in 6.6.157 with commit 1bfd5c54e40704ce93d128a25de3d8dd772bf183 Issue introduced in 3.9 with commit 251a7b08213af82e40e4a70cac056e245853c410 and fixed in 6.12.110 with commit 38c26fe4522963a91d4fb02c844d8faa740fe9d1 Issue introduced in 3.9 with commit 251a7b08213af82e40e4a70cac056e245853c410 and fixed in 6.18.52 with commit 14feaa498c20c1b7ddefe27de5329aaff822cc0d Issue introduced in 3.9 with commit 251a7b08213af82e40e4a70cac056e245853c410 and fixed in 7.2.6 with commit e6d7d9b665419cda3e9f91030d81c9f8ba71e51d Issue introduced in 3.9 with commit 251a7b08213af82e40e4a70cac056e245853c410 and fixed in 7.3-rc1 with commit 8b92687708f5ef980de01c2042dbd76d11f78547
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90070
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/char/tpm/st33zp24/st33zp24.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/d732cfc4befe28f02ec82ed5fd2bc2a21fbabd42 https://git.kernel.org/stable/c/4973e8386257eed10e5433a94a53bcc6ec37d2a1 https://git.kernel.org/stable/c/981307e2e8a930da492c2bcf763865c47c2a5165 https://git.kernel.org/stable/c/1bfd5c54e40704ce93d128a25de3d8dd772bf183 https://git.kernel.org/stable/c/38c26fe4522963a91d4fb02c844d8faa740fe9d1 https://git.kernel.org/stable/c/14feaa498c20c1b7ddefe27de5329aaff822cc0d https://git.kernel.org/stable/c/e6d7d9b665419cda3e9f91030d81c9f8ba71e51d https://git.kernel.org/stable/c/8b92687708f5ef980de01c2042dbd76d11f78547