# CVE-2026-139614: mtd: block: prevent reclaim I/O during request processing

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-30T13:36:22.782Z
- Modified: 2026-11-30T14:19:43.973Z
- Assigned by: Linux

## Description

In 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 before 7bf9b7abd92cfd237003c1587dd24aef7d15ee8f; from d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 before 940c60048d8b0c93ca798418cdc996d076c42b5b; from d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 before dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a; from d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 before f791e81b0811cc9d233da667e48923aa96823a08; from d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 before 2ff609c66f9d6cd9f2462186331343d97e18a6aa; from d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 before b9474d60eba5e8b73ec51a791c34cb0adb0a1649; from d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 before f1ce933dffb4e051a41e66bc77eb022d9d0fce5b; from d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3 before d498b2ddda99eed28cde177b1620dbcea246a1c4; 2.6.33 (not affected: before 2.6.33; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/7bf9b7abd92cfd237003c1587dd24aef7d15ee8f>
- <https://git.kernel.org/stable/c/940c60048d8b0c93ca798418cdc996d076c42b5b>
- <https://git.kernel.org/stable/c/dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a>
- <https://git.kernel.org/stable/c/f791e81b0811cc9d233da667e48923aa96823a08>
- <https://git.kernel.org/stable/c/2ff609c66f9d6cd9f2462186331343d97e18a6aa>
- <https://git.kernel.org/stable/c/b9474d60eba5e8b73ec51a791c34cb0adb0a1649>
- <https://git.kernel.org/stable/c/f1ce933dffb4e051a41e66bc77eb022d9d0fce5b>
- <https://git.kernel.org/stable/c/d498b2ddda99eed28cde177b1620dbcea246a1c4>

## Sources

- CVE List: [CVE-2026-139614](https://www.cve.org/CVERecord?id=CVE-2026-139614), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139614](https://nvd.nist.gov/vuln/detail/CVE-2026-139614), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139614 · Whole record: https://cve.day/CVE-2026-139614.json · Rebuilt by cve.day 2026-11-30T14:33:14.564Z
