{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sched: sch_multiq: fix possible OOB write in multiq_tune()\n\nq->bands will be assigned to qopt->bands to execute subsequent code logic\nafter kmalloc. So the old q->bands should not be used in kmalloc.\nOtherwise, an out-of-bounds write will occur."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "net/sched/sch_multiq.c"
               ],
               "versions": [
                  {
                     "version": "c2999f7fb05b",
                     "lessThan": "d5d9d241786f",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c2999f7fb05b",
                     "lessThan": "52b1aa07cda6",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c2999f7fb05b",
                     "lessThan": "598572c64287",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c2999f7fb05b",
                     "lessThan": "0f208fad8663",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c2999f7fb05b",
                     "lessThan": "54c2c171c11a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c2999f7fb05b",
                     "lessThan": "d6fb5110e872",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c2999f7fb05b",
                     "lessThan": "affc18fdc694",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "net/sched/sch_multiq.c"
               ],
               "versions": [
                  {
                     "version": "5.4",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "5.4",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.279",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.221",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.162",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.95",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.35",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.9.6",
                     "lessThanOrEqual": "6.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.10",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d"
            },
            {
               "url": "https://git.kernel.org/stable/c/52b1aa07cda6a199cd6754d3798c7759023bc70f"
            },
            {
               "url": "https://git.kernel.org/stable/c/598572c64287aee0b75bbba4e2881496878860f3"
            },
            {
               "url": "https://git.kernel.org/stable/c/0f208fad86631e005754606c3ec80c0d44a11882"
            },
            {
               "url": "https://git.kernel.org/stable/c/54c2c171c11a798fe887b3ff72922aa9d1411c1e"
            },
            {
               "url": "https://git.kernel.org/stable/c/d6fb5110e8722bc00748f22caeb650fe4672f129"
            },
            {
               "url": "https://git.kernel.org/stable/c/affc18fdc694190ca7575b9a86632a73b9fe043d"
            }
         ],
         "title": "net: sched: sch_multiq: fix possible OOB write in multiq_tune()",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-36978",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
