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

tracing/fprobe: Fix NULL pointer dereference in fprobe_fgraph_entry()

fprobe_fgraph_entry() sizes a shadow-stack reservation in one walk of
the per-ip fprobe list and fills it in a second walk, both under
rcu_read_lock() only. A fprobe registered on an already-live ip can
become visible between the two walks, so the fill walk processes an
exit_handler the sizing walk did not count and used runs past
reserved_words. If the sizing walk counted nothing, fgraph_data is NULL
and the first write_fprobe_header() faults:

Oops: general protection fault, probably for non-canonical address ...
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
RIP: 0010:fprobe_fgraph_entry+0xa38/0xf10 kernel/trace/fprobe.c:167
Call Trace:
<TASK>
function_graph_enter_regs+0x44c/0xa10 kernel/trace/fgraph.c:677
ftrace_graph_func+0xc5/0x140 arch/x86/kernel/ftrace.c:671
__kernel_text_address+0x9/0x40 kernel/extable.c:78
arch_stack_walk+0x117/0x170 arch/x86/kernel/stacktrace.c:26
kmem_cache_free+0x188/0x580 mm/slub.c:6378
tcp_data_queue+0x18d/0x6550 net/ipv4/tcp_input.c:5590
[...]
</TASK>

The list cannot be frozen across the two walks, so skip a node that does
not fit the reservation and count it as missed.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A NULL pointer dereference occurs in the kernel function fprobe_fgraph_entry() when a newly registered fprobe becomes visible between two RCU‑protected traversals of the per‑address fprobe list. The second traversal attempts to write to a buffer that was not sized during the first walk, causing a general protection fault and a kernel panic. The fault originates in tracing code that is executed only when the ftrace/fprobe subsystem is enabled. This manifests as a kernel crash that disrupts system operation and can be triggered by any action that loads or modifies fprobe entries.

Affected Systems

All Linux kernel releases that have not yet incorporated the three commits referenced in the advisory—367c49d6e283c17b56a31e7a8d964a079244264c, 62988204162fc382cfc7d9a185d40a751261e3a3, or d655cca1c6e67eb081214d37eb231a869ead2f97. In practice this includes many distributions still shipping older Kernels or embedded devices that have not applied the patch.

Risk and Exploitability

The CVSS score is 5.5, and the EPSS score is < 1%. The vulnerability is not listed in CISA’s KEV catalog. Triggering the fprobe mechanism requires kernel‑level privileges, typically root or CAP_SYS_ADMIN, because adding an fprobe entry or manipulating the function‑graph table is restricted. Once an attacker can perform such an action, the kernel will crash, resulting in a denial of service for all users. No public exploit code is known, so the likelihood of exploitation in the wild is currently uncertain, but a local privileged adversary could exploit the flaw.

Generated by OpenCVE AI on August 18, 2026 at 14:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes one of the referenced commits (367c49d6e283c17b56a31e7a8d964a079244264c, 62988204162fc382cfc7d9a185d40a751261e3a3, or d655cca1c6e67eb081214d37eb231a869ead2f97).
  • If a kernel upgrade cannot be performed immediately, disable the ftrace/fprobe subsystem by writing "0" to /sys/kernel/debug/tracing/tracing_on or by unbinding ftrace drivers until the patch can be applied.
  • Continuously monitor system logs (dmesg, journalctl) for KASAN messages or Oops entries that indicate an attempted null pointer dereference in trace/fprobe code; remediate promptly if such events are observed.

Generated by OpenCVE AI on August 18, 2026 at 14:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 18 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sat, 15 Aug 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: tracing/fprobe: Fix NULL pointer dereference in fprobe_fgraph_entry() fprobe_fgraph_entry() sizes a shadow-stack reservation in one walk of the per-ip fprobe list and fills it in a second walk, both under rcu_read_lock() only. A fprobe registered on an already-live ip can become visible between the two walks, so the fill walk processes an exit_handler the sizing walk did not count and used runs past reserved_words. If the sizing walk counted nothing, fgraph_data is NULL and the first write_fprobe_header() faults: Oops: general protection fault, probably for non-canonical address ... KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:fprobe_fgraph_entry+0xa38/0xf10 kernel/trace/fprobe.c:167 Call Trace: <TASK> function_graph_enter_regs+0x44c/0xa10 kernel/trace/fgraph.c:677 ftrace_graph_func+0xc5/0x140 arch/x86/kernel/ftrace.c:671 __kernel_text_address+0x9/0x40 kernel/extable.c:78 arch_stack_walk+0x117/0x170 arch/x86/kernel/stacktrace.c:26 kmem_cache_free+0x188/0x580 mm/slub.c:6378 tcp_data_queue+0x18d/0x6550 net/ipv4/tcp_input.c:5590 [...] </TASK> The list cannot be frozen across the two walks, so skip a node that does not fit the reservation and count it as missed.
Title tracing/fprobe: Fix NULL pointer dereference in fprobe_fgraph_entry()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:13:38.517Z

Reserved: 2026-08-09T03:40:39.923Z

Link: CVE-2026-72385

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:12.017

Modified: 2026-08-17T06:18:43.310

Link: CVE-2026-72385

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72385 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-18T14:30:05Z

Weaknesses