KernelScan.io

HIGH Introduced in 4.17

tracing SynthEvent UAF

CVE-2026-99233

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.8HIGH

01

In the Linux kernel, the following vulnerability has been resolved: tracing/histograms: Verify event_call identity when updating synth_event refcount In event_hist_trigger_parse() and hist_unreg_all(), the histogram registration and unregistration paths look up find_synth_event() using trace_event_name(file->event_call) and adjust se->ref if a match is found. Because find_synth_event() only compares the event basename, registering or removing a histogram on a non-synthetic trace event whose basename matches a synthetic event erroneously modifies the synthetic event's reference count. If a histogram is registered on the non-synthetic event before the synthetic event is created and removed afterwards, se->ref is decremented without a matching increment, allowing the synthetic event to be freed while an active histogram action still holds a pointer to it. Introduce find_synth_event_call() to verify that &se->call matches file->event_call before adjusting se->ref.

02

Engine v0.10.0

Risk summary

A local attacker with CAP_SYS_ADMIN (obtainable in a user namespace) can trigger a use-after-free in the kernel tracing subsystem by manipulating histogram triggers on trace events that share a basename with a synthetic event. This allows arbitrary kernel memory read/write and code execution, leading to full privilege escalation.

Affectedkernel/trace/trace_events_hist.c (tracing/histograms)

Vulnerability analysis

The tracing histogram registration and unregistration paths incorrectly adjusted a synthetic event's reference count based only on the event basename. A non-synthetic trace event sharing the same basename as a synthetic event would cause the synthetic event's reference count to be decremented without a matching increment when a histogram was removed, freeing the synthetic event while an active histogram action still held a pointer to it. The fix adds a verification step that matches the event_call pointer before adjusting the reference count, ensuring only the correct synthetic event is affected. An attacker needs local access and the CAP_SYS_ADMIN capability (available in user namespaces) to configure trace events and trigger the bug.

03

BranchIntroducedFixed inPatch commit
5.104.175.10.275e906114ac237
5.154.175.15.2264c3b009bd035
6.14.176.1.191381f543ed35c
6.124.176.12.11523b4106e8b35
6.184.176.18.6006e816bed499
6.64.176.6.1614472579bd1c8
7.24.177.2.145597bb8db685
7.34.177.3.1cf4e31d5da80
mainline4.177.4-rc13403d9bb27eb
cip/6.124.176.12.117-cip3523b4106e8b35

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.117-cip35
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip137)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip137-rt51)