KSPP / linux

Linux kernel source tree (Kernel Self Protection Project)
https://kernsec.org/wiki/index.php/Kernel_Self_Protection_Project
Other
84 stars 5 forks source link

keep slab allocations separate from page allocator allocations #138

Open kees opened 3 years ago

kees commented 3 years ago

It's possible to create top-level allocator type confusions when a dangling pointer (created via a slab-based UAF) ends up reallocated by the page allocator (e.g. as a VFS cache page, a Page Table Entry, etc). Memory Tagging or virtual address range separation needs to be used to block the "reuse" of the dangling pointer.