NULL pointer dereference in Linux

CVE-2026-23309

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.001, 2.7th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions c10f0efe57728508d796ae4ba7abe4c14ec3d8ef, 7e6556e9329bc484e9dcdab6e346d959267c0636, 9b0513905e0598b9f8cfccab8e47497aed5d935d
  • Linux Kernel — versions 7.0

Weakness classification (CWE)

References