Christian Brauner
9b62fd169e
Extend W^X memory protection mechanism for RestrictFileSystemAccess ( #43511 )
...
Currently `RestrictFileSystemAccess` isn't trying hard enough to enforce
W^X and thus there are still places where an executable and writable
mapping can be created:
* `/proc/<pid>/mem` `FOLL_FORCE` writes
* `PTRACE_POKE{TEXT,DATA}` `FOLL_FORCE` writes
* `MAP_PRIVATE | MAP_EXECUTABLE` memory mappings
Let's block all of these mechanisms. Do note that
`RestrictFileSystemAccess` is still in very active development and also
cannot meaningfully be used on general purpose distros and systems.
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org >
2026-09-01 07:12:13 +02:00
..
2025-11-22 10:19:41 +01:00
2025-10-17 21:11:23 +09:00
2026-05-21 10:33:03 +09:00
2026-01-02 04:05:45 +09:00
2026-07-18 04:56:32 +09:00
2025-12-24 07:37:58 +01:00
2026-04-13 13:20:43 +02:00
2026-04-12 15:27:15 +02:00
2025-12-15 08:50:13 +09:00
2026-08-01 03:23:40 +09:00
2026-08-01 03:23:21 +09:00
2026-08-31 23:33:40 +02:00
2026-08-31 23:33:39 +02:00
2026-07-18 04:56:32 +09:00
2026-07-18 04:56:32 +09:00
2026-05-18 21:42:56 +02:00
2026-05-18 21:42:56 +02:00
2025-10-17 21:11:23 +09:00
2026-07-15 02:18:05 +09:00
2025-12-20 15:50:47 +01:00
2026-01-02 04:05:45 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 16:22:50 +09:00
2026-05-18 21:42:56 +02:00
2025-11-26 16:22:50 +09:00
2026-05-18 12:29:12 +02:00
2025-11-26 16:22:50 +09:00
2026-08-18 06:30:10 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 16:22:50 +09:00
2026-07-13 15:39:17 +02:00
2025-12-18 17:37:26 +01:00
2025-11-26 16:22:50 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 19:02:31 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 16:22:50 +09:00
2026-06-20 12:31:28 +02:00
2025-11-26 16:22:50 +09:00
2026-08-03 14:29:07 +09:00
2025-11-26 16:22:50 +09:00
2026-08-19 02:28:19 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 19:02:31 +09:00
2025-11-26 16:22:50 +09:00
2026-06-22 13:01:17 +01:00
2026-06-22 13:01:17 +01:00
2026-01-19 17:49:29 +01:00
2026-01-06 17:59:10 +01:00
2026-08-18 06:30:10 +09:00
2025-12-15 08:50:13 +09:00
2026-08-18 06:30:10 +09:00
2026-01-02 04:04:19 +09:00
2026-07-02 17:19:18 +02:00
2026-01-02 04:05:45 +09:00
2026-07-31 09:49:41 +02:00
2026-02-10 21:54:12 +01:00
2026-08-31 12:02:58 +02:00
2026-08-15 00:26:40 +09:00
2026-08-18 06:30:10 +09:00
2026-05-21 10:14:08 +01:00
2026-08-28 06:34:45 +09:00
2026-06-22 17:19:54 +02:00
2025-11-04 10:55:04 +01:00
2026-05-18 02:32:39 +09:00
2026-07-02 17:19:18 +02:00
2026-05-21 10:33:03 +09:00
2025-10-16 17:00:29 +02:00
2026-07-01 16:09:27 +02:00
2026-05-05 17:22:26 +02:00
2026-04-28 09:01:54 +02:00
2026-04-27 13:49:24 +02:00
2026-01-02 04:05:45 +09:00
2026-08-31 19:40:33 +09:00
2025-12-15 08:50:13 +09:00
2026-08-03 14:29:07 +09:00
2026-08-15 00:26:40 +09:00
2026-06-23 22:55:23 +02:00
2026-06-30 10:21:18 +01:00
2026-05-15 13:46:08 +01:00
2026-08-28 06:34:45 +09:00
2025-10-17 21:11:23 +09:00
2025-11-26 19:02:31 +09:00
2025-11-26 19:02:31 +09:00
2026-08-31 23:33:40 +02:00
2026-09-01 02:12:52 +09:00
2026-08-31 23:33:40 +02:00
2026-07-10 16:29:53 +09:00
2026-07-18 04:56:32 +09:00
2026-01-02 04:05:45 +09:00
2026-07-31 09:49:41 +02:00
2026-04-10 15:08:02 +02:00
2026-08-05 14:44:25 +01:00
2026-05-21 10:33:03 +09:00
2026-01-02 04:05:45 +09:00
2026-07-01 22:46:45 +01:00
2026-01-02 04:05:45 +09:00
2025-11-26 16:22:50 +09:00
2025-11-26 16:22:50 +09:00
2026-07-18 04:56:32 +09:00
2026-03-20 21:38:08 +01:00
2026-09-01 02:12:52 +09:00
2026-09-01 02:12:52 +09:00
2025-11-26 19:02:31 +09:00
2026-01-02 04:05:45 +09:00
2026-08-03 14:29:07 +09:00
2026-08-03 14:29:07 +09:00
2026-03-30 14:18:56 +02:00
2025-10-17 21:11:23 +09:00
2026-07-31 09:49:41 +02:00
2026-06-23 22:55:23 +02:00
2026-05-13 22:44:52 +01:00
2026-01-02 04:05:45 +09:00
2026-05-15 14:01:57 +09:00
2025-12-15 08:50:13 +09:00
2026-08-01 00:53:33 +09:00
2026-01-02 04:05:45 +09:00
2026-06-23 17:36:03 +01:00
2026-06-22 13:01:17 +01:00
2025-10-17 21:11:23 +09:00
2026-04-12 15:27:15 +02:00
2025-11-26 19:02:31 +09:00
2026-05-06 12:04:51 +01:00
2025-11-26 19:02:31 +09:00
2026-09-01 02:12:52 +09:00
2026-09-01 02:12:52 +09:00
2026-05-15 14:01:57 +09:00
2026-04-16 02:15:52 -07:00
2026-04-16 02:15:52 -07:00
2026-05-18 21:42:56 +02:00
2025-10-17 21:11:23 +09:00
2026-05-15 00:02:01 -07:00
2026-05-15 00:02:01 -07:00
2026-03-29 20:32:15 +02:00
2025-10-17 21:11:23 +09:00
2026-06-28 13:40:07 +09:00
2026-07-15 02:18:05 +09:00
2026-05-19 11:05:55 +02:00
2026-05-19 11:05:55 +02:00
2026-04-15 23:37:55 -07:00
2026-04-15 23:37:55 -07:00
2026-07-13 15:39:17 +02:00
2026-03-26 15:21:10 +01:00
2026-07-02 17:01:02 +01:00
2026-02-16 09:44:57 +01:00
2026-04-16 02:15:52 -07:00
2026-04-16 02:15:52 -07:00
2026-05-11 03:03:32 -07:00
2026-05-11 03:03:32 -07:00
2026-05-12 08:51:26 -07:00
2026-05-11 04:32:03 -07:00
2026-06-20 12:31:28 +02:00
2026-05-15 00:02:01 -07:00
2026-05-12 08:55:33 -07:00
2026-05-12 08:55:33 -07:00
2026-05-11 04:32:14 -07:00
2026-05-11 04:32:14 -07:00
2026-05-12 08:51:26 -07:00
2026-05-11 04:32:14 -07:00
2026-07-25 15:35:28 +09:00
2026-04-27 13:49:24 +02:00
2026-07-12 23:09:01 +02:00
2026-02-16 09:44:58 +01:00