File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Documentation/userspace-api Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,26 @@ Use cases
130
130
131
131
- Chrome browser: protect some security sensitive data structures.
132
132
133
+ - System mappings:
134
+ The system mappings are created by the kernel and includes vdso, vvar,
135
+ vvar_vclock, vectors (arm compat-mode), sigpage (arm compat-mode), uprobes.
136
+
137
+ Those system mappings are readonly only or execute only, memory sealing can
138
+ protect them from ever changing to writable or unmmap/remapped as different
139
+ attributes. This is useful to mitigate memory corruption issues where a
140
+ corrupted pointer is passed to a memory management system.
141
+
142
+ If supported by an architecture (CONFIG_ARCH_SUPPORTS_MSEAL_SYSTEM_MAPPINGS),
143
+ the CONFIG_MSEAL_SYSTEM_MAPPINGS seals all system mappings of this
144
+ architecture.
145
+
146
+ The following architectures currently support this feature: x86-64 and arm64.
147
+
148
+ WARNING: This feature breaks programs which rely on relocating
149
+ or unmapping system mappings. Known broken software at the time
150
+ of writing includes CHECKPOINT_RESTORE, UML, gVisor, rr. Therefore
151
+ this config can't be enabled universally.
152
+
133
153
When not to use mseal
134
154
=====================
135
155
Applications can apply sealing to any virtual memory region from userspace,
You can’t perform that action at this time.
0 commit comments