5.5medium
tpm: Clean up TPM space after command failure
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 745b361e989af21ad40811c2586b60229f870a68 before 87e8134c18977b566f4ec248c8a147244da69402, from 745b361e989af21ad40811c2586b60229f870a68 before 2c9b228938e9266a1065a3f4fe5c99b7235dc439, from 745b361e989af21ad40811c2586b60229f870a68 before ebc4e1f4492d114f9693950621b3ea42b2f82bec, from 745b361e989af21ad40811c2586b60229f870a68 before c84ceb546f30432fccea4891163f7050f5bee5dd, from 745b361e989af21ad40811c2586b60229f870a68 before 82478cb8a23bd4f97935bbe60d64528c6d9918b4, from 745b361e989af21ad40811c2586b60229f870a68 before adf4ce162561222338cf2c9a2caa294527f7f721, from 745b361e989af21ad40811c2586b60229f870a68 before 3f9f72d843c92fb6f4ff7460d774413cde7f254c, from 745b361e989af21ad40811c2586b60229f870a68 before e3aaebcbb7c6b403416f442d1de70d437ce313a7 and 1 more Not affected: before 4.12, from 5.4.285 up to 5.4.*, from 5.10.227 up to 5.10.*, from 5.15.168 up to 5.15.*, from 6.1.113 up to 6.1.*, from 6.6.54 up to 6.6.* | CVE List |
| linux linux_kernel | from 4.12 before 5.10.227, from 5.11 before 5.15.168, from 5.16 before 6.1.113, from 6.2 before 6.6.54, from 6.7 before 6.10.13, from 6.11 before 6.11.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tpm: Limpiar el espacio TPM después de un error de comando tpm_dev_transmit prepara el espacio TPM antes de intentar la transmisión del comando. Sin embargo, si el comando falla, no se realiza ninguna reversión de esta preparación. Esto puede provocar que se filtren los identificadores transitorios si el dispositivo se cierra posteriormente sin que se realicen más comandos. Solucione esto vaciando el espacio en caso de que falle la transmisión del comando.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-49851 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2024-49851 changed 2026-10-15 | Public domain |