# CVE-2026-53085: bpf: fix mm lifecycle in open-coded task\_vma iterator

> 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-28)
- **CWE:** CWE-416, CWE-825
- **Published:** 2026-06-24T16:30:25.232Z
- **Modified:** 2026-10-19T20:19:01.583Z

## Who should check

- Anyone running Linux \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< 239cec25a22662dbd80f57d94b38178c8be95269; \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< d0862de7c866c5bd7c32531f66738c21197af888; \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< 43683bb280330f3d36f0f2a3932a4867b9603e9c; \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< d8e27d2d22b6e2df3a0125b8c08e9aace38c954c
- Anyone running Linux 6.7

## Description

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

bpf: fix mm lifecycle in open-coded task\_vma iterator

The open-coded task\_vma iterator reads task-\>mm locklessly and acquires
mmap\_read\_trylock() but never calls mmget(). If the task exits
concurrently, the mm\_struct can be freed as it is not
SLAB\_TYPESAFE\_BY\_RCU, resulting in a use-after-free.

Safely read task-\>mm with a trylock on alloc\_lock and acquire an mm
reference. Drop the reference via bpf\_iter\_mmput\_async() in \_destroy()
and error paths. bpf\_iter\_mmput\_async() is a local wrapper around
mmput\_async() with a fallback to mmput() on !CONFIG\_MMU.

Reject irqs-disabled contexts (including NMI) up front. Operations used
by \_next() and \_destroy() (mmap\_read\_unlock, bpf\_iter\_mmput\_async)
take spinlocks with IRQs disabled (pool-\>lock, pi\_lock). Running from
NMI or from a tracepoint that fires with those locks held could
deadlock.

A trylock on alloc\_lock is used instead of the blocking task\_lock()
(get\_task\_mm) to avoid a deadlock when a softirq BPF program iterates
a task that already holds its alloc\_lock on the same CPU.

## Affected and fixed versions

- Linux: \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< 239cec25a22662dbd80f57d94b38178c8be95269; \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< d0862de7c866c5bd7c32531f66738c21197af888; \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< 43683bb280330f3d36f0f2a3932a4867b9603e9c; \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< d8e27d2d22b6e2df3a0125b8c08e9aace38c954c (cvelist)
- Linux: 6.7 (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-53085. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53085.md
Affected: Linux >= 4ac4546821584736798aaa9e97da9f6eaf689ea3, < 239cec25a22662dbd80f57d94b38178c8be95269; >= 4ac4546821584736798aaa9e97da9f6eaf689ea3, < d0862de7c866c5bd7c32531f66738c21197af888; >= 4ac4546821584736798aaa9e97da9f6eaf689ea3, < 43683bb280330f3d36f0f2a3932a4867b9603e9c; >= 4ac4546821584736798aaa9…
Fixed in: Linux 239cec25a22662dbd80f57d94b38178c8be95269, Linux 43683bb280330f3d36f0f2a3932a4867b9603e9c

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

There is no confirmed exploitation: CVE-2026-53085 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-28).

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

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

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

Linux \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< 239cec25a22662dbd80f57d94b38178c8be95269; \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< d0862de7c866c5bd7c32531f66738c21197af888; \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< 43683bb280330f3d36f0f2a3932a4867b9603e9c; \>= 4ac4546821584736798aaa9e97da9f6eaf689ea3, \< d8e27d2d22b6e2df3a0125b8c08e9aace38c954c; Linux 6.7.

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

Yes. Fixed in Linux 239cec25a22662dbd80f57d94b38178c8be95269, Linux 43683bb280330f3d36f0f2a3932a4867b9603e9c. No fix listed yet: follow the vendor advisory.

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

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/239cec25a22662dbd80f57d94b38178c8be95269>
- patch: <https://git.kernel.org/stable/c/d0862de7c866c5bd7c32531f66738c21197af888>
- patch: <https://git.kernel.org/stable/c/43683bb280330f3d36f0f2a3932a4867b9603e9c>
- patch: <https://git.kernel.org/stable/c/d8e27d2d22b6e2df3a0125b8c08e9aace38c954c>
- other: <https://access.redhat.com/security/cve/CVE-2026-53085>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2492404>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53085.json>

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

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