[php-src] Issue #13020: php-fpm @boot: "memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL"

From: Date: Sun, 24 Dec 2023 15:24:53 +0000
Subject: [php-src] Issue #13020: php-fpm @boot: "memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL"
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-246121@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/13020 Author: pgnd ### Description since linux kernel v6.3, need to be aware of two new memfd_create() flags MFD_EXEC and MFD_NOEXEC_SEAL. on ``` lsb_release -rd Description: Fedora release 39 (Thirty Nine) Release: 39 uname -rm 6.6.7-200.fc39.x86_64 x86_64 ``` with ``` php-fpm --version PHP 8.3.1 (fpm-fcgi) (built: Dec 20 2023 12:44:38) Copyright (c) The PHP Group Zend Engine v4.3.1, Copyright (c) Zend Technologies with Zend OPcache v8.3.1, Copyright (c), by Zend Technologies with Xdebug v3.3.1, Copyright (c) 2002-2023, by Derick Rethans systemctl status php-fpm ● php-fpm.service - php-fpm server Loaded: loaded (/etc/systemd/system/php-fpm.service; enabled; preset: disabled) Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf Active: active (running) since Sun 2023-12-24 10:03:21 EST; 3min 7s ago Main PID: 791 (php-fpm) Tasks: 1 (limit: 2317) Memory: 56.6M CPU: 91ms CGroup: /system.slice/php-fpm.service └─791 "php-fpm: master process (/usr/local/etc/php8/php-fpm.conf)" ``` on boot, ``` dmesg | grep "php-fpm\[" [ 7.372236] php-fpm[791]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set ``` refs, Started to get "memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL" https://bugzilla.kernel.org/show_bug.cgi?id=217508 [PATCH v5 3/6] mm/memfd: add MFD_NOEXEC_SEAL and MFD_EXEC https://lkml.org/lkml/2022/12/6/679 memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL https://gitlab.freedesktop.org/xorg/xserver/-/issues/1553 ### PHP Version PHP 8.3.1 ### Operating System Fedora release 39 (Thirty Nine)

« previous php.bugs (#246121) next »