mseal ()
Functionality Introduces mseal (), a new syscall for the Linux kernel . Protects Virtual Memory Areas (VMAs) from unauthorized modifications.

Introduction of mseal ¶ Author Jeff Xu <jeffxu @ chromium. org> Modern CPUs support memory permissions such as RW and NX bits. The memory permission feature improves security stance on memory corruption bugs, i.e. the attacker can't just write to arbitrary memory and point the code to it, the memory has to be marked with X bit, or else an exception will happen. Memory sealing additionally ...
Introduction of mseal The Linux Kernel documentation
Introduction of mseal ¶ Author: Jeff Xu <jeffxu @ chromium. org> Modern CPUs support memory permissions such as RW and NX bits. The memory permission feature improves security stance on memory corruption bugs, i.e. the attacker can't just write to arbitrary memory and point the code to it, the memory has to be marked with X bit, or else an exception will happen. Memory sealing additionally ...
Linux 6.10 has been released on Sunday, 14 Jul 2024 Summary: This release includes the new mseal (2) system call to protect memory from unwanted modificatiosn; NT synchronization primitives that allow better compatibility and performance with Windows; a memory profiler for the kernel ; support for integrity and security to TPM2 transactions; multi-size THP numa balancing; posted interrupts for ...

Useful Notes on Mseal Enhancing Memory Security In Linux Kernel 6 10
Memory sealing can automatically be applied by the runtime loader to seal .text and .rodata pages and applications can additionally seal security critical data at runtime. A similar feature already exists in the XNU kernel with the VM_FLAGS_PERMANENT flag [1] and on OpenBSD with the mimmutable syscall [2].
The mseal system call is designed to be used by the likes of the GNU C Library "glibc" while loading ELF executables to seal non-writable memory segments or by the Google Chrome web browser and other browsers for protecting security sensitive data structures.

Memory Sealing 'mseal' System Call Merged For Linux 6.10
"Merged this Friday evening into the Linux 6.10 kernel is the new mseal () system call for memory sealing," reports Phoronix: The mseal system call was led by Jeff Xu of Google's Chrome team. The goal with memory sealing is to also protect the memory mapping itself against modification. The new msea...
The Linux kernel 6.10 introduced the mseal system call in 2024, enabling secure memory sealing. This feature aims to prevent any unauthorized modification, relocation, or deletion of memory segments during process execution.
Memory Sealing mseal System Call Merged For Linux 6.10
The memory sealing system call was originally presented last October and since then has gone through a number of revisions. Initially Linus Torvalds had some reservations around mseal but ultimately all of that was worked out and the code has now been merged upstream. The mseal system call landed a short time ago in Linux 6.10 Git via this merge.




Linux kernel source tree. Contribute to torvalds/ linux development by creating an account on GitHub.