Skip to main content
← All vulnerabilities
CVE-2026-23309

tracing: Add NULL pointer check to trigger_data_free()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.1.167, 6.6.130, 6.12.77, 6.18.17, 6.19.7
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    From 6.1.165 · fixed in 6.1.167; From 6.6.128 · fixed in 6.6.130; From 6.12.75 · fixed in 6.12.77; From 6.18.14 · fixed in 6.18.17; From 6.19.4 · fixed in 6.19.7

References 6

git.kernel.org