All reports
Medium

kernel: Linux kernel: Denial of Service due to memory leak in tpm2_load_cmd

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-71147

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-18

Description

In the Linux kernel, the following vulnerability has been resolved: KEYS: trusted: Fix a memory leak in tpm2_load_cmd 'tpm2_load_cmd' allocates a tempoary blob indirectly via 'tpm2_key_decode' but it is not freed in the failure paths. Address this by wrapping the blob into with a cleanup helper.

A flaw was found in the Linux kernel's trusted keys subsystem. A local user could exploit a memory leak in the tpm2_load_cmd function, which fails to free a temporary memory allocation in certain error scenarios. This memory leak could lead to a system-wide Denial of Service (DoS) by exhausting available memory resources.