tracing: Add NULL pointer check to trigger_data_free()

Summary

CVECVE-2026-23309
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-03-25 11:16:26 UTC
Updated2026-05-28 14:24:05 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-476

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected c10f0efe57728508d796ae4ba7abe4c14ec3d8ef 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e git Not specified
CNA Linux Linux affected 7e6556e9329bc484e9dcdab6e346d959267c0636 59c15b9cc453b74beb9f04c6c398717e73612dc3 git Not specified
CNA Linux Linux affected 9b0513905e0598b9f8cfccab8e47497aed5d935d 42b380f97d65e76e7b310facd525f730272daf57 git Not specified
CNA Linux Linux affected 335dfe4bc6368e70e8c15419375cf609c4f85558 2ce8ece5a78da67834db7728edc801889a64f643 git Not specified
CNA Linux Linux affected e42efbe9754da78eafe11f6bd3ca9c8a094a752a 477469223b2b840f436ce204333de87cb17e5d93 git Not specified
CNA Linux Linux affected 0550069cc25f513ce1f109c88f7c1f01d63297db 457965c13f0837a289c9164b842d0860133f6274 git Not specified
CNA Linux Linux affected 6.1.165 6.1.167 semver Not specified
CNA Linux Linux affected 6.6.128 6.6.130 semver Not specified
CNA Linux Linux affected 6.12.75 6.12.77 semver Not specified
CNA Linux Linux affected 6.18.14 6.18.17 semver Not specified
CNA Linux Linux affected 6.19.4 6.19.7 semver Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/477469223b2b840f436ce204333de87cb17e5d93 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/59c15b9cc453b74beb9f04c6c398717e73612dc3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/42b380f97d65e76e7b310facd525f730272daf57 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/457965c13f0837a289c9164b842d0860133f6274 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/2ce8ece5a78da67834db7728edc801889a64f643 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report