CVE-2026-23309

MEDIUM

tracing: Add NULL pointer check to trigger_data_free()

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0012
EPSS Percentile 2.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (31)
linux/Kernel < 6.1.167linux
linux/Kernel 6.1.165 - 6.1.167linux
linux/Kernel 6.12.75 - 6.12.77linux
linux/Kernel 6.13.0 - 6.18.17linux
linux/Kernel 6.18.14 - 6.18.17linux
linux/Kernel 6.19.0 - 6.19.7linux
linux/Kernel 6.19.4 - 6.19.7linux
linux/Kernel 6.2.0 - 6.6.130linux
linux/Kernel 6.6.128 - 6.6.130linux
linux/Kernel 6.7.0 - 6.12.77linux
... and 21 more
Published Mar 25, 2026
Tracked Since Mar 25, 2026