Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: tpm: Clean up TPM space after command failure tpm_dev_transmit prepares the TPM space before attempting command transmission. However if the command fails no rollback of this preparation is done. This can result in transient handles being leaked if the device is subsequently closed with no further commands performed. Fix this by flushing the space in the event of command transmission failure.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 745b361e989af21ad40811c2586b60229f870a68 before 87e8134c18977b566f4ec248c8a147244da69402; affected 745b361e989af21ad40811c2586b60229f870a68 before 2c9b228938e9266a1065a3f4fe5c99b7235dc439; affected 745b361e989af21ad40811c2586b60229f870a68 before ebc4e1f4492d114f9693950621b3ea42b2f82bec; affected 745b361e989af21ad40811c2586b60229f870a68 before c84ceb546f30432fccea4891163f7050f5bee5dd; affected 745b361e989af21ad40811c2586b60229f870a68 before 82478cb8a23bd4f97935bbe60d64528c6d9918b4; affected 745b361e989af21ad40811c2586b60229f870a68 before adf4ce162561222338cf2c9a2caa294527f7f721; affected 745b361e989af21ad40811c2586b60229f870a68 before 3f9f72d843c92fb6f4ff7460d774413cde7f254c; affected 745b361e989af21ad40811c2586b60229f870a68 before e3aaebcbb7c6b403416f442d1de70d437ce313a7 |
| Linux / Linux | affected 4.12; unaffected 0 before 4.12; unaffected 5.4.285 through 5.4.*; unaffected 5.10.227 through 5.10.*; unaffected 5.15.168 through 5.15.*; unaffected 6.1.113 through 6.1.*; unaffected 6.6.54 through 6.6.*; unaffected 6.10.13 through 6.10.*; unaffected 6.11.2 through 6.11.*; unaffected 6.12 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/87e8134c18977b566f4ec248c8a147244da69402
- https://git.kernel.org/stable/c/2c9b228938e9266a1065a3f4fe5c99b7235dc439
- https://git.kernel.org/stable/c/ebc4e1f4492d114f9693950621b3ea42b2f82bec
- https://git.kernel.org/stable/c/c84ceb546f30432fccea4891163f7050f5bee5dd
- https://git.kernel.org/stable/c/82478cb8a23bd4f97935bbe60d64528c6d9918b4
- https://git.kernel.org/stable/c/adf4ce162561222338cf2c9a2caa294527f7f721
- https://git.kernel.org/stable/c/3f9f72d843c92fb6f4ff7460d774413cde7f254c
- https://git.kernel.org/stable/c/e3aaebcbb7c6b403416f442d1de70d437ce313a7
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
No English description supplied.