tpm: st33zp24: Return zero on status read failure (Linux Linux)

CVE-2026-90070
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 251a7b08213af82e40e4a70cac056e245853c410 < d732cfc4befe28f02ec82ed5fd2bc2a21fbabd42 ; affected 251a7b08213af82e40e4a70cac056e245853c410 < 4973e8386257eed10e5433a94a53bcc6ec37d2a1 ; affected 251a7b08213af82e40e4a70cac056e245853c410 < 981307e2e8a930da492c2bcf763865c47c2a5165 ; affected 251a7b08213af82e40e4a70cac056e245853c410 < 1bfd5c54e40704ce93d128a25de3d8dd772bf183 ; affected 251a7b08213af82e40e4a70cac056e245853c410 < 38c26fe4522963a91d4fb02c844d8faa740fe9d1 ; affected 251a7b08213af82e40e4a70cac056e245853c410 < 14feaa498c20c1b7ddefe27de5329aaff822cc0d
Linux · Linuxaffected 3.9 ; unaffected 0 < 3.9 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD