{
  "id": "CVE-2025-38108",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38108",
  "published_at": "2025-07-03T08:35:18.523Z",
  "title": "net_sched: red: fix a race in __red_change()",
  "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": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: red: fix a race in __red_change()\n\nGerrard Tai reported a race condition in RED, whenever SFQ perturb timer\nfires at the wrong time.\n\nThe race is as follows:\n\nCPU 0                                 CPU 1\n[1]: lock root\n[2]: qdisc_tree_flush_backlog()\n[3]: unlock root\n |\n |                                    [5]: lock root\n |                                    [6]: rehash\n |                                    [7]: qdisc_tree_reduce_backlog()\n |\n[4]: qdisc_put()\n\nThis can be abused to underflow a parent's qlen.\n\nCalling qdisc_purge_queue() instead of qdisc_tree_flush_backlog()\nshould fix the race, because all packets will be purged from the qdisc\nbefore releasing the lock.",
  "cwe": "CWE-362",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0c8d13ac96070000da33f394f45e9c19638483c5, \u003c 2790c4ec481be45a80948d059cd7c9a06bc37493",
          "\u003e= 0c8d13ac96070000da33f394f45e9c19638483c5, \u003c a1bf6a4e9264a685b0e642994031f9c5aad72414",
          "\u003e= 0c8d13ac96070000da33f394f45e9c19638483c5, \u003c 110a47efcf23438ff8d31dbd9c854fae2a48bf98",
          "\u003e= 0c8d13ac96070000da33f394f45e9c19638483c5, \u003c f569984417a4e12c67366e69bdcb752970de921d",
          "\u003e= 0c8d13ac96070000da33f394f45e9c19638483c5, \u003c 2a71924ca4af59ffc00f0444732b6cd54b153d0e",
          "\u003e= 0c8d13ac96070000da33f394f45e9c19638483c5, \u003c 4b755305b2b0618e857fdadb499365b5f2e478d1",
          "\u003e= 0c8d13ac96070000da33f394f45e9c19638483c5, \u003c 444ad445df5496a785705019268a8a84b84484bb",
          "\u003e= 0c8d13ac96070000da33f394f45e9c19638483c5, \u003c 85a3e0ede38450ea3053b8c45d28cf55208409b8"
        ],
        "fixed_in": [
          "2790c4ec481be45a80948d059cd7c9a06bc37493",
          "a1bf6a4e9264a685b0e642994031f9c5aad72414",
          "110a47efcf23438ff8d31dbd9c854fae2a48bf98",
          "f569984417a4e12c67366e69bdcb752970de921d",
          "2a71924ca4af59ffc00f0444732b6cd54b153d0e",
          "4b755305b2b0618e857fdadb499365b5f2e478d1",
          "444ad445df5496a785705019268a8a84b84484bb",
          "85a3e0ede38450ea3053b8c45d28cf55208409b8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.0"
        ],
        "fixed_in": [
          "0",
          "5.4.295",
          "5.10.239",
          "5.15.186",
          "6.1.142",
          "6.6.94",
          "6.12.34",
          "6.15.3",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 2790c4ec481be45a80948d059cd7c9a06bc37493 or a1bf6a4e9264a685b0e642994031f9c5aad72414 or 110a47efcf23438ff8d31dbd9c854fae2a48bf98 or f569984417a4e12c67366e69bdcb752970de921d or 2a71924ca4af59ffc00f0444732b6cd54b153d0e or 4b755305b2b0618e857fdadb499365b5f2e478d1 or 444ad445df5496a785705019268a8a84b84484bb or 85a3e0ede38450ea3053b8c45d28cf55208409b8 or later.",
      "Upgrade Linux to 0 or 5.4.295 or 5.10.239 or 5.15.186 or 6.1.142 or 6.6.94 or 6.12.34 or 6.15.3 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
