Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'x86_urgent_for_v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 fix from Borislav Petkov:
"Fix an out-of-bounds memory access when setting up a crash kernel with
kexec"

* tag 'x86_urgent_for_v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access

+1 -1
+1 -1
arch/x86/kernel/crash.c
··· 337 337 struct crash_memmap_data cmd; 338 338 struct crash_mem *cmem; 339 339 340 - cmem = vzalloc(sizeof(struct crash_mem)); 340 + cmem = vzalloc(struct_size(cmem, ranges, 1)); 341 341 if (!cmem) 342 342 return -ENOMEM; 343 343