GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2026-74391 (GCVE-0-2026-74391)

Vulnerability from cvelistv5 – Published: 2026-08-15 05:59 – Updated: 2026-08-17 05:18
VLAI
Title
tracing: Bound synthetic-field strings with seq_buf
Summary
In the Linux kernel, the following vulnerability has been resolved: tracing: Bound synthetic-field strings with seq_buf The synthetic field helpers build a prefixed synthetic variable name and a generated hist command in fixed MAX_FILTER_STR_VAL buffers. The current code appends those strings with raw strcat(), so long key lists, field names, or saved filters can run past the end of the staging buffers. Build both strings with seq_buf and propagate -E2BIG if either the synthetic variable name or the generated command exceeds MAX_FILTER_STR_VAL. This keeps the existing tracing-side limit while using the helper intended for bounded command construction. [ sdr: Moved struct seq_buf *s for upside-down x-mas tree formatting ]
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 02205a6752f223779a1b0e9e8ffacbea6e717851 , < 0c584c27f6649a93ec12061cc779a4bd8f7c1434 (git)
Affected: 02205a6752f223779a1b0e9e8ffacbea6e717851 , < 88b901fdc1662b131ff908cbd017333b61e7acc8 (git)
Affected: 02205a6752f223779a1b0e9e8ffacbea6e717851 , < baa333b2700a7fa3529d504529c8c10060fd687c (git)
Affected: 02205a6752f223779a1b0e9e8ffacbea6e717851 , < cf334620036ad2250e008c7e7bb6646a3938b7b0 (git)
Affected: 02205a6752f223779a1b0e9e8ffacbea6e717851 , < f07883450eb14d1cf020b55d9f3a7ec5683bcd26 (git)
guessed Create a notification for this product.
Linux Linux Affected: 4.17
Unaffected: 0 , < 4.17 (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.97 , ≤ 6.12.* (semver)
Unaffected: 6.18.40 , ≤ 6.18.* (semver)
Unaffected: 7.1.5 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/trace_events_hist.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0c584c27f6649a93ec12061cc779a4bd8f7c1434",
              "status": "affected",
              "version": "02205a6752f223779a1b0e9e8ffacbea6e717851",
              "versionType": "git"
            },
            {
              "lessThan": "88b901fdc1662b131ff908cbd017333b61e7acc8",
              "status": "affected",
              "version": "02205a6752f223779a1b0e9e8ffacbea6e717851",
              "versionType": "git"
            },
            {
              "lessThan": "baa333b2700a7fa3529d504529c8c10060fd687c",
              "status": "affected",
              "version": "02205a6752f223779a1b0e9e8ffacbea6e717851",
              "versionType": "git"
            },
            {
              "lessThan": "cf334620036ad2250e008c7e7bb6646a3938b7b0",
              "status": "affected",
              "version": "02205a6752f223779a1b0e9e8ffacbea6e717851",
              "versionType": "git"
            },
            {
              "lessThan": "f07883450eb14d1cf020b55d9f3a7ec5683bcd26",
              "status": "affected",
              "version": "02205a6752f223779a1b0e9e8ffacbea6e717851",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/trace_events_hist.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.17"
            },
            {
              "lessThan": "4.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.97",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.40",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.97",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.40",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.5",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: Bound synthetic-field strings with seq_buf\n\nThe synthetic field helpers build a prefixed synthetic variable name and\na generated hist command in fixed MAX_FILTER_STR_VAL buffers. The\ncurrent code appends those strings with raw strcat(), so long key lists,\nfield names, or saved filters can run past the end of the staging\nbuffers.\n\nBuild both strings with seq_buf and propagate -E2BIG if either the\nsynthetic variable name or the generated command exceeds\nMAX_FILTER_STR_VAL. This keeps the existing tracing-side limit while\nusing the helper intended for bounded command construction.\n\n[ sdr: Moved struct seq_buf *s for upside-down x-mas tree formatting ]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-17T05:18:30.085Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0c584c27f6649a93ec12061cc779a4bd8f7c1434"
        },
        {
          "url": "https://git.kernel.org/stable/c/88b901fdc1662b131ff908cbd017333b61e7acc8"
        },
        {
          "url": "https://git.kernel.org/stable/c/baa333b2700a7fa3529d504529c8c10060fd687c"
        },
        {
          "url": "https://git.kernel.org/stable/c/cf334620036ad2250e008c7e7bb6646a3938b7b0"
        },
        {
          "url": "https://git.kernel.org/stable/c/f07883450eb14d1cf020b55d9f3a7ec5683bcd26"
        }
      ],
      "title": "tracing: Bound synthetic-field strings with seq_buf",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74391",
    "datePublished": "2026-08-15T05:59:05.127Z",
    "dateReserved": "2026-08-15T05:44:03.891Z",
    "dateUpdated": "2026-08-17T05:18:30.085Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74391",
      "date": "2026-09-04",
      "epss": "0.00168",
      "percentile": "0.06395"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74391\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-15T06:22:41.067\",\"lastModified\":\"2026-08-17T06:19:34.167\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ntracing: Bound synthetic-field strings with seq_buf\\n\\nThe synthetic field helpers build a prefixed synthetic variable name and\\na generated hist command in fixed MAX_FILTER_STR_VAL buffers. The\\ncurrent code appends those strings with raw strcat(), so long key lists,\\nfield names, or saved filters can run past the end of the staging\\nbuffers.\\n\\nBuild both strings with seq_buf and propagate -E2BIG if either the\\nsynthetic variable name or the generated command exceeds\\nMAX_FILTER_STR_VAL. This keeps the existing tracing-side limit while\\nusing the helper intended for bounded command construction.\\n\\n[ sdr: Moved struct seq_buf *s for upside-down x-mas tree formatting ]\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/trace/trace_events_hist.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"02205a6752f223779a1b0e9e8ffacbea6e717851\",\"lessThan\":\"0c584c27f6649a93ec12061cc779a4bd8f7c1434\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"02205a6752f223779a1b0e9e8ffacbea6e717851\",\"lessThan\":\"88b901fdc1662b131ff908cbd017333b61e7acc8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"02205a6752f223779a1b0e9e8ffacbea6e717851\",\"lessThan\":\"baa333b2700a7fa3529d504529c8c10060fd687c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"02205a6752f223779a1b0e9e8ffacbea6e717851\",\"lessThan\":\"cf334620036ad2250e008c7e7bb6646a3938b7b0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"02205a6752f223779a1b0e9e8ffacbea6e717851\",\"lessThan\":\"f07883450eb14d1cf020b55d9f3a7ec5683bcd26\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/trace/trace_events_hist.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.17\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.17\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.97\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.40\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.5\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0c584c27f6649a93ec12061cc779a4bd8f7c1434\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/88b901fdc1662b131ff908cbd017333b61e7acc8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/baa333b2700a7fa3529d504529c8c10060fd687c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cf334620036ad2250e008c7e7bb6646a3938b7b0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f07883450eb14d1cf020b55d9f3a7ec5683bcd26\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-20T22:26:11+00:00",
      "cve": "CVE-2026-74391",
      "id": "CVE-2026-74391",
      "initial_release_date": "2026-08-15T00:00:00+00:00",
      "product_status:known_affected": "232",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: tracing: Bound synthetic-field strings with seq_buf",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74391.json",
      "version": "3"
    }
  }
}



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…

Loading…