CVE-2026-143339: erofs: apply the stacked fs check to extra file-backed devices
In the Linux kernel, the following vulnerability has been resolved:
erofs: apply the stacked fs check to extra file-backed devices
erofsfcfillsuper() rejects a file-backed mount whose image is on a file-backed EROFS or on a filesystem with sstackdepth set. This bounds the nesting of reads. Extra devices given by device= are not checked. File-backed mounts can still nest through them without limit.
Apply the same check to extra devices.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to unbounded nesting?
File-backed EROFS mounts that use extra devices specified through device= are exposed when an extra device is itself backed by a file on a file-backed EROFS filesystem or on a filesystem with s_stack_depth set.
What is required to trigger the issue?
The issue requires nesting file-backed mounts through an extra device. The existing stacked-filesystem check covered the primary file-backed mount image but did not cover extra devices.
How can I determine whether a mount uses the affected path?
Review file-backed EROFS mounts that specify extra devices with device=. Check whether any referenced extra-device image resides on a file-backed EROFS filesystem or another filesystem with s_stack_depth set.