]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/um/vdso: Panic when vDSO can not be allocated
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 13 Oct 2025 10:40:20 +0000 (12:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 27 Oct 2025 14:12:06 +0000 (15:12 +0100)
commit12fe820fae37b95dd55c226346b7ed3fbebac79c
tree2dca87ea0d97c4b44a631246d3b69f7aa803affd
parent8c0fbd6ae408448a41f7ea6ad4872efc971349db
x86/um/vdso: Panic when vDSO can not be allocated

The vDSO address is added to the userspace auxiliary vectors even if the
vDSO was not allocated. When accessing the page, userspace processes
will crash.

Enforce that the allocation works.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://patch.msgid.link/20251013-uml-vdso-cleanup-v1-3-a079c7adcc69@weissschuh.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/x86/um/vdso/vma.c