Revert "uprobes: fix kernel info leak via "[uprobes]" vma"

This reverts commit 6ec781ea39.
This commit is contained in:
Ksawlii 2024-11-24 00:23:00 +01:00
parent c6f5d8db3c
commit adff2b9a7c

View file

@ -1496,7 +1496,7 @@ static struct xol_area *__create_xol_area(unsigned long vaddr)
area->xol_mapping.name = "[uprobes]"; area->xol_mapping.name = "[uprobes]";
area->xol_mapping.pages = area->pages; area->xol_mapping.pages = area->pages;
area->pages[0] = alloc_page(GFP_HIGHUSER | __GFP_ZERO); area->pages[0] = alloc_page(GFP_HIGHUSER);
if (!area->pages[0]) if (!area->pages[0])
goto free_bitmap; goto free_bitmap;
area->pages[1] = NULL; area->pages[1] = NULL;