CVE-2024-49851

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux745b361e989af21ad40811c2586b60229f870a68 < 87e8134c18977b566f4ec248c8a147244da69402affected
LinuxLinux745b361e989af21ad40811c2586b60229f870a68 < 2c9b228938e9266a1065a3f4fe5c99b7235dc439affected
LinuxLinux745b361e989af21ad40811c2586b60229f870a68 < ebc4e1f4492d114f9693950621b3ea42b2f82becaffected
LinuxLinux745b361e989af21ad40811c2586b60229f870a68 < c84ceb546f30432fccea4891163f7050f5bee5ddaffected
LinuxLinux745b361e989af21ad40811c2586b60229f870a68 < 82478cb8a23bd4f97935bbe60d64528c6d9918b4affected
LinuxLinux745b361e989af21ad40811c2586b60229f870a68 < adf4ce162561222338cf2c9a2caa294527f7f721affected
LinuxLinux745b361e989af21ad40811c2586b60229f870a68 < 3f9f72d843c92fb6f4ff7460d774413cde7f254caffected
LinuxLinux745b361e989af21ad40811c2586b60229f870a68 < e3aaebcbb7c6b403416f442d1de70d437ce313a7affected
LinuxLinux4.12affected
LinuxLinux0 < 4.12unaffected
LinuxLinux5.4.285 <= 5.4.*unaffected
LinuxLinux5.10.227 <= 5.10.*unaffected
LinuxLinux5.15.168 <= 5.15.*unaffected
LinuxLinux6.1.113 <= 6.1.*unaffected
LinuxLinux6.6.54 <= 6.6.*unaffected
LinuxLinux6.10.13 <= 6.10.*unaffected
LinuxLinux6.11.2 <= 6.11.*unaffected
LinuxLinux6.12 <= *unaffected

Weaknesses

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

CVE Program Container

Additional References

Additional References

References