# CVE-2026-53210: tee: shm: fix shm leak in register\_shm\_helper()

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.16% (percentile 3, 2026-11-28)
- **CWE:** CWE-401
- **Published:** 2026-06-25T08:39:15.569Z
- **Modified:** 2026-07-02T20:54:05.763Z

## Who should check

- Anyone running Linux \>= 7bdee41575919773818e525ea19e54eb817770af, \< 4277759906b44d923a38c8f59f5576501b187b0d; \>= 7bdee41575919773818e525ea19e54eb817770af, \< c10c9c48b2903f41ed4c532043b0576e86228236; \>= 7bdee41575919773818e525ea19e54eb817770af, \< dbf779db927414f5b37c1f666013e9b48a88cfde; \>= 7bdee41575919773818e525ea19e54eb817770af, \< 26682f5efc276e3ad96d102019472bfbf03833b2
- Anyone running Linux 6.8

## Description

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

tee: shm: fix shm leak in register\_shm\_helper()

register\_shm\_helper() allocates shm before calling
iov\_iter\_npages(). If iov\_iter\_npages() returns 0, the function
jumps to err\_ctx\_put and leaks shm.

This can be triggered by TEE\_IOC\_SHM\_REGISTER with
struct tee\_ioctl\_shm\_register\_data where length is 0.

Jump to err\_free\_shm instead.

## Affected and fixed versions

- Linux: \>= 7bdee41575919773818e525ea19e54eb817770af, \< 4277759906b44d923a38c8f59f5576501b187b0d; \>= 7bdee41575919773818e525ea19e54eb817770af, \< c10c9c48b2903f41ed4c532043b0576e86228236; \>= 7bdee41575919773818e525ea19e54eb817770af, \< dbf779db927414f5b37c1f666013e9b48a88cfde; \>= 7bdee41575919773818e525ea19e54eb817770af, \< 26682f5efc276e3ad96d102019472bfbf03833b2 (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- Upgrade Linux to 26682f5efc276e3ad96d102019472bfbf03833b2 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-53210.md
Affected: Linux >= 7bdee41575919773818e525ea19e54eb817770af, < 4277759906b44d923a38c8f59f5576501b187b0d; >= 7bdee41575919773818e525ea19e54eb817770af, < c10c9c48b2903f41ed4c532043b0576e86228236; >= 7bdee41575919773818e525ea19e54eb817770af, < dbf779db927414f5b37c1f666013e9b48a88cfde; >= 7bdee41575919773818e525…
Fixed in: Linux 4277759906b44d923a38c8f59f5576501b187b0d, Linux 26682f5efc276e3ad96d102019472bfbf03833b2

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-53210 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 7bdee41575919773818e525ea19e54eb817770af, \< 4277759906b44d923a38c8f59f5576501b187b0d; \>= 7bdee41575919773818e525ea19e54eb817770af, \< c10c9c48b2903f41ed4c532043b0576e86228236; \>= 7bdee41575919773818e525ea19e54eb817770af, \< dbf779db927414f5b37c1f666013e9b48a88cfde; \>= 7bdee41575919773818e525ea19e54eb817770af, \< 26682f5efc276e3ad96d102019472bfbf03833b2; Linux 6.8.

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

Yes. Fixed in Linux 4277759906b44d923a38c8f59f5576501b187b0d, Linux 26682f5efc276e3ad96d102019472bfbf03833b2. Upgrade Linux to 26682f5efc276e3ad96d102019472bfbf03833b2 or later.

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

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

- patch: <https://git.kernel.org/stable/c/4277759906b44d923a38c8f59f5576501b187b0d>
- patch: <https://git.kernel.org/stable/c/c10c9c48b2903f41ed4c532043b0576e86228236>
- patch: <https://git.kernel.org/stable/c/dbf779db927414f5b37c1f666013e9b48a88cfde>
- patch: <https://git.kernel.org/stable/c/26682f5efc276e3ad96d102019472bfbf03833b2>

## 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-53210>

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