# CVE-2026-72135: tpm: Make the TPM character devices non-seekable

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T05:53:10.315Z
- **Modified:** 2026-10-16T19:17:11.267Z

## Who should check

- Anyone running Linux \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< ed0ffc2c016629e40ba041ed0424a772d8b02e2c; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 232dcf908eb7eb9d8046a9597975caf44270966e; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< dda695fab5e21f923d29e8cb01df256468ddfbd1; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 9c513dabd4540f811585a2087f23069767a284da; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 21a13f932972bc9836f58c44fcd47c62abdecd95; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< ada4b9a5087ea7f30dd8e4c6411a4fb6547eb1ed; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 947b773caaa548672184df025271b29bdc80b0f1; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< f20d61c22bcaf172d6790b6500e3838e532e71c8
- Anyone running Linux 5.0

## Description

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.

## Affected and fixed versions

- Linux: \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< ed0ffc2c016629e40ba041ed0424a772d8b02e2c; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 232dcf908eb7eb9d8046a9597975caf44270966e; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< dda695fab5e21f923d29e8cb01df256468ddfbd1; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 9c513dabd4540f811585a2087f23069767a284da; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 21a13f932972bc9836f58c44fcd47c62abdecd95; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< ada4b9a5087ea7f30dd8e4c6411a4fb6547eb1ed; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 947b773caaa548672184df025271b29bdc80b0f1; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< f20d61c22bcaf172d6790b6500e3838e532e71c8 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-72135. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-72135.md
Affected: Linux >= 9488585b21bef0df1217e510c7134905d1d376a7, < ed0ffc2c016629e40ba041ed0424a772d8b02e2c; >= 9488585b21bef0df1217e510c7134905d1d376a7, < 232dcf908eb7eb9d8046a9597975caf44270966e; >= 9488585b21bef0df1217e510c7134905d1d376a7, < dda695fab5e21f923d29e8cb01df256468ddfbd1; >= 9488585b21bef0df1217e51…
Fixed in: Linux 232dcf908eb7eb9d8046a9597975caf44270966e, Linux 9c513dabd4540f811585a2087f23069767a284da, Linux 21a13f932972bc9836f58c44fcd47c62abdecd95, Linux 947b773caaa548672184df025271b29bdc80b0f1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-72135 being exploited?

There is no confirmed exploitation: CVE-2026-72135 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-72135?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-72135?

Linux \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< ed0ffc2c016629e40ba041ed0424a772d8b02e2c; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 232dcf908eb7eb9d8046a9597975caf44270966e; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< dda695fab5e21f923d29e8cb01df256468ddfbd1; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 9c513dabd4540f811585a2087f23069767a284da; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 21a13f932972bc9836f58c44fcd47c62abdecd95; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< ada4b9a5087ea7f30dd8e4c6411a4fb6547eb1ed; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< 947b773caaa548672184df025271b29bdc80b0f1; \>= 9488585b21bef0df1217e510c7134905d1d376a7, \< f20d61c22bcaf172d6790b6500e3838e532e71c8; Linux 5.0.

### Is there a fix for CVE-2026-72135?

Yes. Fixed in Linux 232dcf908eb7eb9d8046a9597975caf44270966e, Linux 9c513dabd4540f811585a2087f23069767a284da, Linux 21a13f932972bc9836f58c44fcd47c62abdecd95, Linux 947b773caaa548672184df025271b29bdc80b0f1. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-72135?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/ed0ffc2c016629e40ba041ed0424a772d8b02e2c>
- other: <https://git.kernel.org/stable/c/232dcf908eb7eb9d8046a9597975caf44270966e>
- other: <https://git.kernel.org/stable/c/dda695fab5e21f923d29e8cb01df256468ddfbd1>
- other: <https://git.kernel.org/stable/c/9c513dabd4540f811585a2087f23069767a284da>
- other: <https://git.kernel.org/stable/c/21a13f932972bc9836f58c44fcd47c62abdecd95>
- other: <https://git.kernel.org/stable/c/ada4b9a5087ea7f30dd8e4c6411a4fb6547eb1ed>
- other: <https://git.kernel.org/stable/c/947b773caaa548672184df025271b29bdc80b0f1>
- other: <https://git.kernel.org/stable/c/f20d61c22bcaf172d6790b6500e3838e532e71c8>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-72135>

HTML: <https://flawdb.com/CVE-2026-72135> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-72135>
