[PATCH RFC 40/41] erofs: refuse files on pseudo filesystems as backing files

Gao Xiang xiang at kernel.org
Tue Nov 10 12:45:52 PST 2026


On Tue, Nov 10, 2026 at 10:14:56AM +0100, Christian Brauner wrote:
> File-backed mounts take any regular file as the image and the same goes
> for the extra devices of such a mount. erofs reads them with the
> credentials of the mounter so this doesn't hand out anything the mounter
> couldn't read anyway. But files on pseudo filesystems aren't images.
> Refuse them just like loop does.
> 
> Signed-off-by: Christian Brauner (Amutable) <brauner at kernel.org>

Reviewed-by: Gao Xiang <xiang at kernel.org>

Thanks,
Gao Xiang



More information about the Linux-nvme mailing list