CVE-2026-74740 (GCVE-0-2026-74740)

Vulnerability from cvelistv5 – Published: 2026-08-26 14:36 – Updated: 2026-08-26 14:36
VLAI
Title
net/sched: act_api: fix TOCTOU NULL deref on a->goto_chain
Summary
In the Linux kernel, the following vulnerability has been resolved: net/sched: act_api: fix TOCTOU NULL deref on a->goto_chain tcf_action_exec() handles TC_ACT_GOTO_CHAIN by first checking rcu_access_pointer(a->goto_chain) and then calling tcf_action_goto_chain_exec(), which does a second, independent rcu_dereference_bh(a->goto_chain) read and immediately dereferences chain->filter_chain. A concurrent tcf_action_set_ctrlact() (e.g. the gact replace path) can clear a->goto_chain between the two reads, so the second read returns NULL and tcf_action_goto_chain_exec() dereferences NULL. Fix the race by doing a single rcu_dereference_bh() read of a->goto_chain in tcf_action_exec(), checking it once for NULL, and passing the resulting chain pointer into tcf_action_goto_chain_exec(). This turns the split check/use into a single check/use on one value.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5 , < 91d55fd1fdb85c8371ca8793c788ea7d5192383a (git)
Affected: ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5 , < 1ec48b6715c29b20105e3485206602cff6c51ae5 (git)
Affected: ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5 , < abceabc4408fca6a9dd52611f5d197dec9390d63 (git)
Affected: ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5 , < 6b70886ebc428eed43a069c8944a931b5fb3f4e4 (git)
Affected: ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5 , < f60b396ee174206fe08ebf997d16cd3801b77b22 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.1
Unaffected: 0 , < 5.1 (semver)
Unaffected: 6.6.153 , ≤ 6.6.* (semver)
Unaffected: 6.12.105 , ≤ 6.12.* (semver)
Unaffected: 6.18.46 , ≤ 6.18.* (semver)
Unaffected: 7.1.10 , ≤ 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": [
            "net/sched/act_api.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "91d55fd1fdb85c8371ca8793c788ea7d5192383a",
              "status": "affected",
              "version": "ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5",
              "versionType": "git"
            },
            {
              "lessThan": "1ec48b6715c29b20105e3485206602cff6c51ae5",
              "status": "affected",
              "version": "ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5",
              "versionType": "git"
            },
            {
              "lessThan": "abceabc4408fca6a9dd52611f5d197dec9390d63",
              "status": "affected",
              "version": "ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5",
              "versionType": "git"
            },
            {
              "lessThan": "6b70886ebc428eed43a069c8944a931b5fb3f4e4",
              "status": "affected",
              "version": "ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5",
              "versionType": "git"
            },
            {
              "lessThan": "f60b396ee174206fe08ebf997d16cd3801b77b22",
              "status": "affected",
              "version": "ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sched/act_api.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.1"
            },
            {
              "lessThan": "5.1",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.153",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.105",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.10",
              "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.153",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.105",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.46",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.10",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: act_api: fix TOCTOU NULL deref on a-\u003egoto_chain\n\ntcf_action_exec() handles TC_ACT_GOTO_CHAIN by first checking\nrcu_access_pointer(a-\u003egoto_chain) and then calling\ntcf_action_goto_chain_exec(), which does a second, independent\nrcu_dereference_bh(a-\u003egoto_chain) read and immediately dereferences\nchain-\u003efilter_chain. A concurrent tcf_action_set_ctrlact() (e.g. the gact\nreplace path) can clear a-\u003egoto_chain between the two reads, so the second\nread returns NULL and tcf_action_goto_chain_exec() dereferences NULL.\n\nFix the race by doing a single rcu_dereference_bh() read of a-\u003egoto_chain\nin tcf_action_exec(), checking it once for NULL, and passing the resulting\nchain pointer into tcf_action_goto_chain_exec(). This turns the split\ncheck/use into a single check/use on one value."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-26T14:36:52.344Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/91d55fd1fdb85c8371ca8793c788ea7d5192383a"
        },
        {
          "url": "https://git.kernel.org/stable/c/1ec48b6715c29b20105e3485206602cff6c51ae5"
        },
        {
          "url": "https://git.kernel.org/stable/c/abceabc4408fca6a9dd52611f5d197dec9390d63"
        },
        {
          "url": "https://git.kernel.org/stable/c/6b70886ebc428eed43a069c8944a931b5fb3f4e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/f60b396ee174206fe08ebf997d16cd3801b77b22"
        }
      ],
      "title": "net/sched: act_api: fix TOCTOU NULL deref on a-\u003egoto_chain",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74740",
    "datePublished": "2026-08-26T14:36:52.344Z",
    "dateReserved": "2026-08-15T05:44:03.930Z",
    "dateUpdated": "2026-08-26T14:36:52.344Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74740",
      "date": "2026-09-01",
      "epss": "0.00175",
      "percentile": "0.07104"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74740\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-26T15:16:52.743\",\"lastModified\":\"2026-08-26T15:16:52.743\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet/sched: act_api: fix TOCTOU NULL deref on a-\u003egoto_chain\\n\\ntcf_action_exec() handles TC_ACT_GOTO_CHAIN by first checking\\nrcu_access_pointer(a-\u003egoto_chain) and then calling\\ntcf_action_goto_chain_exec(), which does a second, independent\\nrcu_dereference_bh(a-\u003egoto_chain) read and immediately dereferences\\nchain-\u003efilter_chain. A concurrent tcf_action_set_ctrlact() (e.g. the gact\\nreplace path) can clear a-\u003egoto_chain between the two reads, so the second\\nread returns NULL and tcf_action_goto_chain_exec() dereferences NULL.\\n\\nFix the race by doing a single rcu_dereference_bh() read of a-\u003egoto_chain\\nin tcf_action_exec(), checking it once for NULL, and passing the resulting\\nchain pointer into tcf_action_goto_chain_exec(). This turns the split\\ncheck/use into a single check/use on one value.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/sched/act_api.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5\",\"lessThan\":\"91d55fd1fdb85c8371ca8793c788ea7d5192383a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5\",\"lessThan\":\"1ec48b6715c29b20105e3485206602cff6c51ae5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5\",\"lessThan\":\"abceabc4408fca6a9dd52611f5d197dec9390d63\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5\",\"lessThan\":\"6b70886ebc428eed43a069c8944a931b5fb3f4e4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"ee3bbfe806cdb46b02cda63626cb50a7a7b19fc5\",\"lessThan\":\"f60b396ee174206fe08ebf997d16cd3801b77b22\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/sched/act_api.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.1\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.1\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.153\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.105\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.46\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.10\",\"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/1ec48b6715c29b20105e3485206602cff6c51ae5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6b70886ebc428eed43a069c8944a931b5fb3f4e4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/91d55fd1fdb85c8371ca8793c788ea7d5192383a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/abceabc4408fca6a9dd52611f5d197dec9390d63\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f60b396ee174206fe08ebf997d16cd3801b77b22\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-27T10:49:09+00:00",
      "cve": "CVE-2026-74740",
      "id": "CVE-2026-74740",
      "initial_release_date": "2026-08-26T00:00:00+00:00",
      "product_status:known_affected": "246",
      "product_status:known_not_affected": "28",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: net/sched: act_api: fix TOCTOU NULL deref on a-\u003egoto_chain",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74740.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…