{"id":"CVE-2026-139614","aliases":["CVE-2026-139614"],"related":[],"kind":"vulnerability","state":"published","title":"mtd: block: prevent reclaim I/O during request processing","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: block: prevent reclaim I/O during request processing\n\nThe blktrans request callbacks run under dev->lock and may allocate\nmemory with GFP_KERNEL. For example, mtdblock_writesect() uses vmalloc()\nto allocate its eraseblock cache. Direct reclaim can then recurse into\nblock I/O and deadlock on resources held by the request being processed.\nsyzbot reports a circular locking dependency involving the device mutex\nand fs_reclaim.\n\nCommit d5ba1c8ffd0b (\"mtd: don't use PF_MEMALLOC\") removed PF_MEMALLOC\nfrom the MTD request thread. That flag had prevented direct reclaim,\nso its removal made allocations during request processing eligible for\nreclaim without excluding I/O.\n\nWrap request processing in mtd_queue_rq() in a NOIO scope. This covers\nboth the request and background callbacks, including allocations made\nby lower MTD drivers, and prevents reclaim from initiating filesystem\nor block I/O.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: block: prevent reclaim I/O during request processing\n\nThe blktrans request callbacks run under dev->lock and may allocate\nmemory with GFP_KERNEL. For example, mtdblock_writesect() uses vmalloc()\nto allocate its eraseblock cache. Direct reclaim can then recurse into\nblock I/O and deadlock on resources held by the request being processed.\nsyzbot reports a circular locking dependency involving the device mutex\nand fs_reclaim.\n\nCommit d5ba1c8ffd0b (\"mtd: don't use PF_MEMALLOC\") removed PF_MEMALLOC\nfrom the MTD request thread. That flag had prevented direct reclaim,\nso its removal made allocations during request processing eligible for\nreclaim without excluding I/O.\n\nWrap request processing in mtd_queue_rq() in a NOIO scope. This covers\nboth the request and background callbacks, including allocations made\nby lower MTD drivers, and prevents reclaim from initiating filesystem\nor block I/O.","source":"cvelist"}],"published":"2026-11-30T13:36:22.782Z","modified":"2026-11-30T14:19:43.973Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3","fixed":"7bf9b7abd92cfd237003c1587dd24aef7d15ee8f","status":"affected"},{"type":"git","introduced":"d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3","fixed":"940c60048d8b0c93ca798418cdc996d076c42b5b","status":"affected"},{"type":"git","introduced":"d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3","fixed":"dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a","status":"affected"},{"type":"git","introduced":"d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3","fixed":"f791e81b0811cc9d233da667e48923aa96823a08","status":"affected"},{"type":"git","introduced":"d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3","fixed":"2ff609c66f9d6cd9f2462186331343d97e18a6aa","status":"affected"},{"type":"git","introduced":"d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3","fixed":"b9474d60eba5e8b73ec51a791c34cb0adb0a1649","status":"affected"},{"type":"git","introduced":"d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3","fixed":"f1ce933dffb4e051a41e66bc77eb022d9d0fce5b","status":"affected"},{"type":"git","introduced":"d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3","fixed":"d498b2ddda99eed28cde177b1620dbcea246a1c4","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.33","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.33","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.119","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7bf9b7abd92cfd237003c1587dd24aef7d15ee8f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/940c60048d8b0c93ca798418cdc996d076c42b5b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f791e81b0811cc9d233da667e48923aa96823a08","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ff609c66f9d6cd9f2462186331343d97e18a6aa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9474d60eba5e8b73ec51a791c34cb0adb0a1649","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f1ce933dffb4e051a41e66bc77eb022d9d0fce5b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d498b2ddda99eed28cde177b1620dbcea246a1c4","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139614","url":"https://www.cve.org/CVERecord?id=CVE-2026-139614","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:22.782Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139614","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139614","licence":"Public domain","modified":"2026-11-30T14:19:43.973Z"}],"updatedAt":"2026-11-30T14:33:14.564Z","epss":{"score":0.0022,"percentile":0.13275,"date":"2026-12-01T12:00:22.000Z"}}