CVE-2026-23309 Details
Description
In the Linux kernel, the following vulnerability has been resolved: tracing: Add NULL pointer check to trigger_data_free() If trigger_data_alloc() fails and returns NULL, event_hist_trigger_parse() jumps to the out_free error path. While kfree() safely handles a NULL pointer, trigger_data_free() does not. This causes a NULL pointer dereference in trigger_data_free() when evaluating data->cmd_ops->set_filter. Fix the problem by adding a NULL pointer check to trigger_data_free(). The problem was found by an experimental code review agent based on gemini-3.1-pro while reviewing backports into v6.18.y.
A NULL pointer dereference vulnerability has been identified in the Linux kernel's event tracing mechanism. This issue arises in the 'trigger_data_free()' function, which does not properly handle NULL pointers. When 'trigger_data_alloc()' fails and returns NULL, the 'event_hist_trigger_parse()' function jumps to the error handling path. While 'kfree()' can safely manage a NULL pointer, 'trigger_data_free()' cannot, leading to a dereference error when the function tries to access 'data->cmd_ops->set_filter'. This vulnerability affects the Linux kernel stable versions through 6.18.y.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed. Instructions for upgrading the kernel can be found in the documentation for your specific Linux distribution.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e | kernel.org | Patch |
| https://git.kernel.org/stable/c/2ce8ece5a78da67834db7728edc801889a64f643 | kernel.org | Patch |
| https://git.kernel.org/stable/c/42b380f97d65e76e7b310facd525f730272daf57 | kernel.org | Patch |
| https://git.kernel.org/stable/c/457965c13f0837a289c9164b842d0860133f6274 | kernel.org | Patch |
| https://git.kernel.org/stable/c/477469223b2b840f436ce204333de87cb17e5d93 | kernel.org | Patch |
| https://git.kernel.org/stable/c/59c15b9cc453b74beb9f04c6c398717e73612dc3 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.1.165, < 6.1.167 >= 6.6.128, < 6.6.130 >= 6.12.75, < 6.12.77 >= 6.18.14, < 6.18.17 >= 6.19.4, < 6.19.7 7.0 rc1 7.0 rc2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 28, 2026 | Initial Analysis | [email protected] |
| Mar 25, 2026 | New CVE Received | kernel.org |