{
  "id": "CVE-2025-38177",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38177",
  "published_at": "2025-07-04T12:47:09.127Z",
  "title": "sch_hfsc: make hfsc_qlen_notify() idempotent",
  "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\nsch_hfsc: make hfsc_qlen_notify() idempotent\n\nhfsc_qlen_notify() is not idempotent either and not friendly\nto its callers, like fq_codel_dequeue(). Let's make it idempotent\nto ease qdisc_tree_reduce_backlog() callers' life:\n\n1. update_vf() decreases cl-\u003ecl_nactive, so we can check whether it is\nnon-zero before calling it.\n\n2. eltree_remove() always removes RB node cl-\u003eel_node, but we can use\n   RB_EMPTY_NODE() + RB_CLEAR_NODE() to make it safe.",
  "cwe": "CWE-459",
  "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.15:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 959466588aa7f84ccf79ae36a1d89542eaf9aaec, \u003c 9a5fd5c2f4d4afdd5e405083ee53e0789ce76956",
          "\u003e= 959466588aa7f84ccf79ae36a1d89542eaf9aaec, \u003c 72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7",
          "\u003e= 959466588aa7f84ccf79ae36a1d89542eaf9aaec, \u003c a5efc95a33bd4fcb879250852828cc58c7862970",
          "\u003e= 959466588aa7f84ccf79ae36a1d89542eaf9aaec, \u003c 0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87",
          "\u003e= 959466588aa7f84ccf79ae36a1d89542eaf9aaec, \u003c 9030a91235ae4845ec71902c3e0cecfc9ed1f2df",
          "\u003e= 959466588aa7f84ccf79ae36a1d89542eaf9aaec, \u003c d06476714d2819b550e0cc39222347e2c8941c9d",
          "\u003e= 959466588aa7f84ccf79ae36a1d89542eaf9aaec, \u003c c1175c4ad01dbc9c979d099861fa90a754f72059",
          "\u003e= 959466588aa7f84ccf79ae36a1d89542eaf9aaec, \u003c 51eb3b65544c9efd6a1026889ee5fb5aa62da3bb"
        ],
        "fixed_in": [
          "9a5fd5c2f4d4afdd5e405083ee53e0789ce76956",
          "72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7",
          "a5efc95a33bd4fcb879250852828cc58c7862970",
          "0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87",
          "9030a91235ae4845ec71902c3e0cecfc9ed1f2df",
          "d06476714d2819b550e0cc39222347e2c8941c9d",
          "c1175c4ad01dbc9c979d099861fa90a754f72059",
          "51eb3b65544c9efd6a1026889ee5fb5aa62da3bb"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.14"
        ],
        "fixed_in": [
          "0",
          "5.4.297",
          "5.10.241",
          "5.15.190",
          "6.1.138",
          "6.6.90",
          "6.12.28",
          "6.14.6",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 9a5fd5c2f4d4afdd5e405083ee53e0789ce76956 or 72c61ffbeeb8c50f6d4d70c65d3283aa1bac57a7 or a5efc95a33bd4fcb879250852828cc58c7862970 or 0475c85426b18eccdcb7f9fb58d8f8e9c6c58c87 or 9030a91235ae4845ec71902c3e0cecfc9ed1f2df or d06476714d2819b550e0cc39222347e2c8941c9d or c1175c4ad01dbc9c979d099861fa90a754f72059 or 51eb3b65544c9efd6a1026889ee5fb5aa62da3bb or later.",
      "Upgrade Linux to 0 or 5.4.297 or 5.10.241 or 5.15.190 or 6.1.138 or 6.6.90 or 6.12.28 or 6.14.6 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
