On Thu, Sep 03, 2020 at 04:25:37PM +0300, Kirill A. Shutemov wrote: > IIUC, it gives userspace direct control of content of /proc/$PID/maps and > /proc/$PID/smaps. There's no verification of the given string whatsoever. > I'm sure security experts would find clever usage of the feature :P What, you think that naming a VMA "\n55bc3e0f9000-55bc3e0fb000 r--p 00000000 fd:01 16777285 /bin/cat" might cause problems? Would it be enough to restrict the characters to isalnum()?