# CVE-2024-36916: blk-iocost: avoid out of bounds shift

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.97% (percentile 61, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-05-30T15:29:12.745Z
- **Modified:** 2026-10-15T01:18:25.030Z

## Who should check

- Anyone running Linux \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< 62accf6c1d7b433752cb3591bba8967b7a801ad5; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< 844fc023e9f14a4fb1de5ae1eaefafd6d69c5fa1; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< f6add0a6f78dc6360b822ca4b6f9f2f14174c8ca; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< ce0e99cae00e3131872936713b7f55eefd53ab86; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< 488dc6808cb8369685f18cee81e88e7052ac153b; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< beaa51b36012fad5a4d3c18b88a617aea7a9b96d
- Anyone running Linux 5.10

## Description

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

blk-iocost: avoid out of bounds shift

UBSAN catches undefined behavior in blk-iocost, where sometimes
iocg-\>delay is shifted right by a number that is too large,
resulting in undefined behavior on some architectures.

\[  186.556576\] ------------\[ cut here \]------------
UBSAN: shift-out-of-bounds in block/blk-iocost.c:1366:23
shift exponent 64 is too large for 64-bit type 'u64' (aka 'unsigned long long')
CPU: 16 PID: 0 Comm: swapper/16 Tainted: G S          E    N 6.9.0-0\_fbk700\_debug\_rc2\_kbuilder\_0\_gc85af715cac0 \#1
Hardware name: Quanta Twin Lakes MP/Twin Lakes Passive MP, BIOS F09\_3A23 12/08/2020
Call Trace:
 \<IRQ\>
 dump\_stack\_lvl+0x8f/0xe0
 \_\_ubsan\_handle\_shift\_out\_of\_bounds+0x22c/0x280
 iocg\_kick\_delay+0x30b/0x310
 ioc\_timer\_fn+0x2fb/0x1f80
 \_\_run\_timer\_base+0x1b6/0x250
...

Avoid that undefined behavior by simply taking the
"delay = 0" branch if the shift is too large.

I am not sure what the symptoms of an undefined value
delay will be, but I suspect it could be more than a
little annoying to debug.

## Affected and fixed versions

- Linux: \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< 62accf6c1d7b433752cb3591bba8967b7a801ad5; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< 844fc023e9f14a4fb1de5ae1eaefafd6d69c5fa1; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< f6add0a6f78dc6360b822ca4b6f9f2f14174c8ca; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< ce0e99cae00e3131872936713b7f55eefd53ab86; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< 488dc6808cb8369685f18cee81e88e7052ac153b; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< beaa51b36012fad5a4d3c18b88a617aea7a9b96d (cvelist)
- Linux: 5.10 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-36916. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36916.md
Affected: Linux >= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, < 62accf6c1d7b433752cb3591bba8967b7a801ad5; >= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, < 844fc023e9f14a4fb1de5ae1eaefafd6d69c5fa1; >= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, < f6add0a6f78dc6360b822ca4b6f9f2f14174c8ca; >= 5160a5a53c0c4ae3708959d…
Fixed in: Linux 62accf6c1d7b433752cb3591bba8967b7a801ad5, Linux 844fc023e9f14a4fb1de5ae1eaefafd6d69c5fa1, Linux 488dc6808cb8369685f18cee81e88e7052ac153b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-36916 being exploited?

There is no confirmed exploitation: CVE-2024-36916 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.97% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-36916?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-36916?

Linux \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< 62accf6c1d7b433752cb3591bba8967b7a801ad5; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< 844fc023e9f14a4fb1de5ae1eaefafd6d69c5fa1; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< f6add0a6f78dc6360b822ca4b6f9f2f14174c8ca; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< ce0e99cae00e3131872936713b7f55eefd53ab86; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< 488dc6808cb8369685f18cee81e88e7052ac153b; \>= 5160a5a53c0c4ae3708959d9465ea43ad5d90542, \< beaa51b36012fad5a4d3c18b88a617aea7a9b96d; Linux 5.10.

### Is there a fix for CVE-2024-36916?

Yes. Fixed in Linux 62accf6c1d7b433752cb3591bba8967b7a801ad5, Linux 844fc023e9f14a4fb1de5ae1eaefafd6d69c5fa1, Linux 488dc6808cb8369685f18cee81e88e7052ac153b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-36916?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/62accf6c1d7b433752cb3591bba8967b7a801ad5>
- patch: <https://git.kernel.org/stable/c/844fc023e9f14a4fb1de5ae1eaefafd6d69c5fa1>
- patch: <https://git.kernel.org/stable/c/f6add0a6f78dc6360b822ca4b6f9f2f14174c8ca>
- patch: <https://git.kernel.org/stable/c/ce0e99cae00e3131872936713b7f55eefd53ab86>
- patch: <https://git.kernel.org/stable/c/488dc6808cb8369685f18cee81e88e7052ac153b>
- patch: <https://git.kernel.org/stable/c/beaa51b36012fad5a4d3c18b88a617aea7a9b96d>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html>
- other: <https://security.netapp.com/advisory/ntap-20240905-0006/>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-36916>

HTML: <https://flawdb.com/CVE-2024-36916> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-36916>
