{"id":"CVE-2024-49851","aliases":["CVE-2024-49851"],"related":[],"kind":"vulnerability","state":"published","title":"tpm: Clean up TPM space after command failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: Clean up TPM space after command failure\n\ntpm_dev_transmit prepares the TPM space before attempting command\ntransmission. However if the command fails no rollback of this\npreparation is done. This can result in transient handles being leaked\nif the device is subsequently closed with no further commands performed.\n\nFix this by flushing the space in the event of command transmission\nfailure.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntpm: Clean up TPM space after command failure\n\ntpm_dev_transmit prepares the TPM space before attempting command\ntransmission. However if the command fails no rollback of this\npreparation is done. This can result in transient handles being leaked\nif the device is subsequently closed with no further commands performed.\n\nFix this by flushing the space in the event of command transmission\nfailure.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-10-21T12:18:44.742Z","modified":"2026-10-15T01:18:58.760Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"type":"git","introduced":"745b361e989af21ad40811c2586b60229f870a68","fixed":"87e8134c18977b566f4ec248c8a147244da69402","status":"affected"},{"type":"git","introduced":"745b361e989af21ad40811c2586b60229f870a68","fixed":"2c9b228938e9266a1065a3f4fe5c99b7235dc439","status":"affected"},{"type":"git","introduced":"745b361e989af21ad40811c2586b60229f870a68","fixed":"ebc4e1f4492d114f9693950621b3ea42b2f82bec","status":"affected"},{"type":"git","introduced":"745b361e989af21ad40811c2586b60229f870a68","fixed":"c84ceb546f30432fccea4891163f7050f5bee5dd","status":"affected"},{"type":"git","introduced":"745b361e989af21ad40811c2586b60229f870a68","fixed":"82478cb8a23bd4f97935bbe60d64528c6d9918b4","status":"affected"},{"type":"git","introduced":"745b361e989af21ad40811c2586b60229f870a68","fixed":"adf4ce162561222338cf2c9a2caa294527f7f721","status":"affected"},{"type":"git","introduced":"745b361e989af21ad40811c2586b60229f870a68","fixed":"3f9f72d843c92fb6f4ff7460d774413cde7f254c","status":"affected"},{"type":"git","introduced":"745b361e989af21ad40811c2586b60229f870a68","fixed":"e3aaebcbb7c6b403416f442d1de70d437ce313a7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.4.285","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.227","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.168","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.113","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.54","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.13","lastAffected":"6.10.*","status":"unaffected"},{"type":"semver","introduced":"6.11.2","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.12","fixed":"5.10.227"},{"status":"affected","introduced":"5.11","fixed":"5.15.168"},{"status":"affected","introduced":"5.16","fixed":"6.1.113"},{"status":"affected","introduced":"6.2","fixed":"6.6.54"},{"status":"affected","introduced":"6.7","fixed":"6.10.13"},{"status":"affected","introduced":"6.11","fixed":"6.11.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/87e8134c18977b566f4ec248c8a147244da69402","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c9b228938e9266a1065a3f4fe5c99b7235dc439","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ebc4e1f4492d114f9693950621b3ea42b2f82bec","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c84ceb546f30432fccea4891163f7050f5bee5dd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82478cb8a23bd4f97935bbe60d64528c6d9918b4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/adf4ce162561222338cf2c9a2caa294527f7f721","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f9f72d843c92fb6f4ff7460d774413cde7f254c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3aaebcbb7c6b403416f442d1de70d437ce313a7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-21T12:56:54.610Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49851","url":"https://www.cve.org/CVERecord?id=CVE-2024-49851","licence":"CVE Terms of Use","modified":"2026-10-15T00:53:21.247Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49851","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49851","licence":"Public domain","modified":"2026-10-15T01:18:58.760Z"}],"updatedAt":"2026-11-25T22:58:47.004Z","epss":{"score":0.00221,"percentile":0.13533,"date":"2026-12-01T12:00:22.000Z"}}