{
  "id": "CVE-2026-68138",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-68138",
  "published_at": "2026-08-10T11:59:01.744Z",
  "title": "net/sched: serialize qdisc_rtab_list against concurrent get/put",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-08-11T22:22:22Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.4,
    "repo": "aramosf/CVE-2026-68138",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: serialize qdisc_rtab_list against concurrent get/put\n\nqdisc_get_rtab() and qdisc_put_rtab() mutate the process-global singly\nlinked list qdisc_rtab_list and a plain non-atomic 'int refcnt' with no\nlock. This was only safe because every caller historically held the RTNL\nmutex, which serialized all rate-table lookups, inserts and frees.\n\nThat invariant no longer holds. cls_flower sets\nTCF_PROTO_OPS_DOIT_UNLOCKED, so tc_new_tfilter() keeps rtnl_held == false\nfor it and sets TCA_ACT_FLAGS_NO_RTNL. That flag propagates through\ntcf_exts_validate_ex() -\u003e tcf_action_init() -\u003e tcf_action_init_1() -\u003e\ntcf_police_init(), which calls qdisc_get_rtab()/qdisc_put_rtab() with the\nRTNL mutex NOT held. Two RTM_NEWTFILTER requests on different CPUs, each\nadding a flower filter with a police action carrying the same rate, then\nrace on qdisc_rtab_list and on the non-atomic refcnt, leading to a\nuse-after-free / double-free of the kmalloc-2k struct qdisc_rate_table.\nqdisc_rtab_list is a single global (not per-netns), so the corrupted\nobject is shared system-wide.\n\n  BUG: KASAN: slab-use-after-free in qdisc_put_rtab+0x12f/0x160\n   qdisc_put_rtab+0x12f/0x160\n   tcf_police_init+0xda9/0x1590\n   tcf_action_init_1+0x460/0x6b0\n   tcf_action_init+0x439/0xa40\n   tcf_exts_validate_ex+0x42d/0x550\n   fl_change+0xddd/0x7da0\n   tc_new_tfilter+0xaa7/0x2420\n   rtnetlink_rcv_msg+0x95e/0xe90\n  which belongs to the cache kmalloc-2k of size 2048\n\nProtect qdisc_rtab_list and the refcount with a dedicated spinlock. The\n(sleeping, GFP_KERNEL) allocation in qdisc_get_rtab() is performed before\ntaking the lock; if a concurrent inserter added an identical table in the\nmeantime the freshly allocated one is freed under the lock, so no\nduplicate is leaked. qdisc_put_rtab() now decrements the refcount and\nunlinks under the same lock.",
  "cwe": "CWE-362",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [
    {
      "repo": "aramosf/CVE-2026-68138",
      "url": "https://github.com/aramosf/CVE-2026-68138",
      "created_at": "2026-08-11T22:22:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 34,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-02-08T14:19:36Z"
    },
    {
      "repo": "suominen/CVE-2026-68138",
      "url": "https://github.com/suominen/CVE-2026-68138",
      "created_at": "2026-08-17T07:33:31Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2012-07-08T23:28:18Z"
    },
    {
      "repo": "jangkrikkbozz/CVE-2026-68138",
      "url": "https://github.com/jangkrikkbozz/CVE-2026-68138",
      "created_at": "2026-08-17T08:04:51Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-08-17T07:55:56Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 470502de5bdb1ed0def643a4458593a40b8f6b66, \u003c 1b050d09dd1a0ddae83bf012cf4956b7a960235f",
          "\u003e= 470502de5bdb1ed0def643a4458593a40b8f6b66, \u003c 6e0241f6cbb149d926ee8efee2c734fea71452cf",
          "\u003e= 470502de5bdb1ed0def643a4458593a40b8f6b66, \u003c f93c89392bd3b180b5b7abc6fdae8e3dd667a313",
          "\u003e= 470502de5bdb1ed0def643a4458593a40b8f6b66, \u003c 4131dd0b6f67acddd616ed7c244e1d3eedd46e7b",
          "\u003e= 470502de5bdb1ed0def643a4458593a40b8f6b66, \u003c d981098b76756ed71666a27518eeb69883657c43",
          "\u003e= 470502de5bdb1ed0def643a4458593a40b8f6b66, \u003c 8ddc2eb0d2da9c83f54f1e5720525b461b8480c4",
          "\u003e= 470502de5bdb1ed0def643a4458593a40b8f6b66, \u003c fb29e1b41052488ee3f2d115d4a870497ebd7f7d",
          "\u003e= 470502de5bdb1ed0def643a4458593a40b8f6b66, \u003c f43ee0c0730d6191629b5ee1ceae27b1ebfdc047"
        ],
        "fixed_in": [
          "1b050d09dd1a0ddae83bf012cf4956b7a960235f",
          "6e0241f6cbb149d926ee8efee2c734fea71452cf",
          "f93c89392bd3b180b5b7abc6fdae8e3dd667a313",
          "4131dd0b6f67acddd616ed7c244e1d3eedd46e7b",
          "d981098b76756ed71666a27518eeb69883657c43",
          "8ddc2eb0d2da9c83f54f1e5720525b461b8480c4",
          "fb29e1b41052488ee3f2d115d4a870497ebd7f7d",
          "f43ee0c0730d6191629b5ee1ceae27b1ebfdc047"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.1"
        ],
        "fixed_in": [
          "0",
          "5.10.266",
          "5.15.217",
          "6.1.184",
          "6.6.153",
          "6.12.105",
          "6.18.46",
          "7.1.6",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 1b050d09dd1a0ddae83bf012cf4956b7a960235f or 6e0241f6cbb149d926ee8efee2c734fea71452cf or f93c89392bd3b180b5b7abc6fdae8e3dd667a313 or 4131dd0b6f67acddd616ed7c244e1d3eedd46e7b or d981098b76756ed71666a27518eeb69883657c43 or 8ddc2eb0d2da9c83f54f1e5720525b461b8480c4 or fb29e1b41052488ee3f2d115d4a870497ebd7f7d or f43ee0c0730d6191629b5ee1ceae27b1ebfdc047 or later.",
      "Upgrade Linux to 0 or 5.10.266 or 5.15.217 or 6.1.184 or 6.6.153 or 6.12.105 or 6.18.46 or 7.1.6 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/",
      "query_markers": [
        "delimiter=/",
        "prefix=",
        "marker="
      ],
      "ports": [
        1313
      ],
      "protocol": "http",
      "repos": [
        "suominen/CVE-2026-68138"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2026-68138/CLAUDE.md:733",
        "suominen/CVE-2026-68138/scripts/nixos-first-shipped:108",
        "suominen/CVE-2026-68138/scripts/nixos-first-shipped:174"
      ]
    },
    {
      "method": "GET",
      "path_template": "/data/csaf/v2/vex/2026/cve-2026-68138.json",
      "ports": [
        1313
      ],
      "protocol": "https",
      "repos": [
        "suominen/CVE-2026-68138"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2026-68138/CLAUDE.md:812"
      ]
    },
    {
      "method": "GET",
      "path_template": "/dev/null",
      "ports": [
        1313
      ],
      "protocol": "http",
      "repos": [
        "suominen/CVE-2026-68138"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2026-68138/scripts/nixos-first-shipped:206"
      ]
    },
    {
      "method": "GET",
      "path_template": "/madison",
      "query_markers": [
        "package=linux",
        "s=sid,forky,trixie,bookworm",
        "text=on"
      ],
      "ports": [
        1313
      ],
      "protocol": "https",
      "repos": [
        "suominen/CVE-2026-68138"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2026-68138/CLAUDE.md:1001",
        "suominen/CVE-2026-68138/scripts/auto-update-prompt.txt:178"
      ]
    },
    {
      "method": "GET",
      "path_template": "/mr/package/linux/{var}/srcfiles",
      "query_markers": [
        "fileinfo=1"
      ],
      "ports": [
        1313
      ],
      "protocol": "https",
      "repos": [
        "suominen/CVE-2026-68138"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2026-68138/CLAUDE.md:1008"
      ]
    },
    {
      "method": "GET",
      "path_template": "/tracker/data/json",
      "ports": [
        1313
      ],
      "protocol": "https",
      "repos": [
        "suominen/CVE-2026-68138"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2026-68138/CLAUDE.md:991",
        "suominen/CVE-2026-68138/scripts/auto-update-prompt.txt:174"
      ]
    },
    {
      "method": "GET",
      "path_template": "/{var}/git-revision)",
      "ports": [
        1313
      ],
      "protocol": "https",
      "repos": [
        "suominen/CVE-2026-68138"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "suominen/CVE-2026-68138/CLAUDE.md:680"
      ]
    }
  ],
  "rules": []
}
