{
  "id": "CVE-2025-38568",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38568",
  "published_at": "2025-08-19T17:02:49.278Z",
  "title": "net/sched: mqprio: fix stack out-of-bounds write in tc entry parsing",
  "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: mqprio: fix stack out-of-bounds write in tc entry parsing\n\nTCA_MQPRIO_TC_ENTRY_INDEX is validated using\nNLA_POLICY_MAX(NLA_U32, TC_QOPT_MAX_QUEUE), which allows the value\nTC_QOPT_MAX_QUEUE (16). This leads to a 4-byte out-of-bounds stack\nwrite in the fp[] array, which only has room for 16 elements (0–15).\n\nFix this by changing the policy to allow only up to TC_QOPT_MAX_QUEUE - 1.",
  "cwe": "CWE-787",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= f62af20bed2d9e824f51cfc97ff01bc261f40e58, \u003c 39491e859fd494d0b51adc5c7d54c8a7dcf1d198",
          "\u003e= f62af20bed2d9e824f51cfc97ff01bc261f40e58, \u003c d00e4125680f7074c4f42ce3c297336f23128e70",
          "\u003e= f62af20bed2d9e824f51cfc97ff01bc261f40e58, \u003c 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86",
          "\u003e= f62af20bed2d9e824f51cfc97ff01bc261f40e58, \u003c f1a9dbcb7d17bf0abb325cdc984957cfabc59693",
          "\u003e= f62af20bed2d9e824f51cfc97ff01bc261f40e58, \u003c ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17"
        ],
        "fixed_in": [
          "39491e859fd494d0b51adc5c7d54c8a7dcf1d198",
          "d00e4125680f7074c4f42ce3c297336f23128e70",
          "66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86",
          "f1a9dbcb7d17bf0abb325cdc984957cfabc59693",
          "ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.4"
        ],
        "fixed_in": [
          "0",
          "6.6.102",
          "6.12.42",
          "6.15.10",
          "6.16.1",
          "6.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 39491e859fd494d0b51adc5c7d54c8a7dcf1d198 or d00e4125680f7074c4f42ce3c297336f23128e70 or 66fc2ebdd9d5dd6e5a9c7edeace5a61a0ab2cd86 or f1a9dbcb7d17bf0abb325cdc984957cfabc59693 or ffd2dc4c6c49ff4f1e5d34e454a6a55608104c17 or later.",
      "Upgrade Linux to 0 or 6.6.102 or 6.12.42 or 6.15.10 or 6.16.1 or 6.17 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
