kernel: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I would like to report the call to memfd_create in `src/libbpf.c` does
not specify MFD_NOEXEC_SEAL on newer kernels that allow
this feature, which is used to prevent code execution on the memory
area. It only specifies MFD_CLOEXEC.

This is reflected in the kernel logs:
[    4.853311] systemd[1]: memfd_create() called without MFD_EXEC or
MFD_NOEXEC_SEAL set

There is a similar patch in wayland for checking and versioning this
flag: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/343/

Thanks!
btdmaster




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux