CVE-2024-49851

Source
https://cve.org/CVERecord?id=CVE-2024-49851
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49851.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49851
Downstream
Related
Published
2024-10-21T12:18:44.742Z
Modified
2026-03-20T12:39:23.357883Z
Summary
tpm: Clean up TPM space after command failure
Details

In the Linux kernel, the following vulnerability has been resolved:

tpm: Clean up TPM space after command failure

tpmdevtransmit 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49851.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
745b361e989af21ad40811c2586b60229f870a68
Fixed
87e8134c18977b566f4ec248c8a147244da69402
Fixed
2c9b228938e9266a1065a3f4fe5c99b7235dc439
Fixed
ebc4e1f4492d114f9693950621b3ea42b2f82bec
Fixed
c84ceb546f30432fccea4891163f7050f5bee5dd
Fixed
82478cb8a23bd4f97935bbe60d64528c6d9918b4
Fixed
adf4ce162561222338cf2c9a2caa294527f7f721
Fixed
3f9f72d843c92fb6f4ff7460d774413cde7f254c
Fixed
e3aaebcbb7c6b403416f442d1de70d437ce313a7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49851.json"