CVE-2026-23309 (GCVE-0-2026-23309)

Vulnerability from cvelistv5 – Published: 2026-03-25 10:27 – Updated: 2026-03-25 10:27
VLAI?
Title
tracing: Add NULL pointer check to trigger_data_free()
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.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: c10f0efe57728508d796ae4ba7abe4c14ec3d8ef , < 13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e (git)
Affected: 7e6556e9329bc484e9dcdab6e346d959267c0636 , < 59c15b9cc453b74beb9f04c6c398717e73612dc3 (git)
Affected: 9b0513905e0598b9f8cfccab8e47497aed5d935d , < 42b380f97d65e76e7b310facd525f730272daf57 (git)
Affected: 335dfe4bc6368e70e8c15419375cf609c4f85558 , < 2ce8ece5a78da67834db7728edc801889a64f643 (git)
Affected: e42efbe9754da78eafe11f6bd3ca9c8a094a752a , < 477469223b2b840f436ce204333de87cb17e5d93 (git)
Affected: 0550069cc25f513ce1f109c88f7c1f01d63297db , < 457965c13f0837a289c9164b842d0860133f6274 (git)
Create a notification for this product.
    Linux Linux Affected: 7.0-rc1
Unaffected: 0 , < 7.0-rc1 (semver)
Unaffected: 6.1.167 , ≤ 6.1.* (semver)
Unaffected: 6.6.130 , ≤ 6.6.* (semver)
Unaffected: 6.12.77 , ≤ 6.12.* (semver)
Unaffected: 6.18.17 , ≤ 6.18.* (semver)
Unaffected: 6.19.7 , ≤ 6.19.* (semver)
Unaffected: 7.0-rc3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/trace_events_trigger.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e",
              "status": "affected",
              "version": "c10f0efe57728508d796ae4ba7abe4c14ec3d8ef",
              "versionType": "git"
            },
            {
              "lessThan": "59c15b9cc453b74beb9f04c6c398717e73612dc3",
              "status": "affected",
              "version": "7e6556e9329bc484e9dcdab6e346d959267c0636",
              "versionType": "git"
            },
            {
              "lessThan": "42b380f97d65e76e7b310facd525f730272daf57",
              "status": "affected",
              "version": "9b0513905e0598b9f8cfccab8e47497aed5d935d",
              "versionType": "git"
            },
            {
              "lessThan": "2ce8ece5a78da67834db7728edc801889a64f643",
              "status": "affected",
              "version": "335dfe4bc6368e70e8c15419375cf609c4f85558",
              "versionType": "git"
            },
            {
              "lessThan": "477469223b2b840f436ce204333de87cb17e5d93",
              "status": "affected",
              "version": "e42efbe9754da78eafe11f6bd3ca9c8a094a752a",
              "versionType": "git"
            },
            {
              "lessThan": "457965c13f0837a289c9164b842d0860133f6274",
              "status": "affected",
              "version": "0550069cc25f513ce1f109c88f7c1f01d63297db",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/trace_events_trigger.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.0-rc1"
            },
            {
              "lessThan": "7.0-rc1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.167",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.77",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.167",
                  "versionStartIncluding": "6.1.165",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.130",
                  "versionStartIncluding": "6.6.128",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.77",
                  "versionStartIncluding": "6.12.75",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.17",
                  "versionStartIncluding": "6.18.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.7",
                  "versionStartIncluding": "6.19.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0-rc3",
                  "versionStartIncluding": "7.0-rc1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Add NULL pointer check to trigger_data_free()\n\nIf trigger_data_alloc() fails and returns NULL, event_hist_trigger_parse()\njumps to the out_free error path. While kfree() safely handles a NULL\npointer, trigger_data_free() does not. This causes a NULL pointer\ndereference in trigger_data_free() when evaluating\ndata-\u003ecmd_ops-\u003eset_filter.\n\nFix the problem by adding a NULL pointer check to trigger_data_free().\n\nThe problem was found by an experimental code review agent based on\ngemini-3.1-pro while reviewing backports into v6.18.y."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-03-25T10:27:04.828Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e"
        },
        {
          "url": "https://git.kernel.org/stable/c/59c15b9cc453b74beb9f04c6c398717e73612dc3"
        },
        {
          "url": "https://git.kernel.org/stable/c/42b380f97d65e76e7b310facd525f730272daf57"
        },
        {
          "url": "https://git.kernel.org/stable/c/2ce8ece5a78da67834db7728edc801889a64f643"
        },
        {
          "url": "https://git.kernel.org/stable/c/477469223b2b840f436ce204333de87cb17e5d93"
        },
        {
          "url": "https://git.kernel.org/stable/c/457965c13f0837a289c9164b842d0860133f6274"
        }
      ],
      "title": "tracing: Add NULL pointer check to trigger_data_free()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-23309",
    "datePublished": "2026-03-25T10:27:04.828Z",
    "dateReserved": "2026-01-13T15:37:45.994Z",
    "dateUpdated": "2026-03-25T10:27:04.828Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-23309\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-03-25T11:16:26.993\",\"lastModified\":\"2026-03-25T15:41:33.977\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ntracing: Add NULL pointer check to trigger_data_free()\\n\\nIf trigger_data_alloc() fails and returns NULL, event_hist_trigger_parse()\\njumps to the out_free error path. While kfree() safely handles a NULL\\npointer, trigger_data_free() does not. This causes a NULL pointer\\ndereference in trigger_data_free() when evaluating\\ndata-\u003ecmd_ops-\u003eset_filter.\\n\\nFix the problem by adding a NULL pointer check to trigger_data_free().\\n\\nThe problem was found by an experimental code review agent based on\\ngemini-3.1-pro while reviewing backports into v6.18.y.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2ce8ece5a78da67834db7728edc801889a64f643\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/42b380f97d65e76e7b310facd525f730272daf57\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/457965c13f0837a289c9164b842d0860133f6274\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/477469223b2b840f436ce204333de87cb17e5d93\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/59c15b9cc453b74beb9f04c6c398717e73612dc3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…