CVE-2024-49851

Description

A flaw was found in the Linux kernel's Trusted Platform Module (TPM) driver. When a TPM command transmission fails, the driver does not properly clean up allocated resources, leading to a leak of transient handles. This resource exhaustion can result in a denial of service, making the TPM device unavailable for further operations.

Mitigation

If the Trusted Platform Module (TPM) functionality is not required, the `tpm_tis` kernel module can be prevented from loading to mitigate this vulnerability.

To blacklist the `tpm_tis` module:
1. Create a new configuration file:
   `echo "blacklist tpm_tis" | sudo tee /etc/modprobe.d/blacklist-tpm_tis.conf`
2. Regenerate the initramfs to ensure the blacklist is applied at boot:
   `sudo dracut -f` (for systems using dracut) or `sudo mkinitcpio -P` (for systems using mkinitcpio)
3. Reboot the system for the changes to take effect.

This mitigation will disable TPM functionality, which may impact applications or features that rely on it.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.15.5N/A
Attack VectorLocalLocalN/A
Attack ComplexityLowLowN/A
Privileges RequiredLowLowN/A
User InteractionNoneNoneN/A
ScopeUnchangedUnchangedN/A
ConfidentialityHighNoneN/A
Integrity ImpactNoneNoneN/A
Availability ImpactHighHighN/A

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Understanding the Weakness (CWE)

Other,Confidentiality,Integrity

Technical Impact: Other; Read Application Data; Modify Application Data; DoS: Resource Consumption (Other)

It is possible to overflow the number of temporary files because directories typically have limits on the number of files allowed. This could create a denial of service problem.

Frequently Asked Questions

Want to get errata notifications? Sign up here.