blk-iocost: clear delay state when freeing policy data (Linux Linux)

CVE-2026-90182
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: blk-iocost: clear delay state when freeing policy data iocg_kick_delay() turns sufficiently large debt into an explicit block-cgroup delay with blkcg_set_delay(), setting blkg->use_delay to -1 and incrementing blkcg->congestion_count. Clearing it again depends on iocg_kick_delay() running from the period timer, the waitq timer or the issue path. ioc_pd_free() removes the iocg from active_iocgs and cancels its waitq timer, and no further bios can arrive, so once it has run nothing is left which can reduce the debt and clear the delay. The blkcg stays marked congested for the rest of its life. blk_cgroup_congested() then returns true for every task in that cgroup and its descendants: page_cache_sync_ra() cuts readahead to a single page, page_cache_async_ra() skips it altogether, and __folio_throttle_swaprate() takes swap_avail_lock and schedules a throttle on anonymous folio allocation. Clear it explicitly, after the list removal and the synchronous hrtimer_cancel() so that neither timer processing nor an I/O path can re-arm it. The free callback can also see policy data which was never attached to a blkg, hence the pd->blkg check.

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions
Linux · Linuxaffected 7caa47151ab2e644dd221f741ec7578d9532c9a3 < 6942cb740fb17b24731728b25994eba361776011 ; affected 7caa47151ab2e644dd221f741ec7578d9532c9a3 < 6b59f976db5def818829fc1eb4efc0a5c8c2f0cf ; affected 7caa47151ab2e644dd221f741ec7578d9532c9a3 < 8b4d0b1b3079bbe9a5366e2c8020eb22926733b6 ; affected 7caa47151ab2e644dd221f741ec7578d9532c9a3 < b399a88eb8b16c5a1a3645fd49ff507fb82b363c ; affected 7caa47151ab2e644dd221f741ec7578d9532c9a3 < b9c16db833e3ff15d923282f94dddf0e10fab8c0 ; affected 7caa47151ab2e644dd221f741ec7578d9532c9a3 < 97cb95d2148835ae86ff916b145aef332d40439d
Linux · Linuxaffected 5.4 ; unaffected 0 < 5.4 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.18.57 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD