mtd: block: prevent reclaim I/O during request processing

Summary

CVECVE-2026-139614
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:19:43 UTC
Updated2026-11-30 14:19:43 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: mtd: block: prevent reclaim I/O during request processing The blktrans request callbacks run under dev->lock and may allocate memory with GFP_KERNEL. For example, mtdblock_writesect() uses vmalloc() to allocate its eraseblock cache. Direct reclaim can then recurse into block I/O and deadlock on resources held by the request being processed. syzbot reports a circular locking dependency involving the device mutex and fs_reclaim. Commit d5ba1c8ffd0b ("mtd: don't use PF_MEMALLOC") removed PF_MEMALLOC from the MTD request thread. That flag had prevented direct reclaim, so its removal made allocations during request processing eligible for reclaim without excluding I/O. Wrap request processing in mtd_queue_rq() in a NOIO scope. This covers both the request and background callbacks, including allocations made by lower MTD drivers, and prevents reclaim from initiating filesystem or block I/O.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 7bf9b7abd92cfd237003c1587dd24aef7d15ee8f git Not specified
CNA Linux Linux affected d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 940c60048d8b0c93ca798418cdc996d076c42b5b git Not specified
CNA Linux Linux affected d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a git Not specified
CNA Linux Linux affected d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 f791e81b0811cc9d233da667e48923aa96823a08 git Not specified
CNA Linux Linux affected d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 2ff609c66f9d6cd9f2462186331343d97e18a6aa git Not specified
CNA Linux Linux affected d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 b9474d60eba5e8b73ec51a791c34cb0adb0a1649 git Not specified
CNA Linux Linux affected d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 f1ce933dffb4e051a41e66bc77eb022d9d0fce5b git Not specified
CNA Linux Linux affected d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 d498b2ddda99eed28cde177b1620dbcea246a1c4 git Not specified
CNA Linux Linux affected 2.6.33 Not specified
CNA Linux Linux unaffected 2.6.33 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/f1ce933dffb4e051a41e66bc77eb022d9d0fce5b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7bf9b7abd92cfd237003c1587dd24aef7d15ee8f 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b9474d60eba5e8b73ec51a791c34cb0adb0a1649 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/f791e81b0811cc9d233da667e48923aa96823a08 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d498b2ddda99eed28cde177b1620dbcea246a1c4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/940c60048d8b0c93ca798418cdc996d076c42b5b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2ff609c66f9d6cd9f2462186331343d97e18a6aa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report