Re: [PATCH] exec: allow executing block devices
From: Kees Cook
Date: Wed Oct 11 2023 - 11:59:22 EST
On Wed, Oct 11, 2023 at 07:38:39AM +0000, Alyssa Ross wrote:
> Is it possible to have a file-backed memfd? Strange name if so!
Not that I'm aware, but a program could just read the ELF from the block
device and stick it in a memfd and execute the result.
--
Kees Cook