CVE-2026-23309 (GCVE-0-2026-23309)
Vulnerability from cvelistv5
Published
2026-03-25 10:27
Modified
2026-04-13 06:04
Severity ?
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.
Impacted products
Vendor Product Version
Linux Linux Version: c10f0efe57728508d796ae4ba7abe4c14ec3d8ef
Version: 7e6556e9329bc484e9dcdab6e346d959267c0636
Version: 9b0513905e0598b9f8cfccab8e47497aed5d935d
Version: 335dfe4bc6368e70e8c15419375cf609c4f85558
Version: e42efbe9754da78eafe11f6bd3ca9c8a094a752a
Version: 0550069cc25f513ce1f109c88f7c1f01d63297db
Create a notification for this product.
   Linux Linux Version: 6.1.165   
Version: 6.6.128   
Version: 6.12.75   
Version: 6.18.14   
Version: 6.19.4   
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": "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": "6.1.167",
              "status": "affected",
              "version": "6.1.165",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.130",
              "status": "affected",
              "version": "6.6.128",
              "versionType": "semver"
            },
            {
              "lessThan": "6.12.77",
              "status": "affected",
              "version": "6.12.75",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.17",
              "status": "affected",
              "version": "6.18.14",
              "versionType": "semver"
            },
            {
              "lessThan": "6.19.7",
              "status": "affected",
              "version": "6.19.4",
              "versionType": "semver"
            }
          ]
        }
      ],
      "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
                }
              ],
              "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-04-13T06:04:06.571Z",
        "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-04-13T06:04:06.571Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…