Skip to main content

Linux Kernel CVE-2026-64451

| EUVDEUVD-2026-48795 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-07-25 Linux GHSA-xvp7-xr44-89mj
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local tracefs write access
  2. Delivery
    Open function tracer option file (e.g., func_stack_trace)
  3. Exploit
    Switch active tracer to wakeup_rt
  4. Install
    current_trace_flags set to NULL
  5. C2
    Write to open option file descriptor
  6. Execute
    func_set_flag() dereferences NULL
  7. Impact
    Kernel panic (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Write access to tracefs option files is required, which on standard Linux distributions is restricted to root or holders of CAP_SYS_ADMIN; on systems with user-namespace-based tracefs delegation or explicitly relaxed permissions this may extend to lower-privileged users, consistent with the CVSS PR:L rating. The exploit requires a two-step sequence: (1) a tracefs option file must be opened while the function tracer (function) is the active tracer, and (2) the active tracer must subsequently be switched to a different tracer (e.g., wakeup_rt) before the write to that option file occurs. Systems that never expose tracefs to non-root users, or that do not use the function tracer, are not exploitable in practice. Impact is strictly local denial of service - no code execution, privilege escalation, or data disclosure is possible via this flaw.

Impact

Real-world risk is low-to-moderate and constrained to local denial of service. The CVSS 3.1 score of 5.5 with vector AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H accurately captures the impact ceiling: no confidentiality or integrity breach is possible, only a kernel panic. The PR:L assignment deserves scrutiny - on standard production Linux distributions, tracefs write access typically requires root or CAP_SYS_ADMIN, which would correspond to PR:H; the PR:L rating may reflect configurations with user-namespace-based tracefs exposure or explicitly relaxed permissions. EPSS of 0.20% (10th percentile) reflects very low community-observed exploitation interest, consistent with the niche preconditions. No KEV listing and no public exploit exist. The scenario requires deliberate coordination (open option file, switch tracer, write) that is unlikely to occur accidentally but is trivially reproducible by a motivated local attacker on a vulnerable host. Systems not exposing tracefs to non-root users are effectively unaffected in practice despite the CVSS PR:L assignment.

Exploit ScenarioDerived

A local user with write access to tracefs opens /sys/kernel/debug/tracing/options/func_stack_trace while the function tracer is active, then writes wakeup_rt to /sys/kernel/debug/tracing/current_tracer to switch the active tracer, which sets tr->current_trace_flags to NULL. A subsequent write to the already-open option file descriptor invokes func_set_flag(), which immediately faults at the first instruction by dereferencing the NULL current_trace_flags, crashing the kernel. No exploit code is publicly available; the crash is fully deterministic and reproducible from the documented call chain.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 03, 2026

NULL pointer dereference in the Linux kernel tracing subsystem (func_set_flag()) allows a local attacker with tracefs write access to trigger a kernel panic and crash the system. The flaw arises when a process holds an open file descriptor to a function tracer option (e.g., func_stack_trace) while a concurrent tracer switch sets tr->current_trace_flags to NULL; a subsequent write to that option file then dereferences the NULL pointer before the function tracer guard executes. No active exploitation (KEV) or public exploit code has been identified; EPSS is 0.20% at the 10th percentile, consistent with a localized, technically specific DoS condition.

RemediationAI

Apply the vendor-released stable kernel patches at https://git.kernel.org/stable/c/69f17ac132a38974cf1defb480cef6b79d1ab768 or https://git.kernel.org/stable/c/c3e94604675e3db186111b8942650d86577df9b0, upgrading to Linux 7.1.4, 6.19, or 7.2-rc3 as applicable to your stable series. If immediate patching is not feasible, restrict or remove non-root access to tracefs by remounting with mode 700 (mount -o remount,mode=700 /sys/kernel/debug) or unmounting debugfs entirely (umount /sys/kernel/debug); be aware this will break ftrace-based profiling tools, bpftrace, perf's ftrace backend, and similar observability tooling. Alternatively, prevent loading of the function tracer module (modprobe -r function_trace) if your kernel supports it as a module, which eliminates the vulnerable code path.

Affected VersionsENISA

Linux 76680d0d2825900f23bf35290ab2b80bdf3a8e4a <69f17ac132a38974cf1defb480cef6b79d1ab768
Linux 76680d0d2825900f23bf35290ab2b80bdf3a8e4a <c3e94604675e3db186111b8942650d86577df9b0
Linux patch: 7.2-rc3
Linux patch: 0
Linux patch: 7.1.4
Linux 6.19

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in kernel/trace/trace_functions.c, within func_set_flag(), which is a callback invoked via the trace_options_write() → __set_tracer_option() → trace->set_flag() call chain when a user writes to tracefs option files (typically mounted under /sys/kernel/debug/tracing/). CWE-476 (NULL Pointer Dereference) applies precisely: the function unconditionally dereferences tr->current_trace_flags->val at its first instruction, but the guard that validates the function tracer is still active (if (tr->current_trace != &function_trace) return 0) appears afterward. When a tracer switch occurs (e.g., to wakeup_rt), the kernel sets current_trace_flags to NULL as part of deactivating the function tracer context. A subsequent write via any previously opened file descriptor reaches func_set_flag() and faults at offset +0xd on a zero-page access, as confirmed by the crash register dump (RAX=0, RIP: func_set_flag+0xd). CPE data identifies the Linux kernel (cpe:2.3:a:linux:linux:*) in versions from commit 76680d0d2825900f23bf35290ab2b80bdf3a8e4a up to but not including the fix commits. The patch is a one-line reorder moving the early-return guard above the dereference.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Local tracefs write required with no confidentiality or integrity impact; kernel panic is the sole outcome, yielding A:H only.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 5.5 LOW

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 03, 2026 - 15:37 NVD
5.5 (MEDIUM)
Patch available
Jul 25, 2026 - 11:18 EUVD
CVE Published
Jul 25, 2026 - 08:51 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 25, 2026 - 08:51 nvd
MEDIUM 5.5

DescriptionNVD

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

tracing: Fix NULL pointer dereference in func_set_flag()

func_set_flag() dereferences tr->current_trace_flags before verifying that the current tracer is actually the function tracer. When the active tracer has been switched away from "function" (e.g., to "wakeup_rt"), tr->current_trace_flags can be NULL, leading to a NULL pointer dereference and kernel crash.

The call chain that triggers this is:

trace_options_write() -> __set_tracer_option() -> trace->set_flag() /* func_set_flag */

In func_set_flag(), the first operation is:

if (!!set == !!(tr->current_trace_flags->val & bit))

This dereferences tr->current_trace_flags unconditionally. The safety check that guards against a non-function tracer:

if (tr->current_trace != &function_trace) return 0;

is placed *after* the dereference, which is too late.

This was observed with the following crash dump:

BUG: unable to handle page fault at 0000000000000000 RIP: func_set_flag+0xd

Call Trace: __set_tracer_option+0x27 trace_options_write+0x75 vfs_write+0x12a ksys_write+0x66 do_syscall_64+0x5b

RIP: ffffffff914c973d RSP: ff67ec88b01dfdf0 RFLAGS: 00010202 RAX: 0000000000000000 RBX: ff3a826e80354580 RCX: 0000000000000001 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffffff93918080

The disassembly confirms the fault:

func_set_flag+0: mov 0x1f08(%rdi), %rax ; RAX = tr->current_trace_flags = NULL func_set_flag+13: mov (%rax), %eax ; page fault: dereference NULL

At the time of the crash: tr->current_trace_flags = 0x0 (NULL) tr->current_trace = wakeup_rt_tracer (not function_trace)

The scenario is that a process opens a function tracer option file (such as "func_stack_trace"), then the current tracer is switched to another tracer (e.g., "wakeup_rt"), which sets current_trace_flags to NULL. When the process subsequently writes to the option file, func_set_flag() is invoked and crashes on the NULL dereference.

Fix this by moving the current_trace check before the current_trace_flags dereference, so that func_set_flag() returns early when the function tracer is not active.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Ubiquitous
Linux kernel underlies virtually all Linux server, container, and embedded deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy