cvelo
P4 · InfoEPSS 0.2%

blk-iocost: free struct ioc after a grace period

  • CVE-2026-139147
  • GHSA-4473-p9cp-qq28
  • EUVD-2026-138701

Description

In the Linux kernel, the following vulnerability has been resolved: blk-iocost: free struct ioc after a grace period ioc_qos_prfill() and ioc_cost_model_prfill() take ioc->lock from blkcg_print_blkgs(), which since commit 56cc24f59c14 runs under RCU only. That covers the policy data, which is freed after a grace period, but not the ioc it points to: ioc_rqos_exit() frees that right away, and a concurrent read of io.cost.qos locks freed memory. Free the ioc with kfree_rcu_mightsleep().

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    7.2none stated
    before 7.2: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.