{"id":"CVE-2026-139143","state":"PUBLISHED","title":"block: don't enter reclaim under rq_qos_mutex","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: don't enter reclaim under rq_qos_mutex\n\nioc_qos_write() and the wbt_lat_usec writers take rq_qos_mutex with the\nqueue frozen, blkcg_deactivate_policy() does the same with blkcg_mutex,\nso nothing holding either may wait for IO. blkg_conf_prep() got\nGFP_NOIO for the blkg in commit 5d726c4dbeed, but the\nradix_tree_preload() right after it, the policy init functions and the\nGFP_KERNEL fallback in blkcg_activate_policy() can still enter reclaim\nthere. lockdep reports the cycle on the first write to io.max.\n\nUse GFP_NOIO for all of them.","publishedAt":"2026-11-30T13:31:58.712Z","updatedAt":"2026-11-30T13:31:58.712Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"56ac639d6fa6fbb99caee74ee1c7276fc9bb47ed","status":"affected","lessThan":"af1420828dd88ea79c982f262821cfd30377a88b","versionType":"git"},{"version":"9730763f4756e32520cb86778331465e8d063a8f","status":"affected","lessThan":"bf274719847ecdf1c19a0af3aed087b693033f25","versionType":"git"},{"version":"9730763f4756e32520cb86778331465e8d063a8f","status":"affected","lessThan":"d8d1acc226f1f4b7efd32391f703b2d43521b3cd","versionType":"git"},{"version":"9730763f4756e32520cb86778331465e8d063a8f","status":"affected","lessThan":"045cbfc369f5929ed473f7c200dc2e8146569ce5","versionType":"git"},{"version":"e1729523759cda2c0afb76b1c88e0d2f2ef5b7cb","status":"affected","versionType":"git"},{"version":"6.12.58","status":"affected","lessThan":"6.12.120","versionType":"semver"},{"version":"6.6.117","status":"affected","lessThan":"6.7","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-cgroup.c","block/blk-iocost.c","block/blk-iolatency.c","block/blk-throttle.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-cgroup.c","block/blk-iocost.c","block/blk-iolatency.c","block/blk-throttle.c"]}],"references":["https://git.kernel.org/stable/c/af1420828dd88ea79c982f262821cfd30377a88b","https://git.kernel.org/stable/c/bf274719847ecdf1c19a0af3aed087b693033f25","https://git.kernel.org/stable/c/d8d1acc226f1f4b7efd32391f703b2d43521b3cd","https://git.kernel.org/stable/c/045cbfc369f5929ed473f7c200dc2e8146569ce5"],"weaknesses":[],"ingestedAt":"2026-11-30T13:44:05.999Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139143.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139143","state":"PUBLISHED","datePublished":"2026-11-30T13:31:58.712Z","dateUpdated":"2026-11-30T13:31:58.712Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.916Z"},"containers":{"cna":{"title":"block: don't enter reclaim under rq_qos_mutex","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nblock: don't enter reclaim under rq_qos_mutex\n\nioc_qos_write() and the wbt_lat_usec writers take rq_qos_mutex with the\nqueue frozen, blkcg_deactivate_policy() does the same with blkcg_mutex,\nso nothing holding either may wait for IO. blkg_conf_prep() got\nGFP_NOIO for the blkg in commit 5d726c4dbeed, but the\nradix_tree_preload() right after it, the policy init functions and the\nGFP_KERNEL fallback in blkcg_activate_policy() can still enter reclaim\nthere. lockdep reports the cycle on the first write to io.max.\n\nUse GFP_NOIO for all of them."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"56ac639d6fa6fbb99caee74ee1c7276fc9bb47ed","status":"affected","lessThan":"af1420828dd88ea79c982f262821cfd30377a88b","versionType":"git"},{"version":"9730763f4756e32520cb86778331465e8d063a8f","status":"affected","lessThan":"bf274719847ecdf1c19a0af3aed087b693033f25","versionType":"git"},{"version":"9730763f4756e32520cb86778331465e8d063a8f","status":"affected","lessThan":"d8d1acc226f1f4b7efd32391f703b2d43521b3cd","versionType":"git"},{"version":"9730763f4756e32520cb86778331465e8d063a8f","status":"affected","lessThan":"045cbfc369f5929ed473f7c200dc2e8146569ce5","versionType":"git"},{"version":"e1729523759cda2c0afb76b1c88e0d2f2ef5b7cb","status":"affected","versionType":"git"},{"version":"6.12.58","status":"affected","lessThan":"6.12.120","versionType":"semver"},{"version":"6.6.117","status":"affected","lessThan":"6.7","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-cgroup.c","block/blk-iocost.c","block/blk-iolatency.c","block/blk-throttle.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["block/blk-cgroup.c","block/blk-iocost.c","block/blk-iolatency.c","block/blk-throttle.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/af1420828dd88ea79c982f262821cfd30377a88b"},{"url":"https://git.kernel.org/stable/c/bf274719847ecdf1c19a0af3aed087b693033f25"},{"url":"https://git.kernel.org/stable/c/d8d1acc226f1f4b7efd32391f703b2d43521b3cd"},{"url":"https://git.kernel.org/stable/c/045cbfc369f5929ed473f7c200dc2e8146569ce5"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:31:58.712Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12.58","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.117"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}