tpm: st33zp24: Return zero on status read failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e6d7d9b665419cda3e9f91030d81c9f8ba71e51d, Kernel 14feaa498c20c1b7ddefe27de5329aaff822cc0d, Kernel 1bfd5c54e40704ce93d128a25de3d8dd772bf183 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=251a7b08213af82e40e4a70cac056e245853c410 <e6d7d9b665419cda3e9f91030d81c9f8ba71e51d, >=251a7b08213af82e40e4a70cac056e245853c410 <14feaa498c20c1b7ddefe27de5329aaff822cc0d, >=251a7b08213af82e40e4a70cac056e245853c410 <1bfd5c54e40704ce93d128a25de3d8dd772bf183, >=251a7b08213af82e40e4a70cac056e245853c410 <38c26fe4522963a91d4fb02c844d8faa740fe9d1, >=251a7b08213af82e40e4a70cac056e245853c410 <4973e8386257eed10e5433a94a53bcc6ec37d2a1, >=251a7b08213af82e40e4a70cac056e245853c410 <8b92687708f5ef980de01c2042dbd76d11f78547, >=251a7b08213af82e40e4a70cac056e245853c410 <981307e2e8a930da492c2bcf763865c47c2a5165, >=251a7b08213af82e40e4a70cac056e245853c410 <d732cfc4befe28f02ec82ed5fd2bc2a21fbabd42, =3.9 | e6d7d9b665419cda3e9f91030d81c9f8ba71e51d, 14feaa498c20c1b7ddefe27de5329aaff822cc0d, 1bfd5c54e40704ce93d128a25de3d8dd772bf183, 38c26fe4522963a91d4fb02c844d8faa740fe9d1, 4973e8386257eed10e5433a94a53bcc6ec37d2a1, 8b92687708f5ef980de01c2042dbd76d11f78547, 981307e2e8a930da492c2bcf763865c47c2a5165, d732cfc4befe28f02ec82ed5fd2bc2a21fbabd42 |
| linux-kernel: Kernel | >=5.11.0 <5.15.221, >=5.16.0 <6.1.188, >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=3.9.0 <5.10.270 | 5.15.221, 6.1.188, 6.18.52, 7.2.6, 6.6.157, 6.12.110, 5.10.270 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket