# CVE-2026-23309: tracing: Add NULL pointer check to trigger\_data\_free()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-03-25T10:27:04.828Z
- **Modified:** 2026-06-17T10:21:18.170Z

## Who should check

- Anyone running Linux \>= c10f0efe57728508d796ae4ba7abe4c14ec3d8ef, \< 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e; \>= 7e6556e9329bc484e9dcdab6e346d959267c0636, \< 59c15b9cc453b74beb9f04c6c398717e73612dc3; \>= 9b0513905e0598b9f8cfccab8e47497aed5d935d, \< 42b380f97d65e76e7b310facd525f730272daf57; \>= 335dfe4bc6368e70e8c15419375cf609c4f85558, \< 2ce8ece5a78da67834db7728edc801889a64f643; \>= e42efbe9754da78eafe11f6bd3ca9c8a094a752a, \< 477469223b2b840f436ce204333de87cb17e5d93; \>= 0550069cc25f513ce1f109c88f7c1f01d63297db, \< 457965c13f0837a289c9164b842d0860133f6274
- Anyone running Linux \>= 6.1.165, \< 6.1.167; \>= 6.6.128, \< 6.6.130; \>= 6.12.75, \< 6.12.77; \>= 6.18.14, \< 6.18.17; \>= 6.19.4, \< 6.19.7

## 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.

## Affected and fixed versions

- Linux: \>= c10f0efe57728508d796ae4ba7abe4c14ec3d8ef, \< 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e; \>= 7e6556e9329bc484e9dcdab6e346d959267c0636, \< 59c15b9cc453b74beb9f04c6c398717e73612dc3; \>= 9b0513905e0598b9f8cfccab8e47497aed5d935d, \< 42b380f97d65e76e7b310facd525f730272daf57; \>= 335dfe4bc6368e70e8c15419375cf609c4f85558, \< 2ce8ece5a78da67834db7728edc801889a64f643; \>= e42efbe9754da78eafe11f6bd3ca9c8a094a752a, \< 477469223b2b840f436ce204333de87cb17e5d93; \>= 0550069cc25f513ce1f109c88f7c1f01d63297db, \< 457965c13f0837a289c9164b842d0860133f6274 (cvelist)
- Linux: \>= 6.1.165, \< 6.1.167; \>= 6.6.128, \< 6.6.130; \>= 6.12.75, \< 6.12.77; \>= 6.18.14, \< 6.18.17; \>= 6.19.4, \< 6.19.7 (cvelist)

## Mitigation

- Upgrade Linux to 457965c13f0837a289c9164b842d0860133f6274 or later.
- Upgrade Linux to 6.19.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-23309. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23309.md
Affected: Linux >= c10f0efe57728508d796ae4ba7abe4c14ec3d8ef, < 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e; >= 7e6556e9329bc484e9dcdab6e346d959267c0636, < 59c15b9cc453b74beb9f04c6c398717e73612dc3; >= 9b0513905e0598b9f8cfccab8e47497aed5d935d, < 42b380f97d65e76e7b310facd525f730272daf57; >= 335dfe4bc6368e70e8c1541…
Fixed in: Linux 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e, Linux 59c15b9cc453b74beb9f04c6c398717e73612dc3, Linux 42b380f97d65e76e7b310facd525f730272daf57, Linux 2ce8ece5a78da67834db7728edc801889a64f643, Linux 477469223b2b840f436ce204333de87cb17e5d93, Linux 457965c13f0837a289c9164b842d0860133f6274, Linux 6.1.1…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-23309 being exploited?

There is no confirmed exploitation: CVE-2026-23309 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-23309?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-23309?

Linux \>= c10f0efe57728508d796ae4ba7abe4c14ec3d8ef, \< 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e; \>= 7e6556e9329bc484e9dcdab6e346d959267c0636, \< 59c15b9cc453b74beb9f04c6c398717e73612dc3; \>= 9b0513905e0598b9f8cfccab8e47497aed5d935d, \< 42b380f97d65e76e7b310facd525f730272daf57; \>= 335dfe4bc6368e70e8c15419375cf609c4f85558, \< 2ce8ece5a78da67834db7728edc801889a64f643; \>= e42efbe9754da78eafe11f6bd3ca9c8a094a752a, \< 477469223b2b840f436ce204333de87cb17e5d93; \>= 0550069cc25f513ce1f109c88f7c1f01d63297db, \< 457965c13f0837a289c9164b842d0860133f6274; Linux \>= 6.1.165, \< 6.1.167; \>= 6.6.128, \< 6.6.130; \>= 6.12.75, \< 6.12.77; \>= 6.18.14, \< 6.18.17; \>= 6.19.4, \< 6.19.7.

### Is there a fix for CVE-2026-23309?

Yes. Fixed in Linux 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e, Linux 59c15b9cc453b74beb9f04c6c398717e73612dc3, Linux 42b380f97d65e76e7b310facd525f730272daf57, Linux 2ce8ece5a78da67834db7728edc801889a64f643, Linux 477469223b2b840f436ce204333de87cb17e5d93, Linux 457965c13f0837a289c9164b842d0860133f6274, Linux 6.1.167, Linux 6.6.130, Linux 6.12.77, Linux 6.18.17, Linux 6.19.7. Upgrade Linux to 457965c13f0837a289c9164b842d0860133f6274 or later. Upgrade Linux to 6.19.7 or later.

### How do I check if I'm affected by CVE-2026-23309?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e>
- patch: <https://git.kernel.org/stable/c/59c15b9cc453b74beb9f04c6c398717e73612dc3>
- patch: <https://git.kernel.org/stable/c/42b380f97d65e76e7b310facd525f730272daf57>
- patch: <https://git.kernel.org/stable/c/2ce8ece5a78da67834db7728edc801889a64f643>
- patch: <https://git.kernel.org/stable/c/477469223b2b840f436ce204333de87cb17e5d93>
- patch: <https://git.kernel.org/stable/c/457965c13f0837a289c9164b842d0860133f6274>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-23309>

HTML: <https://flawdb.com/CVE-2026-23309> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-23309>
