# CVE-2026-79979: Stale TLB entries after demand-paging page-out let arm64 user threads access reused physical frames

> 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:H/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); 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.14% (percentile 2, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-10-23T19:56:16.111Z
- **Modified:** 2026-11-02T14:17:39.653Z

## Who should check

- Anyone running zephyrproject zephyr \>= 4.3.0, \< 4.5.0

## Description

The arm64 MMU backend invalidates a single virtual address from the TLB with invalidate\_tlb\_page() in arch/arm64/core/mmu.c, which issued TLBI VAE1{IS} with an operand of virt \>\> 12. That operand encodes the ASID in bits \[63:48\], so the invalidation only ever matched ASID 0 (the kernel page tables) and global entries. Memory domains, however, are allocated ASIDs starting at 1 in arch\_mem\_domain\_init(), and every domain-private leaf created by private\_map() is mapped with MT\_NG, i.e. non-global. A domain's cached translation therefore survived the invalidation.

All callers of invalidate\_tlb\_page() are demand-paging paths. When the eviction algorithm reclaims a frame, page\_frame\_prepare\_locked() in kernel/mmu.c calls arch\_mem\_page\_out(), which marks the kernel leaf invalid, propagates the invalid descriptor into every domain via sync\_domains(), and then flushes only ASID 0. do\_page\_fault() immediately reuses the very same page frame for the incoming mapping through arch\_mem\_page\_in(). A user thread that had already touched the evicted page — a k\_mem\_partition added with arch\_mem\_domain\_partition\_add(), or its own stack mapped by map\_thread\_stack() — retains a valid EL0 read/write translation to that physical frame under its own ASID.

Unprivileged code running in a user thread can drive memory pressure to force eviction and then keep accessing the stale address, obtaining read and write access to whatever the kernel subsequently placed in that frame: supervisor data, another memory domain's partition, or another thread's stack. This defeats the isolation that CONFIG\_USERSPACE is meant to enforce, allowing information disclosure and memory corruption up to full compromise of the system.

The fix switches the implementation to TLBI VAAE1{IS}, which matches every ASID and both global and non-global entries, so no domain-tagged translation survives a page out, dirty-bit update or access-flag clear. Exploitation requires an arm64 build with both CONFIG\_USERSPACE and CONFIG\_DEMAND\_PAGING enabled, an active backing store, and at least one demand-paged page that is also privately mapped into a user memory domain. The same commit additionally stops globalize\_table() from stripping EL0 permission and non-global attributes off domain-private leaves during paging synchronization, which previously caused user threads to lose access to their own partitions and stacks.

## Affected and fixed versions

- zephyrproject zephyr: \>= 4.3.0, \< 4.5.0 (cvelist)

## Mitigation

- Upgrade zephyr to 4.5.0 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-79979. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-79979.md
Affected: zephyrproject zephyr >= 4.3.0, < 4.5.0
Fixed in: zephyrproject zephyr 4.5.0

Steps:
1. Search this machine and project for zephyrproject zephyr: 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-79979 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

zephyrproject zephyr \>= 4.3.0, \< 4.5.0.

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

Yes. Fixed in zephyrproject zephyr 4.5.0. Upgrade zephyr to 4.5.0 or later.

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

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

- vendor: <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-6pqm-hfxf-48qv>
- patch: <https://github.com/zephyrproject-rtos/zephyr/commit/d732e9f808f16911d06769b3f756246f3528669f>

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

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