CVEvulnerability

CVE-2024-49851

5.5 MEDIUM Published 2024-10-21 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2024-10-21
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-459

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 configurations

• linux linux kernel (>= 4.12 < 5.10.227) • linux linux kernel (>= 5.11 < 5.15.168) • linux linux kernel (>= 5.16 < 6.1.113) • linux linux kernel (>= 6.2 < 6.6.54) • linux linux kernel (>= 6.7 < 6.10.13) • linux linux kernel (>= 6.11 < 6.11.2)

Related

Weakness · CWE (1)

  • CWE-459 Incomplete Cleanup weakness

References