# CVE-2024-36978: net: sched: sch_multiq: fix possible OOB write in multiq_tune()

Status: published. Published: 2024-06-19. Updated: 2026-11-03.

In the Linux kernel, the following vulnerability has been resolved:

net: sched: sch_multiq: fix possible OOB write in multiq_tune()

q->bands will be assigned to qopt->bands to execute subsequent code logic
after kmalloc. So the old q->bands should not be used in kmalloc.
Otherwise, an out-of-bounds write will occur.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67) — https://git.kernel.org/stable/c/0f208fad86631e005754606c3ec80c0d44a11882
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67) — https://git.kernel.org/stable/c/52b1aa07cda6a199cd6754d3798c7759023bc70f
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67) — https://git.kernel.org/stable/c/54c2c171c11a798fe887b3ff72922aa9d1411c1e
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67) — https://git.kernel.org/stable/c/598572c64287aee0b75bbba4e2881496878860f3
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67) — https://git.kernel.org/stable/c/affc18fdc694190ca7575b9a86632a73b9fe043d
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67) — https://git.kernel.org/stable/c/d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67) — https://git.kernel.org/stable/c/d6fb5110e8722bc00748f22caeb650fe4672f129
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://git.kernel.org/stable/c/0f208fad86631e005754606c3ec80c0d44a11882
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://git.kernel.org/stable/c/52b1aa07cda6a199cd6754d3798c7759023bc70f
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://git.kernel.org/stable/c/54c2c171c11a798fe887b3ff72922aa9d1411c1e
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://git.kernel.org/stable/c/598572c64287aee0b75bbba4e2881496878860f3
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://git.kernel.org/stable/c/affc18fdc694190ca7575b9a86632a73b9fe043d
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://git.kernel.org/stable/c/d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://git.kernel.org/stable/c/d6fb5110e8722bc00748f22caeb650fe4672f129

## Affected products and versions

- Linux / Linux: ≥ c2999f7fb05b87da4060e38150c70fa46794d82b; < d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d (affected, git); ≥ c2999f7fb05b87da4060e38150c70fa46794d82b; < 52b1aa07cda6a199cd6754d3798c7759023bc70f (affected, git); ≥ c2999f7fb05b87da4060e38150c70fa46794d82b; < 598572c64287aee0b75bbba4e2881496878860f3 (affected, git); ≥ c2999f7fb05b87da4060e38150c70fa46794d82b; < 0f208fad86631e005754606c3ec80c0d44a11882 (affected, git); ≥ c2999f7fb05b87da4060e38150c70fa46794d82b; < 54c2c171c11a798fe887b3ff72922aa9d1411c1e (affected, git); ≥ c2999f7fb05b87da4060e38150c70fa46794d82b; < d6fb5110e8722bc00748f22caeb650fe4672f129 (affected, git); ≥ c2999f7fb05b87da4060e38150c70fa46794d82b; < affc18fdc694190ca7575b9a86632a73b9fe043d (affected, git). Source: CNA: Linux
- Linux / Linux: 5.4 (affected); ≥ 0; < 5.4 (unaffected, semver); ≥ 5.4.279; ≤ 5.4.* (unaffected, semver); ≥ 5.10.221; ≤ 5.10.* (unaffected, semver); ≥ 5.15.162; ≤ 5.15.* (unaffected, semver); ≥ 6.1.95; ≤ 6.1.* (unaffected, semver); ≥ 6.6.35; ≤ 6.6.* (unaffected, semver); ≥ 6.9.6; ≤ 6.9.* (unaffected, semver); ≥ 6.10; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux
- Siemens / RUGGEDCOM RST2428P: ≥ 0; < V3.1 (affected, custom). Source: ADP: siemens-SADP
- Siemens / SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family: ≥ 0; < * (unaffected, custom). Source: ADP: siemens-SADP
- Siemens / SCALANCE XCM-/XRM-/XCH-/XRH-300 family: ≥ 0; < V3.1 (affected, custom). Source: ADP: siemens-SADP
- Siemens / SIMATIC S7-1500 TM MFP - GNU/Linux subsystem: ≥ 0; < V1.1.1 (affected, custom). Source: ADP: siemens-SADP

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "5.4.279",
            "versionStartIncluding": "5.4",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "5.10.221",
            "versionStartIncluding": "5.5",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "5.15.162",
            "versionStartIncluding": "5.11",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.1.95",
            "versionStartIncluding": "5.16",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.6.35",
            "versionStartIncluding": "6.2",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
            "versionEndExcluding": "6.9.6",
            "versionStartIncluding": "6.7",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*",
            "vulnerable": true
          },
          {
            "criteria": "cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: CNA: Linux

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: NVD: nvd@nist.gov

- CVSS 3.1: 7.8 (high); CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H; source: NVD: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

- CISA KEV: No listing in collected sources

- EPSS: 0.28% as of 2026-11-03; percentile 20.73%

- SSVC: exploitation none; automatable no; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-787

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d (CNA: Linux)

- https://git.kernel.org/stable/c/52b1aa07cda6a199cd6754d3798c7759023bc70f (CNA: Linux)

- https://git.kernel.org/stable/c/598572c64287aee0b75bbba4e2881496878860f3 (CNA: Linux)

- https://git.kernel.org/stable/c/0f208fad86631e005754606c3ec80c0d44a11882 (CNA: Linux)

- https://git.kernel.org/stable/c/54c2c171c11a798fe887b3ff72922aa9d1411c1e (CNA: Linux)

- https://git.kernel.org/stable/c/d6fb5110e8722bc00748f22caeb650fe4672f129 (CNA: Linux)

- https://git.kernel.org/stable/c/affc18fdc694190ca7575b9a86632a73b9fe043d (CNA: Linux)

- https://git.kernel.org/stable/c/d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d (ADP: CVE; x_transferred)

- https://git.kernel.org/stable/c/52b1aa07cda6a199cd6754d3798c7759023bc70f (ADP: CVE; x_transferred)

- https://git.kernel.org/stable/c/598572c64287aee0b75bbba4e2881496878860f3 (ADP: CVE; x_transferred)

- https://git.kernel.org/stable/c/0f208fad86631e005754606c3ec80c0d44a11882 (ADP: CVE; x_transferred)

- https://git.kernel.org/stable/c/54c2c171c11a798fe887b3ff72922aa9d1411c1e (ADP: CVE; x_transferred)

- https://git.kernel.org/stable/c/d6fb5110e8722bc00748f22caeb650fe4672f129 (ADP: CVE; x_transferred)

- https://git.kernel.org/stable/c/affc18fdc694190ca7575b9a86632a73b9fe043d (ADP: CVE; x_transferred)

- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (ADP: CVE)

- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (ADP: siemens-SADP)

- https://cert-portal.siemens.com/productcert/html/ssa-613116.html (ADP: siemens-SADP)

- https://cert-portal.siemens.com/productcert/html/ssa-355557.html (ADP: siemens-SADP)

- https://git.kernel.org/stable/c/0f208fad86631e005754606c3ec80c0d44a11882 (416baaa9-dc9f-4396-8d5f-8c081fb06d67; Patch)

- https://git.kernel.org/stable/c/52b1aa07cda6a199cd6754d3798c7759023bc70f (416baaa9-dc9f-4396-8d5f-8c081fb06d67; Patch)

- https://git.kernel.org/stable/c/54c2c171c11a798fe887b3ff72922aa9d1411c1e (416baaa9-dc9f-4396-8d5f-8c081fb06d67; Patch)

- https://git.kernel.org/stable/c/598572c64287aee0b75bbba4e2881496878860f3 (416baaa9-dc9f-4396-8d5f-8c081fb06d67; Patch)

- https://git.kernel.org/stable/c/affc18fdc694190ca7575b9a86632a73b9fe043d (416baaa9-dc9f-4396-8d5f-8c081fb06d67; Patch)

- https://git.kernel.org/stable/c/d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d (416baaa9-dc9f-4396-8d5f-8c081fb06d67; Patch)

- https://git.kernel.org/stable/c/d6fb5110e8722bc00748f22caeb650fe4672f129 (416baaa9-dc9f-4396-8d5f-8c081fb06d67; Patch)

- https://git.kernel.org/stable/c/0f208fad86631e005754606c3ec80c0d44a11882 (af854a3a-2127-422b-91ae-364da2661108; Patch)

- https://git.kernel.org/stable/c/52b1aa07cda6a199cd6754d3798c7759023bc70f (af854a3a-2127-422b-91ae-364da2661108; Patch)

- https://git.kernel.org/stable/c/54c2c171c11a798fe887b3ff72922aa9d1411c1e (af854a3a-2127-422b-91ae-364da2661108; Patch)

- https://git.kernel.org/stable/c/598572c64287aee0b75bbba4e2881496878860f3 (af854a3a-2127-422b-91ae-364da2661108; Patch)

- https://git.kernel.org/stable/c/affc18fdc694190ca7575b9a86632a73b9fe043d (af854a3a-2127-422b-91ae-364da2661108; Patch)

- https://git.kernel.org/stable/c/d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d (af854a3a-2127-422b-91ae-364da2661108; Patch)

- https://git.kernel.org/stable/c/d6fb5110e8722bc00748f22caeb650fe4672f129 (af854a3a-2127-422b-91ae-364da2661108; Patch)

- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (af854a3a-2127-422b-91ae-364da2661108)

- https://cert-portal.siemens.com/productcert/html/ssa-265688.html (0b142b55-0307-4c5a-b3c9-f314f3fb7c5e)

- https://cert-portal.siemens.com/productcert/html/ssa-355557.html (0b142b55-0307-4c5a-b3c9-f314f3fb7c5e)

- https://cert-portal.siemens.com/productcert/html/ssa-613116.html (0b142b55-0307-4c5a-b3c9-f314f3fb7c5e)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2024-36978; retrieved 2026-11-03; source updated 2026-11-03

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-36978; retrieved 2026-11-04; source updated 2026-11-03

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-36978; retrieved 2026-11-03; source updated Not reported

Revision: d49817c0fdf2884b0560c60761b0e2a6330eb8ecfb5a7eabdb3b2833fbf5ae5e

Canonical: https://y2.dev/cve/CVE-2024-36978

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.