CVE-2026-99235·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: tracing: Save the event file instead of the compatible histogram create_field_var_hist() creates a histogram on the matched event to supply a field variable, and records it on the target so it can be torn down later: hist_data = find_compatible_hist(target_hist_data, file); ... /* Save the compatible histogram information */ var_hist->hist_data = hist_data; hist_data is not the histogram it creates. It is one that was already there, whose keys the new one copies. The saved pointer has a single user, unregister_field_var_hists(), which runs when the target is removed: file = hist_data->field_var_hists[i]->hist_data->event_file; find_compatible_hist() matches on keys alone, so it can pick one with no variables of its own. check_var_refs() then returns false and the user can remove it while the target still points at it: BUG: KASAN: slab-use-after-free in event_hist_trigger_free+0x2b2/0x320 Read of size 8 at addr ffff8880093b90e0 by task init/1 Freed by task 1: kfree+0x154/0x420 event_hist_trigger_free+0x1d5/0x320 event_hist_trigger_parse+0x35f3/0x69e0 trigger_process_regex+0x1a6/0x250 Save the event file instead. It is all the dereference ever wanted, and it does not go away when the user removes a trigger.
- Severity
- high
- Software
- Kernel
- Fixed in
- 5.10.273, 5.15.224, 6.1.191, 6.6.161, 6.12.115, 6.18.60, 7.2.14, 7.3.1
- Published
How to fix this CVE
Update your Linux kernel to a patched version that resolves the use-after-free vulnerability in the tracing subsystem's histogram field variables. Apply the fix from your kernel's stable branch: 5.10.273, 5.15.224, 6.1.191, 6.6.161, 6.12.115, 6.18.60, 7.2.14, or 7.3.1 depending on which version you currently run. Contact your Linux distribution for patched kernel packages rather than compiling mainline, as this ensures compatibility and timely security updates.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with 'uname -r' and compare against fixed versions (5.10.273+, 5.15.224+, 6.1.191+, 6.6.161+, 6.12.115+, 6.18.60+, 7.2.14+, 7.3.1+)
- Step 2: Verify if kernel tracing is enabled by checking 'cat /sys/kernel/debug/tracing/events/enable' (0 = disabled, 1 = enabled; if disabled, exposure is minimal)
- Step 3: Search kernel logs for KASAN slab-use-after-free warnings related to event_hist_trigger_free with 'dmesg | grep -i "use-after-free\|event_hist_trigger"'
- Step 4: After patching, confirm the new kernel is active with 'uname -r' and verify tracing still functions correctly with 'cat /sys/kernel/debug/tracing/trace'
FAQ
What is CVE-2026-99235?
This is a use-after-free vulnerability in the Linux kernel's tracing subsystem where the histogram field variable handler incorrectly stores a pointer to a compatible histogram that can be freed by another user, leading to a crash or potential code execution when the freed memory is accessed.
Is CVE-2026-99235 being actively exploited?
No, there is no evidence of active exploitation in the wild, and no public exploits are available. However, the high CVSS score (7.8) reflects the severity of the memory corruption issue.
What versions of Kernel are affected by CVE-2026-99235?
Kernel versions prior to the following stable releases are affected: 5.10.273, 5.15.224, 6.1.191, 6.6.161, 6.12.115, 6.18.60, 7.2.14, and 7.3.1. Users on any version before these corresponding branch fixes should update immediately.
How do I check if my server is vulnerable to CVE-2026-99235?
Run 'uname -r' to get your kernel version, then cross-reference it against the fixed versions listed above. If your version is older than the fixed release for your stable branch, you are vulnerable.
Does Defensia detect CVE-2026-99235?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-99235 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/173914501b97236d7ea7dc2af7f30feddd4e1436
- https://git.kernel.org/stable/c/3609ada3c12cecfb0ae5ee82ef4f86c5f18a2dea
- https://git.kernel.org/stable/c/7a111ba0d1b74c99bc8f096565dc71945f694254
- https://git.kernel.org/stable/c/7cafc82e6153f05a221be678cd649d02e06ba909
- https://git.kernel.org/stable/c/8b307d64a60548e4a74cb746f74d7ed4bd49965e
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-99235. Free for 1 server.
Get started free