Skip to content

Commit 190ecde

Browse files
committed
Merge tag 'probes-fixes-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull probes fix from Masami Hiramatsu: - uprobes: fix kernel info leak via "[uprobes]" vma Fix uprobes not to expose the uninitialized page for trampoline buffer to user space, which can leak kernel info. * tag 'probes-fixes-v6.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: uprobes: fix kernel info leak via "[uprobes]" vma
2 parents a5f24c7 + 3482030 commit 190ecde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/events/uprobes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ static struct xol_area *__create_xol_area(unsigned long vaddr)
15451545
if (!area->bitmap)
15461546
goto free_area;
15471547

1548-
area->page = alloc_page(GFP_HIGHUSER);
1548+
area->page = alloc_page(GFP_HIGHUSER | __GFP_ZERO);
15491549
if (!area->page)
15501550
goto free_bitmap;
15511551

0 commit comments

Comments
 (0)