CVE-2026-90248 (GCVE-0-2026-90248)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:07 – Updated: 2026-09-17 16:07
VLAI
Title
net/sched: cls_api: fix teardown of an adopted proto on insert-race loss
Summary
In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_api: fix teardown of an adopted proto on insert-race loss In tc_new_tfilter() the create branch sets tp_created = 1 before calling tcf_chain_tp_insert_unique(). When the caller loses the race (another request inserted a proto at the same chain/prio first), insert_unique() destroys the caller's own tp_new and returns the winner's proto with an extra reference. tp_created was never cleared, so the loser's errout path treated the winner's live proto as its own and called tcf_chain_tp_delete_empty() on it, silently unlinking an active classifier that the winning request already advertised via RTM_NEWTFILTER. Track the outcome of the insert step in a single tri-state variable so each errout path reacts correctly: - TP_NOT_CREATED: no proto created; pursue the old path. - TP_CREATED: proto inserted successfully; same code path as before. - TP_NOT_OWNED: New - lost the insert race; tp is another request's proto (chain ref already released by tp_new's destroy) Both errout reactions are single expressions derived from the state. This fix is motivated by the Sashiko's automated review of Patch (net/sched: cls_api: Always acquire rtnl_lock when destroying locked classifiers) [1][2]. The review identified the silent-unlink behaviour of an adopted proto's teardown when a request loses the tcf_chain_tp_insert_unique() race. [1] https://sashiko.dev/#/patchset/20260801125632.360365-1-jhs%40mojatatu.com [2] https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260801125632.360365-1-jhs%40mojatatu.com
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 8b64678e0af8f4d62a40149baedebe78503a5255 , < a68e664ddf16ecae6d769d6a2eb356f8abab75c9 (git)
Affected: 8b64678e0af8f4d62a40149baedebe78503a5255 , < df02b6dc136af45e92ee4c86f4aa6c9a60790b1e (git)
Affected: 8b64678e0af8f4d62a40149baedebe78503a5255 , < bee2208276c8e0e40a249ffdcf6e5434a79a847c (git)
Affected: 8b64678e0af8f4d62a40149baedebe78503a5255 , < 219c87aeefdcc8c1caf28cc99e9b361ce7393d3a (git)
Affected: 8b64678e0af8f4d62a40149baedebe78503a5255 , < bbe2fd6d77df630356185406a97317f6aa6a92cf (git)
Affected: 8b64678e0af8f4d62a40149baedebe78503a5255 , < dc8b33b819cb02a75936940c120aa669ad89942d (git)
Affected: 8b64678e0af8f4d62a40149baedebe78503a5255 , < d4e359b3608a0e184bbe8d61a5c3b50d0831c44a (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.1
Unaffected: 0 , < 5.1 (semver)
Unaffected: 5.15.221 , ≤ 5.15.* (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.52 , ≤ 6.18.* (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (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/cls_api.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a68e664ddf16ecae6d769d6a2eb356f8abab75c9",
              "status": "affected",
              "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
              "versionType": "git"
            },
            {
              "lessThan": "df02b6dc136af45e92ee4c86f4aa6c9a60790b1e",
              "status": "affected",
              "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
              "versionType": "git"
            },
            {
              "lessThan": "bee2208276c8e0e40a249ffdcf6e5434a79a847c",
              "status": "affected",
              "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
              "versionType": "git"
            },
            {
              "lessThan": "219c87aeefdcc8c1caf28cc99e9b361ce7393d3a",
              "status": "affected",
              "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
              "versionType": "git"
            },
            {
              "lessThan": "bbe2fd6d77df630356185406a97317f6aa6a92cf",
              "status": "affected",
              "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
              "versionType": "git"
            },
            {
              "lessThan": "dc8b33b819cb02a75936940c120aa669ad89942d",
              "status": "affected",
              "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
              "versionType": "git"
            },
            {
              "lessThan": "d4e359b3608a0e184bbe8d61a5c3b50d0831c44a",
              "status": "affected",
              "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sched/cls_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": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "5.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "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: cls_api: fix teardown of an adopted proto on insert-race loss\n\nIn tc_new_tfilter() the create branch sets tp_created = 1 before calling\ntcf_chain_tp_insert_unique(). When the caller loses the race (another\nrequest inserted a proto at the same chain/prio first), insert_unique()\ndestroys the caller\u0027s own tp_new and returns the winner\u0027s proto with an\nextra reference. tp_created was never cleared, so the loser\u0027s errout\npath treated the winner\u0027s live proto as its own and called\ntcf_chain_tp_delete_empty() on it, silently unlinking an active\nclassifier that the winning request already advertised via\nRTM_NEWTFILTER.\n\nTrack the outcome of the insert step in a single tri-state variable so\neach errout path reacts correctly:\n\n- TP_NOT_CREATED: no proto created; pursue the old path.\n- TP_CREATED: proto inserted successfully; same code path as before.\n- TP_NOT_OWNED: New - lost the insert race; tp is another request\u0027s proto\n  (chain ref already released by tp_new\u0027s destroy)\n\nBoth errout reactions are single expressions derived from the state.\n\nThis fix is motivated by the Sashiko\u0027s automated review of Patch\n(net/sched: cls_api: Always acquire rtnl_lock when destroying locked\nclassifiers) [1][2]. The review identified the silent-unlink behaviour of\nan adopted proto\u0027s teardown when a request loses the\ntcf_chain_tp_insert_unique() race.\n\n[1] https://sashiko.dev/#/patchset/20260801125632.360365-1-jhs%40mojatatu.com\n[2] https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260801125632.360365-1-jhs%40mojatatu.com"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-17T16:07:50.104Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a68e664ddf16ecae6d769d6a2eb356f8abab75c9"
        },
        {
          "url": "https://git.kernel.org/stable/c/df02b6dc136af45e92ee4c86f4aa6c9a60790b1e"
        },
        {
          "url": "https://git.kernel.org/stable/c/bee2208276c8e0e40a249ffdcf6e5434a79a847c"
        },
        {
          "url": "https://git.kernel.org/stable/c/219c87aeefdcc8c1caf28cc99e9b361ce7393d3a"
        },
        {
          "url": "https://git.kernel.org/stable/c/bbe2fd6d77df630356185406a97317f6aa6a92cf"
        },
        {
          "url": "https://git.kernel.org/stable/c/dc8b33b819cb02a75936940c120aa669ad89942d"
        },
        {
          "url": "https://git.kernel.org/stable/c/d4e359b3608a0e184bbe8d61a5c3b50d0831c44a"
        }
      ],
      "title": "net/sched: cls_api: fix teardown of an adopted proto on insert-race loss",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90248",
    "datePublished": "2026-09-17T16:07:50.104Z",
    "dateReserved": "2026-09-11T19:38:34.795Z",
    "dateUpdated": "2026-09-17T16:07:50.104Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-90248",
      "date": "2026-09-25",
      "epss": "0.00215",
      "percentile": "0.1056"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/sched/cls_api.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "a68e664ddf16ecae6d769d6a2eb356f8abab75c9",
                    "status": "affected",
                    "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "df02b6dc136af45e92ee4c86f4aa6c9a60790b1e",
                    "status": "affected",
                    "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bee2208276c8e0e40a249ffdcf6e5434a79a847c",
                    "status": "affected",
                    "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "219c87aeefdcc8c1caf28cc99e9b361ce7393d3a",
                    "status": "affected",
                    "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "bbe2fd6d77df630356185406a97317f6aa6a92cf",
                    "status": "affected",
                    "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "dc8b33b819cb02a75936940c120aa669ad89942d",
                    "status": "affected",
                    "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d4e359b3608a0e184bbe8d61a5c3b50d0831c44a",
                    "status": "affected",
                    "version": "8b64678e0af8f4d62a40149baedebe78503a5255",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/sched/cls_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": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.221",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.188",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.157",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.110",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.52",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: cls_api: fix teardown of an adopted proto on insert-race loss\n\nIn tc_new_tfilter() the create branch sets tp_created = 1 before calling\ntcf_chain_tp_insert_unique(). When the caller loses the race (another\nrequest inserted a proto at the same chain/prio first), insert_unique()\ndestroys the caller\u0027s own tp_new and returns the winner\u0027s proto with an\nextra reference. tp_created was never cleared, so the loser\u0027s errout\npath treated the winner\u0027s live proto as its own and called\ntcf_chain_tp_delete_empty() on it, silently unlinking an active\nclassifier that the winning request already advertised via\nRTM_NEWTFILTER.\n\nTrack the outcome of the insert step in a single tri-state variable so\neach errout path reacts correctly:\n\n- TP_NOT_CREATED: no proto created; pursue the old path.\n- TP_CREATED: proto inserted successfully; same code path as before.\n- TP_NOT_OWNED: New - lost the insert race; tp is another request\u0027s proto\n  (chain ref already released by tp_new\u0027s destroy)\n\nBoth errout reactions are single expressions derived from the state.\n\nThis fix is motivated by the Sashiko\u0027s automated review of Patch\n(net/sched: cls_api: Always acquire rtnl_lock when destroying locked\nclassifiers) [1][2]. The review identified the silent-unlink behaviour of\nan adopted proto\u0027s teardown when a request loses the\ntcf_chain_tp_insert_unique() race.\n\n[1] https://sashiko.dev/#/patchset/20260801125632.360365-1-jhs%40mojatatu.com\n[2] https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260801125632.360365-1-jhs%40mojatatu.com"
          }
        ],
        "id": "CVE-2026-90248",
        "lastModified": "2026-09-17T17:17:20.947",
        "metrics": {},
        "published": "2026-09-17T17:17:20.947",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/219c87aeefdcc8c1caf28cc99e9b361ce7393d3a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a68e664ddf16ecae6d769d6a2eb356f8abab75c9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bbe2fd6d77df630356185406a97317f6aa6a92cf"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/bee2208276c8e0e40a249ffdcf6e5434a79a847c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d4e359b3608a0e184bbe8d61a5c3b50d0831c44a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/dc8b33b819cb02a75936940c120aa669ad89942d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/df02b6dc136af45e92ee4c86f4aa6c9a60790b1e"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    }
  }
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…