{"id":"CVE-2026-139614","summary":"mtd: block: prevent reclaim I/O during request processing","details":"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-\u003elock 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.","modified":"2026-12-01T21:02:34.826393392Z","published":"2026-11-30T13:36:22.782Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139614.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2ff609c66f9d6cd9f2462186331343d97e18a6aa"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7bf9b7abd92cfd237003c1587dd24aef7d15ee8f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/940c60048d8b0c93ca798418cdc996d076c42b5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b9474d60eba5e8b73ec51a791c34cb0adb0a1649"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d498b2ddda99eed28cde177b1620dbcea246a1c4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f1ce933dffb4e051a41e66bc77eb022d9d0fce5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f791e81b0811cc9d233da667e48923aa96823a08"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139614.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139614"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3"},{"fixed":"7bf9b7abd92cfd237003c1587dd24aef7d15ee8f"},{"fixed":"940c60048d8b0c93ca798418cdc996d076c42b5b"},{"fixed":"dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a"},{"fixed":"f791e81b0811cc9d233da667e48923aa96823a08"},{"fixed":"2ff609c66f9d6cd9f2462186331343d97e18a6aa"},{"fixed":"b9474d60eba5e8b73ec51a791c34cb0adb0a1649"},{"fixed":"f1ce933dffb4e051a41e66bc77eb022d9d0fce5b"},{"fixed":"d498b2ddda99eed28cde177b1620dbcea246a1c4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139614.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.33"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139614.json"}}],"schema_version":"1.9.2"}