VDB

CVE-2024-35974

CVE-2024-35974 PUBLISHED

block: fix q->blkg_list corruption during disk rebind

Reported by linux · Published May 20, 2024

In the Linux kernel, the following vulnerability has been resolved: block: fix q->blkg_list corruption during disk rebind Multiple gendisk instances can allocated/added for single request queue in case of disk rebind. blkg may still stay in q->blkg_list when calling blkcg_init_disk() for rebind, then q->blkg_list becomes corrupted. Fix the list corruption issue by: - add blkg_init_queue() to initialize q->blkg_list & q->blkcg_mutex only - move calling blkg_init_queue() into blk_alloc_queue() The list corruption should be started since commit f1c006f1c685 ("blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn() and blkcg_deactivate_policy()") which delays removing blkg from q->blkg_list into blkg_free_workfn().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux8b8ace080319a866f5dfe9da8e665ae51d971c54, 858c489d81d659af17a4d11cfaad2afb42e47a76, 6.2.4, 6.1.17

Affected products

VendorProductVersions
LinuxLinux81c1188905f88b77743d1fdeeedfc8cb7b67787d, bfe46d2efe46c5c952f982e2ca94fe2ec5e58e2a, 1059699f87eb0b3aa9d574b91a572d534897134a
LinuxLinux5.18, 0, 6.1.17
LinuxLinux6.2.3, 81c1188905f88b77743d1fdeeedfc8cb7b67787d, 1059699f87eb0b3aa9d574b91a572d534897134a
linuxlinux_kernel6.2.3, 5.18, 5.18

Timeline

  • May 20, 2024 CVE Published
  • May 21, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 10, 2026 Security Advisory (436 in total, the first dated here)
  • Mar 31, 2026 Distribution Patch (331 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-35974
vulnetix vdb fixes CVE-2024-35974

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35974/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›