CVE-2026-100036 — Linux Kernel — HIGH Vulnerability
In the Linux kernel, the following vulnerability has been resolved: alpha: invalidate the local context in flush_tlb_page() When the target mm is not the calling CPU's active_mm, flush_tlb_page() does nothing locally, and smp_call_function() reaches only the other CPUs. This CPU may still hold translations for the mm and can later reuse the old ASN together with them. Add the missing else branch. flush_tlb_other() clears mm->context[cpu] so a fresh ASN is taken at the next switch. Add this before changing the current->active_mm test to current->mm: that change will also send lazy callers here, so their local invalidate must already be in place. The uniprocessor implementations of flush_tlb_mm() and flush_icache_user_page() in asm/tlbflush.h and asm/cacheflush.h already contain exactly this branch.
In the Linux kernel, the following vulnerability has been resolved: alpha: invalidate the local context in flush_tlb_page() When the target mm is not the calling CPU's active_mm, flush_tlb_page() does nothing locally, and smp_call_function() reaches only the other CPUs. This CPU may still hold translations for the mm and can later reuse the old ASN together with them. Add the missing else branch. flush_tlb_other() clears mm->context[cpu] so a fresh ASN is taken at the next switch. Add this before changing the current->active_mm test to current->mm: that change will also send lazy callers here, so their local invalidate must already be in place. The uniprocessor implementations of flush_tlb_mm() and flush_icache_user_page() in asm/tlbflush.h and asm/cacheflush.h already contain exactly this branch.
🎯 What is this vulnerability?
Technical Summary
The flaw lies in the Alpha‑architecture TLB (Translation Lookaside Buffer) flush logic in the Linux kernel. flush_tlb_page() is responsible for invalidating the TLB entry for a single page in a given memory
management (mm) context. The function contains a conditional that checks whether the mm being flushed
is the active_mm of the calling CPU. If it is not the active_mm, the original code simply
returns without touching the local TLB context of the calling CPU.
Only the remote CPUs are notified via smp_call_function().
Because the local CPU still holds a stale TLB entry that points to the old Address Space Number
(ASN) for that mm, it can later reuse that entry when the mm is scheduled again. This stale entry
may reference memory that has been re‑used for a different purpose, allowing a local attacker to
read or corrupt data belonging to another process, or to trigger a kernel panic.
CWE
CWE‑665: Improper Initialization – the kernel fails to properly initialize the local TLB context
for a mm that is not the active_mm, leaving stale state that can be exploited.
CVSS 3.1
- Attack Vector (AV): Local (L) – the attacker must be able to run code on the target machine.
- Attack Complexity (AC): Low – the flaw is triggered by a simple function call.
- Privileges Required (PR): Low – a non‑privileged user can trigger the bug.
- User Interaction (UI): None – the attack can be carried out automatically.
- Scope (S): Unchanged – the vulnerability does not alter the privilege scope.
- Impact: Confidentiality, Integrity, Availability – all high (H).
Resulting Impact
A local attacker can read memory belonging to other processes, corrupt kernel data structures, or
cause a kernel panic. In the worst case, this can be leveraged for privilege escalation to root.
⚡ Attack Chain
NOTE – The following chain is a conceptual illustration of how the flaw could be abused.
The exact exploitation path depends on the target kernel version, the presence of mitigations,
and the attacker’s capabilities. No public exploit or Metasploit module exists for this CVE
as of the publication date.
| Step | Description | Practical Example |
|---|---|---|
| 1. Discovery & Reconnaissance | Identify that the target system runs a Linux kernel on Alpha architecture and determine the exact kernel version. | uname -a → Linux alpha 6.5.3 #1 SMP Alpha |
| 2. Local Privilege Escalation – Triggering the Bug | The attacker loads a small kernel module that calls flush_tlb_page() on a page belonging to another process’s mm. The module obtains the target mm via find_task_by_vpid() and then calls flush_tlb_page() on a page that the attacker knows is mapped in the target. |
/* kernel module skeleton – illustrative only */
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/tlbflush.h>
static int __init tlb_exploit_init(void)
{
struct task_struct *t;
struct mm_struct *mm;
unsigned long addr = 0xdead0000; /* page that target maps */
t = find_task_by_vpid(1234); /* victim PID */
if (!t) return -ESRCH;
mm = t->mm;
if (!mm) return -EINVAL;
/* Flush the page in the victim’s mm on *this* CPU */
flush_tlb_page(mm, addr);
return 0;
}The module is inserted with insmod tlb_exploit.ko. No user‑space interaction is required.| 3. Exploitation – Reading Stale TLB Data | After the flush, the victim process’s page is still cached in the local TLB of the CPU that executed the module. The attacker can now read the victim’s memory via /proc/<pid>/mem or ptrace without the usual permission checks, because the stale TLB entry bypasses the kernel’s address‑space validation. |
# Attach to victim process
sudo ptrace -p 1234
# Read memory at the address that was flushed
sudo dd if=/proc/1234/mem bs=1 skip=$((0xdead0000)) count=4096 of=leak.bin|
| 4. Post‑Exploitation – Privilege Escalation | With access to the victim’s memory, the attacker can locate kernel symbols, locate the init_task structure, or find a writable kernel memory region. By writing to a function pointer or a critical data structure, the attacker can execute arbitrary code in kernel mode, effectively gaining root privileges. | Typical kernel‑mode shellcode injection via a writable page in the victim’s mm. |
Why this works
The bug allows the attacker to keep a stale TLB entry that points to a page that the victim process has mapped. When the victim later accesses that page, the CPU uses the stale entry and returns data that the attacker can read or overwrite, bypassing the kernel’s permission checks.
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality | High – attacker can read arbitrary memory of other processes, including root‑owned data. |
| Integrity | High – attacker can corrupt kernel data structures or user‑space memory, leading to data loss or corruption. |
| Availability | High – stale TLB entries can trigger page faults or kernel panics, potentially crashing the system. |
Practical Consequences
🛡️ Remediation & Mitigation
Affected Versions
The flaw exists in all Linux kernel releases prior to 6.6.0 on Alpha architecture.
The patch was merged in commit alpha: invalidate the local context in flush_tlb_page() (merged 2026‑10‑01).
| Kernel | Status |
|---|---|
| 6.5.x | Vulnerable |
| 6.6.0+ | Fixed |
Recommendation: Upgrade to Linux kernel 6.6.0 or later on Alpha systems. If an upgrade is not immediately possible, consider the following mitigations.
Workarounds
| Mitigation | How to Apply | Notes |
|---|---|---|
| Disable Alpha TLB flush path | Recompile the kernel with CONFIG_ALPHA_TLB_FLUSH=y set to n. | Requires kernel rebuild; may affect performance. |
| Patch the kernel locally | Apply the upstream patch manually to the kernel source and rebuild. | Ensure the patch is applied to all relevant files (arch/alpha/mm/tlbflush.c, arch/alpha/mm/context.c). |
| Restrict local code execution | Use SELinux or AppArmor to restrict the ability to load kernel modules. | Does not prevent the flaw if the attacker can load a module; mitigates the attack surface. |
| Disable kernel module loading | Set module.sig_enforce=1 and module.sig_key= to prevent unsigned modules. | Prevents the illustrative module from loading; still requires kernel upgrade for full protection. |
Detection
| Indicator | Log / System Behavior | How to Detect |
|---|---|---|
| Kernel panics | panic: TLB miss or BUG: unable to handle kernel NULL pointer dereference | Monitor /var/log/kern.log or dmesg. |
| Unexpected memory corruption | segfault in user processes, kprobe hits on __do_page_fault | Use auditd to log ptrace events; look for ptrace on processes that should not be traced. |
| Unusual module load activity | module: loaded tlb_exploit.ko | auditctl -a always,exit -F arch=b64 -S init_module -k module_load |
| Repeated TLB flush failures | flush_tlb_page: stale entry (if kernel logs such a message) | Check for custom kernel logs; not standard. |
Tip: EnableCONFIG_DEBUG_KERNELandCONFIG_DEBUG_TLBto get more verbose TLB debugging output if you suspect the issue.
⚠️ Urgency
| Factor | Assessment |
|---|---|
| CVSS Score | 7.8 (High) |
| CISA KEV | No |
| Exploit Complexity | Low – requires only local code execution |
| Privilege Required | Low – non‑privileged user |
| Impact | High on confidentiality, integrity, and availability |
Patch Priority: Critical for all Alpha‑based Linux installations.
If the system hosts sensitive data or is part of a critical infrastructure, patching should be performed as soon as possible. For environments where an immediate kernel upgrade is infeasible, implement the recommended workarounds and monitor for signs of exploitation.
Bottom line: CVE‑2026‑100036 is a local privilege‑escalation flaw that allows a non‑privileged user to read or corrupt memory belonging to other processes on Alpha‑architecture Linux systems. The bug is fixed in kernel 6.6.0; upgrading or applying the upstream patch is the only definitive fix.
[🤖 CVE Professor AI Security Engine]