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

Vulnerability from cvelistv5 – Published: 2026-03-25 10:27 – Updated: 2026-05-11 22:04
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.
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: 6.1.165 , < 6.1.167 (semver)
Affected: 6.6.128 , < 6.6.130 (semver)
Affected: 6.12.75 , < 6.12.77 (semver)
Affected: 6.18.14 , < 6.18.17 (semver)
Affected: 6.19.4 , < 6.19.7 (semver)
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-05-11T22:04:23.455Z",
        "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-05-11T22:04:23.455Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-23309",
      "date": "2026-06-14",
      "epss": "0.00018",
      "percentile": "0.04688"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-23309\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-03-25T11:16:26.993\",\"lastModified\":\"2026-05-28T14:24:05.053\",\"vulnStatus\":\"Analyzed\",\"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.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\\n\\ntracing: A\u00f1adir comprobaci\u00f3n de puntero NULL a trigger_data_free()\\n\\nSi trigger_data_alloc() falla y devuelve NULL, event_hist_trigger_parse() salta a la ruta de error out_free. Aunque kfree() maneja de forma segura un puntero NULL, trigger_data_free() no lo hace. Esto causa una desreferencia de puntero NULL en trigger_data_free() al evaluar data-\u0026gt;cmd_ops-\u0026gt;set_filter.\\n\\nCorregir el problema a\u00f1adiendo una comprobaci\u00f3n de puntero NULL a trigger_data_free().\\n\\nEl problema fue encontrado por un agente experimental de revisi\u00f3n de c\u00f3digo basado en gemini-3.1-pro mientras revisaba backports en v6.18.y.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.1.165\",\"versionEndExcluding\":\"6.1.167\",\"matchCriteriaId\":\"D54E2FD5-7EF9-426A-9AE1-8E8DA970BCC8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.6.128\",\"versionEndExcluding\":\"6.6.130\",\"matchCriteriaId\":\"2099D3D0-97C6-44C5-913D-E616B07A9237\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12.75\",\"versionEndExcluding\":\"6.12.77\",\"matchCriteriaId\":\"84A22880-A425-402F-879A-9309659E3D36\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.18.14\",\"versionEndExcluding\":\"6.18.17\",\"matchCriteriaId\":\"4AEF99ED-2A46-4ECD-A9A4-D4D616C3DEE3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.19.4\",\"versionEndExcluding\":\"6.19.7\",\"matchCriteriaId\":\"EABFC675-2A5E-4569-92F7-1E8942DA0683\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"F253B622-8837-4245-BCE5-A7BF8FC76A16\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"4AE85AD8-4641-4E7C-A2F4-305E2CD9EE64\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/13dcd9269e225e4c4ceabdaeebe2ce4661b54c6e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2ce8ece5a78da67834db7728edc801889a64f643\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/42b380f97d65e76e7b310facd525f730272daf57\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/457965c13f0837a289c9164b842d0860133f6274\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/477469223b2b840f436ce204333de87cb17e5d93\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/59c15b9cc453b74beb9f04c6c398717e73612dc3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…