cve-2025-37752
Vulnerability from cvelistv5
Published
2025-05-01 12:55
Modified
2025-06-27 10:21
Severity ?
Summary
net_sched: sch_sfq: move the limit validation
Impacted products
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/sched/sch_sfq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7d62ded97db6b7c94c891f704151f372b1ba4688",
              "status": "affected",
              "version": "1e6d9d87626cf89eeffb4d943db12cb5b10bf961",
              "versionType": "git"
            },
            {
              "lessThan": "6c589aa318023690f1606c666a7fb5f4c1c9c219",
              "status": "affected",
              "version": "1b562b7f9231432da40d12e19786c1bd7df653a7",
              "versionType": "git"
            },
            {
              "lessThan": "1348214fa042a71406964097e743c87a42c85a49",
              "status": "affected",
              "version": "35d0137305ae2f97260a9047f445bd4434bd6cc7",
              "versionType": "git"
            },
            {
              "lessThan": "d2718324f9e329b10ddc091fba5a0ba2b9d4d96a",
              "status": "affected",
              "version": "833e9a1c27b82024db7ff5038a51651f48f05e5e",
              "versionType": "git"
            },
            {
              "lessThan": "f86293adce0c201cfabb283ef9d6f21292089bb8",
              "status": "affected",
              "version": "7d8947f2153ee9c5ab4cb17861a11cc45f30e8c4",
              "versionType": "git"
            },
            {
              "lessThan": "5e5e1fcc1b8ed57f902c424c5d9b328a3a19073d",
              "status": "affected",
              "version": "7fefc294204f10a3405f175f4ac2be16d63f135e",
              "versionType": "git"
            },
            {
              "lessThan": "b36a68192037d1614317a09b0d78c7814e2eecf9",
              "status": "affected",
              "version": "10685681bafce6febb39770f3387621bf5d67d0b",
              "versionType": "git"
            },
            {
              "lessThan": "b3bf8f63e6179076b57c9de660c9f80b5abefe70",
              "status": "affected",
              "version": "10685681bafce6febb39770f3387621bf5d67d0b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sched/sch_sfq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.14"
            },
            {
              "lessThan": "6.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.135",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.88",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.24",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.14.*",
              "status": "unaffected",
              "version": "6.14.3",
              "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": "6.1.135",
                  "versionStartIncluding": "6.1.129",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.88",
                  "versionStartIncluding": "6.6.76",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.24",
                  "versionStartIncluding": "6.12.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.12",
                  "versionStartIncluding": "6.13.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14.3",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15",
                  "versionStartIncluding": "6.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet_sched: sch_sfq: move the limit validation\n\nIt is not sufficient to directly validate the limit on the data that\nthe user passes as it can be updated based on how the other parameters\nare changed.\n\nMove the check at the end of the configuration update process to also\ncatch scenarios where the limit is indirectly updated, for example\nwith the following configurations:\n\ntc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 depth 1\ntc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 divisor 1\n\nThis fixes the following syzkaller reported crash:\n\n------------[ cut here ]------------\nUBSAN: array-index-out-of-bounds in net/sched/sch_sfq.c:203:6\nindex 65535 is out of range for type \u0027struct sfq_head[128]\u0027\nCPU: 1 UID: 0 PID: 3037 Comm: syz.2.16 Not tainted 6.14.0-rc2-syzkaller #0\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024\nCall Trace:\n \u003cTASK\u003e\n __dump_stack lib/dump_stack.c:94 [inline]\n dump_stack_lvl+0x201/0x300 lib/dump_stack.c:120\n ubsan_epilogue lib/ubsan.c:231 [inline]\n __ubsan_handle_out_of_bounds+0xf5/0x120 lib/ubsan.c:429\n sfq_link net/sched/sch_sfq.c:203 [inline]\n sfq_dec+0x53c/0x610 net/sched/sch_sfq.c:231\n sfq_dequeue+0x34e/0x8c0 net/sched/sch_sfq.c:493\n sfq_reset+0x17/0x60 net/sched/sch_sfq.c:518\n qdisc_reset+0x12e/0x600 net/sched/sch_generic.c:1035\n tbf_reset+0x41/0x110 net/sched/sch_tbf.c:339\n qdisc_reset+0x12e/0x600 net/sched/sch_generic.c:1035\n dev_reset_queue+0x100/0x1b0 net/sched/sch_generic.c:1311\n netdev_for_each_tx_queue include/linux/netdevice.h:2590 [inline]\n dev_deactivate_many+0x7e5/0xe70 net/sched/sch_generic.c:1375"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-06-27T10:21:18.428Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7d62ded97db6b7c94c891f704151f372b1ba4688"
        },
        {
          "url": "https://git.kernel.org/stable/c/6c589aa318023690f1606c666a7fb5f4c1c9c219"
        },
        {
          "url": "https://git.kernel.org/stable/c/1348214fa042a71406964097e743c87a42c85a49"
        },
        {
          "url": "https://git.kernel.org/stable/c/d2718324f9e329b10ddc091fba5a0ba2b9d4d96a"
        },
        {
          "url": "https://git.kernel.org/stable/c/f86293adce0c201cfabb283ef9d6f21292089bb8"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e5e1fcc1b8ed57f902c424c5d9b328a3a19073d"
        },
        {
          "url": "https://git.kernel.org/stable/c/b36a68192037d1614317a09b0d78c7814e2eecf9"
        },
        {
          "url": "https://git.kernel.org/stable/c/b3bf8f63e6179076b57c9de660c9f80b5abefe70"
        }
      ],
      "title": "net_sched: sch_sfq: move the limit validation",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-37752",
    "datePublished": "2025-05-01T12:55:57.280Z",
    "dateReserved": "2025-04-16T04:51:23.937Z",
    "dateUpdated": "2025-06-27T10:21:18.428Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-37752\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-05-01T13:15:53.933\",\"lastModified\":\"2025-06-27T11:15:24.693\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet_sched: sch_sfq: move the limit validation\\n\\nIt is not sufficient to directly validate the limit on the data that\\nthe user passes as it can be updated based on how the other parameters\\nare changed.\\n\\nMove the check at the end of the configuration update process to also\\ncatch scenarios where the limit is indirectly updated, for example\\nwith the following configurations:\\n\\ntc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 depth 1\\ntc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 divisor 1\\n\\nThis fixes the following syzkaller reported crash:\\n\\n------------[ cut here ]------------\\nUBSAN: array-index-out-of-bounds in net/sched/sch_sfq.c:203:6\\nindex 65535 is out of range for type \u0027struct sfq_head[128]\u0027\\nCPU: 1 UID: 0 PID: 3037 Comm: syz.2.16 Not tainted 6.14.0-rc2-syzkaller #0\\nHardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024\\nCall Trace:\\n \u003cTASK\u003e\\n __dump_stack lib/dump_stack.c:94 [inline]\\n dump_stack_lvl+0x201/0x300 lib/dump_stack.c:120\\n ubsan_epilogue lib/ubsan.c:231 [inline]\\n __ubsan_handle_out_of_bounds+0xf5/0x120 lib/ubsan.c:429\\n sfq_link net/sched/sch_sfq.c:203 [inline]\\n sfq_dec+0x53c/0x610 net/sched/sch_sfq.c:231\\n sfq_dequeue+0x34e/0x8c0 net/sched/sch_sfq.c:493\\n sfq_reset+0x17/0x60 net/sched/sch_sfq.c:518\\n qdisc_reset+0x12e/0x600 net/sched/sch_generic.c:1035\\n tbf_reset+0x41/0x110 net/sched/sch_tbf.c:339\\n qdisc_reset+0x12e/0x600 net/sched/sch_generic.c:1035\\n dev_reset_queue+0x100/0x1b0 net/sched/sch_generic.c:1311\\n netdev_for_each_tx_queue include/linux/netdevice.h:2590 [inline]\\n dev_deactivate_many+0x7e5/0xe70 net/sched/sch_generic.c:1375\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net_sched: sch_sfq: mover la validaci\u00f3n del l\u00edmite No es suficiente validar directamente el l\u00edmite en los datos que pasa el usuario, ya que se puede actualizar en funci\u00f3n de c\u00f3mo se modifiquen los dem\u00e1s par\u00e1metros. Mueva la comprobaci\u00f3n al final del proceso de actualizaci\u00f3n de configuraci\u00f3n para que tambi\u00e9n detecte los escenarios en los que el l\u00edmite se actualiza indirectamente, por ejemplo, con las siguientes configuraciones: tc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 Depth 1 tc qdisc add dev dummy0 handle 1: root sfq limit 2 flows 1 divisor 1 Esto corrige el siguiente fallo informado por syzkaller: ------------[ cortar aqu\u00ed ]------------ UBSAN: array-index-out-of-bounds en net/sched/sch_sfq.c:203:6 el \u00edndice 65535 est\u00e1 fuera de rango para el tipo \u0027struct sfq_head[128]\u0027 CPU: 1 UID: 0 PID: 3037 Comm: syz.2.16 No contaminado 6.14.0-rc2-syzkaller #0 Nombre del hardware: Google Google Compute Engine/Google Compute Engine, BIOS Google 27/12/2024 Seguimiento de llamadas:  __dump_stack lib/dump_stack.c:94 [en l\u00ednea] dump_stack_lvl+0x201/0x300 lib/dump_stack.c:120 ubsan_epilogue lib/ubsan.c:231 [en l\u00ednea] __ubsan_handle_out_of_bounds+0xf5/0x120 lib/ubsan.c:429 sfq_link net/sched/sch_sfq.c:203 [en l\u00ednea] sfq_dec+0x53c/0x610 net/sched/sch_sfq.c:231 sfq_dequeue+0x34e/0x8c0 net/sched/sch_sfq.c:493 sfq_reset+0x17/0x60 net/sched/sch_sfq.c:518 qdisc_reset+0x12e/0x600 net/sched/sch_generic.c:1035 tbf_reset+0x41/0x110 net/sched/sch_tbf.c:339 qdisc_reset+0x12e/0x600 net/sched/sch_generic.c:1035 dev_reset_queue+0x100/0x1b0 net/sched/sch_generic.c:1311 netdev_for_each_tx_queue include/linux/netdevice.h:2590 [en l\u00ednea] dev_deactivate_many+0x7e5/0xe70 net/sched/sch_generic.c:1375\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1348214fa042a71406964097e743c87a42c85a49\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5e5e1fcc1b8ed57f902c424c5d9b328a3a19073d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6c589aa318023690f1606c666a7fb5f4c1c9c219\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7d62ded97db6b7c94c891f704151f372b1ba4688\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b36a68192037d1614317a09b0d78c7814e2eecf9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b3bf8f63e6179076b57c9de660c9f80b5abefe70\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d2718324f9e329b10ddc091fba5a0ba2b9d4d96a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f86293adce0c201cfabb283ef9d6f21292089bb8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • 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.