Security mailing lists by PureSourceCode

CVE-2026-139614

not scored yet

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

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.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3, < 7bf9b7abd92cfd237003c1587dd24aef7d15ee8f; >= d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3, < 940c60048d8b0c93ca798418cdc996d076c42b5b; >= d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3, < dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a; >= d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3, < f791e81b0811cc9d233da667e48923aa96823a08; >= d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3, < 2ff609c66f9d6cd9f2462186331343d97e18a6aa; >= d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3, < b9474d60eba5e8b73ec51a791c34cb0adb0a1649; >= d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3, < f1ce933dffb4e051a41e66bc77eb022d9d0fce5b; >= d5ba1c8ffd0b7d38e1fac48184637e6d6c1197d3, < d498b2ddda99eed28cde177b1620dbcea246a1c4 7bf9b7abd92cfd237003c1587dd24aef7d15ee8f, 940c60048d8b0c93ca798418cdc996d076c42b5b, dc188de1ba3e10f8c234b5bc3c64e2d0159cbf7a, f791e81b0811cc9d233da667e48923aa96823a08, 2ff609c66f9d6cd9f2462186331343d97e18a6aa, b9474d60eba5e8b73ec51a791c34cb0adb0a1649, f1ce933dffb4e051a41e66bc77eb022d9d0fce5b, d498b2ddda99eed28cde177b1620dbcea246a1c4
CVE List Linux Linux = 2.6.33

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.