Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: tpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public()… (CVE-2026-46096)

0
Medium
Published: 05/27/2026 (05/27/2026, 14:17:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

Description

In the Linux kernel, the following vulnerability has been resolved: tpm2-sessions: Fix missing tpm_buf_destroy() in tpm2_read_public() tpm2_read_public() calls tpm_buf_init() but fails to call tpm_buf_destroy() on two exit paths, leaking a page allocation: 1. When name_size() returns an error (unrecognized hash algorithm), the function returns directly without destroying the buffer. 2. On the success path, the buffer is never destroyed before returning. All other error paths in the function correctly call tpm_buf_destroy() before returning. Fix both by adding the missing tpm_buf_destroy() calls.

CVSS v3.1

Score 5.5medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected software

Affected versions
<7.0.0-28.28~24.04.1<7.0.0-27.27<7.0.0-1008.8<7.0.0-1010.10<7.0.0-1009.9

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/26/2026, 22:48:33 UTC

Technical Analysis

The Linux kernel's tpm2_read_public() function improperly manages memory buffers by failing to call tpm_buf_destroy() on two exit paths. Specifically, when name_size() returns an error due to an unrecognized hash algorithm, the function returns without releasing the allocated buffer. Additionally, on the success path, the buffer is also not destroyed before returning. Other error paths correctly free the buffer. This leads to a memory leak of page allocations within the TPM2 session code. The vulnerability has been resolved by adding the missing tpm_buf_destroy() calls.

Potential Impact

The vulnerability causes a memory leak (denial of service via resource exhaustion) in the Linux kernel TPM2 session handling. There is no impact on confidentiality or integrity. The CVSS vector indicates local attack complexity and privileges required, with no user interaction needed, and the impact is limited to availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The vulnerability description indicates that a fix has been implemented by adding the missing tpm_buf_destroy() calls. Users should monitor official Linux kernel updates and apply patches when available.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-wq6x-xf86-6rwf
Osv Schema Version
1.4.0
Aliases
["CVE-2026-46096"]
Ecosystems
[]
Database Specific Severity
MODERATE
Cvss Version
3.1

Threat ID: 6a3ef7ed27e9c79719033aa3

Added to database: 06/26/2026, 22:06:37 UTC

Last enriched: 06/26/2026, 22:48:33 UTC

Last updated: 07/31/2026, 19:30:22 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses