{
  "id": "CVE-2025-38193",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38193",
  "published_at": "2025-07-04T13:37:17.285Z",
  "title": "net_sched: sch_sfq: reject invalid perturb period",
  "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: sch_sfq: reject invalid perturb period\n\nGerrard Tai reported that SFQ perturb_period has no range check yet,\nand this can be used to trigger a race condition fixed in a separate patch.\n\nWe want to make sure ctl-\u003eperturb_period * HZ will not overflow\nand is positive.\n\n\ntc qd add dev lo root sfq perturb -10   # negative value : error\nError: sch_sfq: invalid perturb period.\n\ntc qd add dev lo root sfq perturb 1000000000 # too big : error\nError: sch_sfq: invalid perturb period.\n\ntc qd add dev lo root sfq perturb 2000000 # acceptable value\ntc -s -d qd sh dev lo\nqdisc sfq 8005: root refcnt 2 limit 127p quantum 64Kb depth 127 flows 128 divisor 1024 perturb 2000000sec\n Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)\n backlog 0b 0p requeues 0",
  "cwe": "CWE-190",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:2.6.12:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c e0936ff56be4e08ad5b60ec26971eae0c40af305",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 2254d038dab9c194fe6a4b1ce31034f42e91a6e5",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 956b5aebb349449b38d920d444ca1392d43719d1",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c b11a50544af691b787384089b68f740ae20a441b",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 0357da9149eac621f39e235a135ebf155f01f7c3",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c f9b97d466e6026ccbdda30bb5b71965b67ccbc82",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 590b2d7d0beadba2aa576708a05a05f0aae39295",
          "\u003e= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \u003c 7ca52541c05c832d32b112274f81a985101f9ba8"
        ],
        "fixed_in": [
          "e0936ff56be4e08ad5b60ec26971eae0c40af305",
          "2254d038dab9c194fe6a4b1ce31034f42e91a6e5",
          "956b5aebb349449b38d920d444ca1392d43719d1",
          "b11a50544af691b787384089b68f740ae20a441b",
          "0357da9149eac621f39e235a135ebf155f01f7c3",
          "f9b97d466e6026ccbdda30bb5b71965b67ccbc82",
          "590b2d7d0beadba2aa576708a05a05f0aae39295",
          "7ca52541c05c832d32b112274f81a985101f9ba8"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "2.6.12"
        ],
        "fixed_in": [
          "0",
          "5.4.297",
          "5.10.240",
          "5.15.186",
          "6.1.142",
          "6.6.95",
          "6.12.35",
          "6.15.4",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e0936ff56be4e08ad5b60ec26971eae0c40af305 or 2254d038dab9c194fe6a4b1ce31034f42e91a6e5 or 956b5aebb349449b38d920d444ca1392d43719d1 or b11a50544af691b787384089b68f740ae20a441b or 0357da9149eac621f39e235a135ebf155f01f7c3 or f9b97d466e6026ccbdda30bb5b71965b67ccbc82 or 590b2d7d0beadba2aa576708a05a05f0aae39295 or 7ca52541c05c832d32b112274f81a985101f9ba8 or later.",
      "Upgrade Linux to 0 or 5.4.297 or 5.10.240 or 5.15.186 or 6.1.142 or 6.6.95 or 6.12.35 or 6.15.4 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
