# CVE-2024-36908: blk-iocost: do not WARN if iocg was already offlined

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 17, 2026-11-26)
- **Published:** 2024-05-30T15:29:07.773Z
- **Modified:** 2026-06-17T07:37:20.027Z

## Who should check

- Anyone running Linux \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 56a9d07f427378eeb75b917bb49c6fbea8204126; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 7d215e013d097ed6fc4b0ad0272c9514214dc408; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< aed0aac18f039dd4af13c143063754efca358cb0; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 1c172ac7afe4442964f4153b2c78fe4e005d9d67; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 14b3275f93d4a0d8ddc02195bc4e9869b7a3700e; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 01bc4fda9ea0a6b52f12326486f07a4910666cf6
- Anyone running Linux 5.4

## Description

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

blk-iocost: do not WARN if iocg was already offlined

In iocg\_pay\_debt(), warn is triggered if 'active\_list' is empty, which
is intended to confirm iocg is active when it has debt. However, warn
can be triggered during a blkcg or disk removal, if iocg\_waitq\_timer\_fn()
is run at that time:

  WARNING: CPU: 0 PID: 2344971 at block/blk-iocost.c:1402 iocg\_pay\_debt+0x14c/0x190
  Call trace:
  iocg\_pay\_debt+0x14c/0x190
  iocg\_kick\_waitq+0x438/0x4c0
  iocg\_waitq\_timer\_fn+0xd8/0x130
  \_\_run\_hrtimer+0x144/0x45c
  \_\_hrtimer\_run\_queues+0x16c/0x244
  hrtimer\_interrupt+0x2cc/0x7b0

The warn in this situation is meaningless. Since this iocg is being
removed, the state of the 'active\_list' is irrelevant, and 'waitq\_timer'
is canceled after removing 'active\_list' in ioc\_pd\_free(), which ensures
iocg is freed after iocg\_waitq\_timer\_fn() returns.

Therefore, add the check if iocg was already offlined to avoid warn
when removing a blkcg or disk.

## Affected and fixed versions

- Linux: \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 56a9d07f427378eeb75b917bb49c6fbea8204126; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 7d215e013d097ed6fc4b0ad0272c9514214dc408; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< aed0aac18f039dd4af13c143063754efca358cb0; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 1c172ac7afe4442964f4153b2c78fe4e005d9d67; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 14b3275f93d4a0d8ddc02195bc4e9869b7a3700e; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 01bc4fda9ea0a6b52f12326486f07a4910666cf6 (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- Upgrade Linux to 01bc4fda9ea0a6b52f12326486f07a4910666cf6 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-36908.md
Affected: Linux >= 7caa47151ab2e644dd221f741ec7578d9532c9a3, < 56a9d07f427378eeb75b917bb49c6fbea8204126; >= 7caa47151ab2e644dd221f741ec7578d9532c9a3, < 7d215e013d097ed6fc4b0ad0272c9514214dc408; >= 7caa47151ab2e644dd221f741ec7578d9532c9a3, < aed0aac18f039dd4af13c143063754efca358cb0; >= 7caa47151ab2e644dd221f7…
Fixed in: Linux 56a9d07f427378eeb75b917bb49c6fbea8204126, Linux 7d215e013d097ed6fc4b0ad0272c9514214dc408, Linux 1c172ac7afe4442964f4153b2c78fe4e005d9d67, Linux 14b3275f93d4a0d8ddc02195bc4e9869b7a3700e, Linux 01bc4fda9ea0a6b52f12326486f07a4910666cf6

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-36908 being exploited?

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

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

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 56a9d07f427378eeb75b917bb49c6fbea8204126; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 7d215e013d097ed6fc4b0ad0272c9514214dc408; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< aed0aac18f039dd4af13c143063754efca358cb0; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 1c172ac7afe4442964f4153b2c78fe4e005d9d67; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 14b3275f93d4a0d8ddc02195bc4e9869b7a3700e; \>= 7caa47151ab2e644dd221f741ec7578d9532c9a3, \< 01bc4fda9ea0a6b52f12326486f07a4910666cf6; Linux 5.4.

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

Yes. Fixed in Linux 56a9d07f427378eeb75b917bb49c6fbea8204126, Linux 7d215e013d097ed6fc4b0ad0272c9514214dc408, Linux 1c172ac7afe4442964f4153b2c78fe4e005d9d67, Linux 14b3275f93d4a0d8ddc02195bc4e9869b7a3700e, Linux 01bc4fda9ea0a6b52f12326486f07a4910666cf6. Upgrade Linux to 01bc4fda9ea0a6b52f12326486f07a4910666cf6 or later.

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

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/56a9d07f427378eeb75b917bb49c6fbea8204126>
- patch: <https://git.kernel.org/stable/c/7d215e013d097ed6fc4b0ad0272c9514214dc408>
- patch: <https://git.kernel.org/stable/c/aed0aac18f039dd4af13c143063754efca358cb0>
- patch: <https://git.kernel.org/stable/c/1c172ac7afe4442964f4153b2c78fe4e005d9d67>
- patch: <https://git.kernel.org/stable/c/14b3275f93d4a0d8ddc02195bc4e9869b7a3700e>
- patch: <https://git.kernel.org/stable/c/01bc4fda9ea0a6b52f12326486f07a4910666cf6>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.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-36908>

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