CVE-2026-23309
tracing: Add NULL pointer check to trigger_data_free()
Check your servers for CVE-2026-23309
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-23309 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.90% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c10f0efe57728508d796ae4ba7abe4c14ec3d8ef, before 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e affected from 7e6556e9329bc484e9dcdab6e346d959267c0636, before 59c15b9cc453b74beb9f04c6c398717e73612dc3 affected from 9b0513905e0598b9f8cfccab8e47497aed5d935d, before 42b380f97d65e76e7b310facd525f730272daf57 affected from 335dfe4bc6368e70e8c15419375cf609c4f85558, before 2ce8ece5a78da67834db7728edc801889a64f643 affected from e42efbe9754da78eafe11f6bd3ca9c8a094a752a, before 477469223b2b840f436ce204333de87cb17e5d93 affected from 0550069cc25f513ce1f109c88f7c1f01d63297db, before 457965c13f0837a289c9164b842d0860133f6274
Other versions: unaffected
|
| Linux |
affected from 6.1.165, before 6.1.167 affected from 6.6.128, before 6.6.130 affected from 6.12.75, before 6.12.77 affected from 6.18.14, before 6.18.17 affected from 6.19.4, before 6.19.7
Other versions: unaffected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-23309 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23309
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-23309
trivy image --scanners vuln IMAGE | grep CVE-2026-23309
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e git.kernel.org
- https://git.kernel.org/stable/c/59c15b9cc453b74beb9f04c6c398717e73612dc3 git.kernel.org
- https://git.kernel.org/stable/c/42b380f97d65e76e7b310facd525f730272daf57 git.kernel.org
- https://git.kernel.org/stable/c/2ce8ece5a78da67834db7728edc801889a64f643 git.kernel.org
- https://git.kernel.org/stable/c/477469223b2b840f436ce204333de87cb17e5d93 git.kernel.org
- https://git.kernel.org/stable/c/457965c13f0837a289c9164b842d0860133f6274 git.kernel.org
Source: the record CVE-2026-23309 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse