Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-49851

tpm: Clean up TPM space after command failure

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 745b361e989af21ad40811c2586b60229f870a68 to < 87e8134c18977b566f4ec248c8a147244da69402affected
  • 745b361e989af21ad40811c2586b60229f870a68 to < 2c9b228938e9266a1065a3f4fe5c99b7235dc439affected
  • 745b361e989af21ad40811c2586b60229f870a68 to < ebc4e1f4492d114f9693950621b3ea42b2f82becaffected
  • 745b361e989af21ad40811c2586b60229f870a68 to < c84ceb546f30432fccea4891163f7050f5bee5ddaffected
  • 745b361e989af21ad40811c2586b60229f870a68 to < 82478cb8a23bd4f97935bbe60d64528c6d9918b4affected
  • 745b361e989af21ad40811c2586b60229f870a68 to < adf4ce162561222338cf2c9a2caa294527f7f721affected
  • 745b361e989af21ad40811c2586b60229f870a68 to < 3f9f72d843c92fb6f4ff7460d774413cde7f254caffected
  • 745b361e989af21ad40811c2586b60229f870a68 to < e3aaebcbb7c6b403416f442d1de70d437ce313a7affected

Linux Linux

Default version status: affected

  • 4.12affected
  • 0 to < 4.12unaffected
  • 5.4.285 to ≤ 5.4.*unaffected
  • 5.10.227 to ≤ 5.10.*unaffected
  • 5.15.168 to ≤ 5.15.*unaffected
  • 6.1.113 to ≤ 6.1.*unaffected
  • 6.6.54 to ≤ 6.6.*unaffected
  • 6.10.13 to ≤ 6.10.*unaffected
  • 6.11.2 to ≤ 6.11.*unaffected
  • 6.12 to ≤ *unaffected

References