CVE-2025-37992 (GCVE-0-2025-37992)
Vulnerability from cvelistv5
Published
2025-05-26 14:54
Modified
2025-06-04 12:57
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: net_sched: Flush gso_skb list too during ->change() Previously, when reducing a qdisc's limit via the ->change() operation, only the main skb queue was trimmed, potentially leaving packets in the gso_skb list. This could result in NULL pointer dereference when we only check sch->limit against sch->q.qlen. This patch introduces a new helper, qdisc_dequeue_internal(), which ensures both the gso_skb list and the main queue are properly flushed when trimming excess packets. All relevant qdiscs (codel, fq, fq_codel, fq_pie, hhf, pie) are updated to use this helper in their ->change() routines.
Impacted products
Vendor Product Version
Linux Linux Version: 76e3cc126bb223013a6b9a0e2a51238d1ef2e409
Version: 76e3cc126bb223013a6b9a0e2a51238d1ef2e409
Version: 76e3cc126bb223013a6b9a0e2a51238d1ef2e409
Version: 76e3cc126bb223013a6b9a0e2a51238d1ef2e409
Version: 76e3cc126bb223013a6b9a0e2a51238d1ef2e409
Version: 76e3cc126bb223013a6b9a0e2a51238d1ef2e409
Version: 76e3cc126bb223013a6b9a0e2a51238d1ef2e409
Create a notification for this product.
   Linux Linux Version: 3.5
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/net/sch_generic.h",
            "net/sched/sch_codel.c",
            "net/sched/sch_fq.c",
            "net/sched/sch_fq_codel.c",
            "net/sched/sch_fq_pie.c",
            "net/sched/sch_hhf.c",
            "net/sched/sch_pie.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ea1132ccb112f51ba749c56a912f67970c2cd542",
              "status": "affected",
              "version": "76e3cc126bb223013a6b9a0e2a51238d1ef2e409",
              "versionType": "git"
            },
            {
              "lessThan": "d3336f746f196c6a53e0480923ae93939f047b6c",
              "status": "affected",
              "version": "76e3cc126bb223013a6b9a0e2a51238d1ef2e409",
              "versionType": "git"
            },
            {
              "lessThan": "d38939ebe0d992d581acb6885c1723fa83c1fb2c",
              "status": "affected",
              "version": "76e3cc126bb223013a6b9a0e2a51238d1ef2e409",
              "versionType": "git"
            },
            {
              "lessThan": "a7d6e0ac0a8861f6b1027488062251a8e28150fd",
              "status": "affected",
              "version": "76e3cc126bb223013a6b9a0e2a51238d1ef2e409",
              "versionType": "git"
            },
            {
              "lessThan": "d1365ca80b012d8a7863e45949e413fb61fa4861",
              "status": "affected",
              "version": "76e3cc126bb223013a6b9a0e2a51238d1ef2e409",
              "versionType": "git"
            },
            {
              "lessThan": "fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76",
              "status": "affected",
              "version": "76e3cc126bb223013a6b9a0e2a51238d1ef2e409",
              "versionType": "git"
            },
            {
              "lessThan": "2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8",
              "status": "affected",
              "version": "76e3cc126bb223013a6b9a0e2a51238d1ef2e409",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/net/sch_generic.h",
            "net/sched/sch_codel.c",
            "net/sched/sch_fq.c",
            "net/sched/sch_fq_codel.c",
            "net/sched/sch_fq_pie.c",
            "net/sched/sch_hhf.c",
            "net/sched/sch_pie.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.5"
            },
            {
              "lessThan": "3.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.238",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.184",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.140",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.30",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.238",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.184",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.140",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.92",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.30",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.8",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: Flush gso_skb list too during -\u003echange()\n\nPreviously, when reducing a qdisc\u0027s limit via the -\u003echange() operation, only\nthe main skb queue was trimmed, potentially leaving packets in the gso_skb\nlist. This could result in NULL pointer dereference when we only check\nsch-\u003elimit against sch-\u003eq.qlen.\n\nThis patch introduces a new helper, qdisc_dequeue_internal(), which ensures\nboth the gso_skb list and the main queue are properly flushed when trimming\nexcess packets. All relevant qdiscs (codel, fq, fq_codel, fq_pie, hhf, pie)\nare updated to use this helper in their -\u003echange() routines."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-06-04T12:57:41.538Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ea1132ccb112f51ba749c56a912f67970c2cd542"
        },
        {
          "url": "https://git.kernel.org/stable/c/d3336f746f196c6a53e0480923ae93939f047b6c"
        },
        {
          "url": "https://git.kernel.org/stable/c/d38939ebe0d992d581acb6885c1723fa83c1fb2c"
        },
        {
          "url": "https://git.kernel.org/stable/c/a7d6e0ac0a8861f6b1027488062251a8e28150fd"
        },
        {
          "url": "https://git.kernel.org/stable/c/d1365ca80b012d8a7863e45949e413fb61fa4861"
        },
        {
          "url": "https://git.kernel.org/stable/c/fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76"
        },
        {
          "url": "https://git.kernel.org/stable/c/2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8"
        }
      ],
      "title": "net_sched: Flush gso_skb list too during -\u003echange()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-37992",
    "datePublished": "2025-05-26T14:54:15.796Z",
    "dateReserved": "2025-04-16T04:51:23.976Z",
    "dateUpdated": "2025-06-04T12:57:41.538Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-37992\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-05-26T15:15:19.770\",\"lastModified\":\"2025-06-04T13:15:28.170\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet_sched: Flush gso_skb list too during -\u003echange()\\n\\nPreviously, when reducing a qdisc\u0027s limit via the -\u003echange() operation, only\\nthe main skb queue was trimmed, potentially leaving packets in the gso_skb\\nlist. This could result in NULL pointer dereference when we only check\\nsch-\u003elimit against sch-\u003eq.qlen.\\n\\nThis patch introduces a new helper, qdisc_dequeue_internal(), which ensures\\nboth the gso_skb list and the main queue are properly flushed when trimming\\nexcess packets. All relevant qdiscs (codel, fq, fq_codel, fq_pie, hhf, pie)\\nare updated to use this helper in their -\u003echange() routines.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net_sched: Vaciar tambi\u00e9n la lista gso_skb durante -\u0026gt;change(). Anteriormente, al reducir el l\u00edmite de una qdisc mediante la operaci\u00f3n -\u0026gt;change(), solo se recortaba la cola principal de skb, lo que pod\u00eda dejar paquetes en la lista gso_skb. Esto pod\u00eda provocar una desreferencia de puntero nulo al comparar \u00fanicamente sch-\u0026gt;limit con sch-\u0026gt;q.qlen. Este parche introduce un nuevo asistente, qdisc_dequeue_internal(), que garantiza que tanto la lista gso_skb como la cola principal se vac\u00eden correctamente al recortar los paquetes sobrantes. Todas las qdisc relevantes (codel, fq, fq_codel, fq_pie, hhf, pie) se han actualizado para usar este asistente en sus rutinas -\u0026gt;change().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2d3cbfd6d54a2c39ce3244f33f85c595844bd7b8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a7d6e0ac0a8861f6b1027488062251a8e28150fd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d1365ca80b012d8a7863e45949e413fb61fa4861\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d3336f746f196c6a53e0480923ae93939f047b6c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d38939ebe0d992d581acb6885c1723fa83c1fb2c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ea1132ccb112f51ba749c56a912f67970c2cd542\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/fe88c7e4fc2c1cd75a278a15ffbf1689efad4e76\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…