Skip to main content

Linux Kernel CVE-2026-72135

| EUVDEUVD-2026-58893 HIGH
2026-08-15 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-mgw8-pg67-5pw5
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain tss/tpm group membership on target host
  2. Delivery
    Open /dev/tpm0 for read/write
  3. Exploit
    Write valid TPM command to trigger kernel response buffering
  4. Install
    Call pread() with out-of-bounds offset (e.g., 0x1400)
  5. C2
    Receive OOB kernel heap data via copy_to_user()
  6. Execute
    OOB zero-write via memset() corrupts adjacent heap object
  7. Impact
    Leverage heap disclosure and corruption as privilege escalation primitives

Vulnerability Assessment

Exploitation Conditions

Exploitation requires (1) a physical TPM or firmware TPM (fTPM) present on the system and exposed as /dev/tpm0 or /dev/tpmrm0 - systems without a TPM, with TPM disabled in firmware/BIOS, or containerized environments lacking the device node are not affected; (2) local attacker access to the TPM device node, which on most distributions is restricted to root and members of the tss or tpm group - a standard unprivileged user without this group membership cannot directly exploit the flaw; (3) the ability to write a valid TPM command that leaves a response pending in the kernel buffer (response_length > 0), followed by a pread() call with a sufficiently large offset; and (4) an unpatched kernel in the affected commit range. Normal sequential read() and write() operations to the TPM device are entirely unaffected. The key limiting factors are hardware prerequisite (TPM must exist and be accessible), non-default group membership, and local-only attack vector - these together substantially reduce the realistic attacker population compared to the raw CVSS score might suggest.

Impact

The NVD CVSS 3.1 score of 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) is well-calibrated to this vulnerability. The local attack vector and low-privilege requirement correctly reflect the real-world access barrier: /dev/tpm0 is typically restricted to root and the tss or tpm group on most Linux distributions, so the attacker population is narrower than a network-exploitable flaw. EPSS of 0.22% at the 13th percentile strongly suggests no current mass exploitation activity, and the absence from CISA KEV confirms no confirmed threat actor activity as of analysis time. However, the dual-impact nature - kernel heap disclosure enabling KASLR bypass and an OOB zero-write that can corrupt adjacent kernel heap allocations - means this could serve as a useful primitive in a multi-stage local privilege escalation chain, especially on systems where tss group membership is broadly granted (e.g., developer workstations or systems using TPM-based disk encryption). The practical exploitation barrier is meaningful: a physical or firmware TPM must be present and exposed, the device must not be disabled in firmware, and the attacker must have group-level access. Systems without a TPM (many cloud VMs, containers, older hardware) are entirely unaffected. No signals conflict with one another; CVSS, EPSS, and the description are internally consistent.

Exploit ScenarioDerived

A local attacker who is a member of the tss group opens /dev/tpm0 and writes a valid TPM2 GetCapability or similar command that causes the kernel to store a response in data_buffer with a non-zero response_length. The attacker then calls pread(fd, leak_buf, 512, 0x1400), passing an offset of 0x1400 that far exceeds the response buffer bounds; tpm_common_read() forms data_buffer + 0x1400 without validation, copying up to 512 bytes of adjacent kernel heap into userspace, then zeroing those same bytes via memset() - potentially disclosing kernel pointers (enabling KASLR defeat) or corrupting a neighboring heap object as a step toward privilege escalation. No public exploit code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 17, 2026

Out-of-bounds heap read and write in the Linux kernel TPM character device driver exposes kernel heap memory to local low-privileged users with access to /dev/tpm0 or /dev/tpmrm0. The TPM char device open handlers fail to call nonseekable_open(), leaving FMODE_PREAD and FMODE_PWRITE enabled on a device that only supports sequential command/response I/O; a pread() call with a large offset (e.g., 0x1400) passes that offset unchecked into tpm_common_read(), causing an out-of-bounds heap read via copy_to_user() and a subsequent out-of-bounds zero-write via memset(). No public exploit is identified at time of analysis, EPSS sits at 0.22% (13th percentile), and patches are available across all active Linux stable branches.

RemediationAI

The primary fix is to upgrade to a patched kernel version for your running stable branch: 5.10.261 or later, 5.15.212 or later, 6.1.178 or later, 6.6.145 or later, 6.12.97 or later, 6.18.40 or later, or 7.1.5 or later. Distribution-maintained kernels (Debian, Ubuntu, RHEL, SUSE, Alpine, etc.) should be updated via the standard package manager once vendor backports are published; check your distribution's security advisory channels. Upstream patch commits are referenced at https://git.kernel.org/stable/c/21a13f932972bc9836f58c44fcd47c62abdecd95 (and the seven additional branch-specific commits listed in NVD references). As a temporary workaround on systems where TPM userspace access is not required, restrict or remove permissions on /dev/tpm0 and /dev/tpmrm0 using udev rules or chmod (e.g., mode 0600 root:root) - this blocks exploitation but will break TPM-dependent userspace software including fTPM-based disk encryption unlock agents, remote attestation daemons, and software like tpm2-tools; weigh accordingly. If TPM access is operationally required, narrowing /dev/tpm0 access to only the specific service account (rather than a broad tss group) limits the reachable attacker population without disrupting the service.

Affected VersionsENISA

Linux patch: 6.18.40
Linux patch: 6.1.178
Linux 9488585b21bef0df1217e510c7134905d1d376a7 <9c513dabd4540f811585a2087f23069767a284da
Linux patch: 7.1.5
Linux patch: 0
Linux patch: 7.2-rc3
Linux 9488585b21bef0df1217e510c7134905d1d376a7 <ada4b9a5087ea7f30dd8e4c6411a4fb6547eb1ed
Linux 9488585b21bef0df1217e510c7134905d1d376a7 <dda695fab5e21f923d29e8cb01df256468ddfbd1
Linux 5.0
Linux patch: 5.15.212
Linux patch: 6.12.97
Linux 9488585b21bef0df1217e510c7134905d1d376a7 <ed0ffc2c016629e40ba041ed0424a772d8b02e2c
Linux patch: 6.6.145
Linux 9488585b21bef0df1217e510c7134905d1d376a7 <21a13f932972bc9836f58c44fcd47c62abdecd95
Linux patch: 5.10.261
Linux 9488585b21bef0df1217e510c7134905d1d376a7 <947b773caaa548672184df025271b29bdc80b0f1
Linux 9488585b21bef0df1217e510c7134905d1d376a7 <f20d61c22bcaf172d6790b6500e3838e532e71c8
Linux 9488585b21bef0df1217e510c7134905d1d376a7 <232dcf908eb7eb9d8046a9597975caf44270966e

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The Linux kernel TPM subsystem exposes Trusted Platform Module hardware and firmware through character devices /dev/tpm0 and /dev/tpmrm0. These devices implement a strict sequential protocol: userspace writes a TPM command, the kernel forwards it to the TPM hardware, and userspace reads back the response. The vulnerability originates because tpm_common_read() receives the file offset (*off) directly from a pread() syscall and uses it to compute data_buffer + *off without bounds-checking the offset against response_length. This is only reachable because the open handlers for both TPM character devices omit a call to nonseekable_open(), leaving FMODE_PREAD and FMODE_PWRITE flags set - flags that permit positional I/O syscalls to bypass the normal sequential cursor and reach the vulnerable offset arithmetic. The result is two distinct memory safety violations: an out-of-bounds heap read (CWE-125) when copy_to_user() reads beyond the response buffer, and an out-of-bounds heap zero-write (CWE-787) from the memset() call that follows. Although no CWE is formally assigned in the NVD entry, the EUVD tags confirm 'Buffer Overflow'. EUVD-2026-58893 identifies the vulnerability as introduced at commit 9488585b21bef0df1217e510c7134905d1d376a7 and fixed across eight separate stable-branch commits. Testing was confirmed by the upstream reporter on Linux 6.12 with KASAN enabled and a software TPM2 (swtpm), definitively reproducing both the OOB accesses and confirming their absence after the fix.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

AV:L/PR:L reflects tss-group-gated /dev/tpm0 access; C:H for heap disclosure, I:H and A:H for OOB zero-write corrupting adjacent kernel structures.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.0 MEDIUM

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Aug 17, 2026 - 06:22 NVD
7.8 (HIGH)
Patch available
Aug 15, 2026 - 07:20 EUVD
CVE Published
Aug 15, 2026 - 06:21 cve.org
HIGH 7.8
CVE Published
Aug 15, 2026 - 06:21 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

tpm: Make the TPM character devices non-seekable

The TPM character devices expose a sequential command/response interface, but their open handlers leave FMODE_PREAD and FMODE_PWRITE enabled.

After a command leaves a response pending, pread(fd, buf, 16, 0x1400) passes 0x1400 as *off to tpm_common_read(). The transfer length is bounded by response_length, but the offset is used unchecked when forming data_buffer + *off. A sufficiently large offset therefore causes an out-of-bounds heap read through copy_to_user() and, if the copy succeeds, an out-of-bounds zero-write through the following memset().

Positional I/O does not provide coherent semantics for this interface. An arbitrary pread offset cannot represent how much of a response has been consumed sequentially. The write callback always stores a command at the start of data_buffer, while pwrite() does not update file->f_pos and can leave the sequential read cursor stale.

Call nonseekable_open() from both open handlers. This removes FMODE_PREAD and FMODE_PWRITE, causing positional reads and writes to fail with -ESPIPE before reaching the TPM callbacks, and explicitly marks the files non-seekable. Normal read() and write() continue to use the existing sequential f_pos cursor, leaving the response state machine unchanged.

Tested on Linux 6.12 with KASAN and a swtpm TPM2 device:

  • sequential partial reads returned the complete response
  • pread() and preadv() with offset 0x1400 returned -ESPIPE
  • pwrite() and pwritev() with offset zero returned -ESPIPE
  • the pending response remained intact after the rejected operations
  • a subsequent normal command/response cycle completed normally
  • no KASAN report was produced.

Executive ViewAI

Why It Matters

The Linux kernel TPM character device driver contains a heap memory access vulnerability (CVE-2026-72135) that could enable local privilege escalation on affected Linux systems. Although rated HIGH severity, exploitation risk is minimal-EPSS is at 0.2%, no public exploits have been identified, and patches are available across all major Linux vendors. Organizations should prioritize patching Linux systems with TPM devices within standard timelines, but this is not an immediate emergency.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Ubiquitous
core OS component present in virtually all Linux deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy