{
  "id": "CVE-2025-37913",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37913",
  "published_at": "2025-05-20T15:21:44.793Z",
  "title": "net_sched: qfq: Fix double list add in class with netem as child qdisc",
  "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: qfq: Fix double list add in class with netem as child qdisc\n\nAs described in Gerrard's report [1], there are use cases where a netem\nchild qdisc will make the parent qdisc's enqueue callback reentrant.\nIn the case of qfq, there won't be a UAF, but the code will add the same\nclassifier to the list twice, which will cause memory corruption.\n\nThis patch checks whether the class was already added to the agg-\u003eactive\nlist (cl_is_active) before doing the addition to cater for the reentrant\ncase.\n\n[1] https://lore.kernel.org/netdev/CAHcdcOm+03OD2j6R0=YHKqmy=VgJ8xEOKuP6c7mSgnp-TEJJbw@mail.gmail.com/",
  "cwe": "CWE-415",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.0:-:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.0:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.0:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.0:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.0:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.0:rc7:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:5.0:rc8:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, \u003c 041f410aec2c1751ee22b8b73ba05d38c3a6a602",
          "\u003e= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, \u003c 005a479540478a820c52de098e5e767e63e36f0a",
          "\u003e= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, \u003c 0bf32d6fb1fcbf841bb9945570e0e2a70072c00f",
          "\u003e= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, \u003c 0aa23e0856b7cedb3c88d8e3d281c212c7e4fbeb",
          "\u003e= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, \u003c a43783119e01849fbf2fe8855634e8989b240cb4",
          "\u003e= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, \u003c 53bc0b55178bd59bdd4bcd16349505cabf54b1a2",
          "\u003e= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, \u003c 370218e8ce711684acc4cdd3cc3c6dd7956bc165",
          "\u003e= 37d9cf1a3ce35de3df6f7d209bfb1f50cf188cea, \u003c f139f37dcdf34b67f5bf92bc8e0f7f6b3ac63aa4"
        ],
        "fixed_in": [
          "041f410aec2c1751ee22b8b73ba05d38c3a6a602",
          "005a479540478a820c52de098e5e767e63e36f0a",
          "0bf32d6fb1fcbf841bb9945570e0e2a70072c00f",
          "0aa23e0856b7cedb3c88d8e3d281c212c7e4fbeb",
          "a43783119e01849fbf2fe8855634e8989b240cb4",
          "53bc0b55178bd59bdd4bcd16349505cabf54b1a2",
          "370218e8ce711684acc4cdd3cc3c6dd7956bc165",
          "f139f37dcdf34b67f5bf92bc8e0f7f6b3ac63aa4"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.0"
        ],
        "fixed_in": [
          "0",
          "5.4.294",
          "5.10.238",
          "5.15.182",
          "6.1.138",
          "6.6.90",
          "6.12.28",
          "6.14.6",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 041f410aec2c1751ee22b8b73ba05d38c3a6a602 or 005a479540478a820c52de098e5e767e63e36f0a or 0bf32d6fb1fcbf841bb9945570e0e2a70072c00f or 0aa23e0856b7cedb3c88d8e3d281c212c7e4fbeb or a43783119e01849fbf2fe8855634e8989b240cb4 or 53bc0b55178bd59bdd4bcd16349505cabf54b1a2 or 370218e8ce711684acc4cdd3cc3c6dd7956bc165 or f139f37dcdf34b67f5bf92bc8e0f7f6b3ac63aa4 or later.",
      "Upgrade Linux to 0 or 5.4.294 or 5.10.238 or 5.15.182 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": []
}
