mirror of https://github.com/torvalds/linux.git
Add a NULL-pointer check after the kcalloc() call in init_vdso(). If
allocation fails, return -ENOMEM to prevent a possible dereference of
vdso_info.code_mapping.pages when it is NULL.
Cc: stable@vger.kernel.org
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| Makefile.syscalls | ||
| access-helper.h | ||
| acpi.c | ||
| alternative.c | ||
| asm-offsets.c | ||
| cacheinfo.c | ||
| cpu-probe.c | ||
| crash_dump.c | ||
| dma.c | ||
| efi-header.S | ||
| efi.c | ||
| elf.c | ||
| entry.S | ||
| env.c | ||
| fpu.S | ||
| ftrace.c | ||
| ftrace_dyn.c | ||
| genex.S | ||
| head.S | ||
| hw_breakpoint.c | ||
| idle.c | ||
| image-vars.h | ||
| inst.c | ||
| irq.c | ||
| jump_label.c | ||
| kdebugfs.c | ||
| kfpu.c | ||
| kgdb.c | ||
| kprobes.c | ||
| lbt.S | ||
| machine_kexec.c | ||
| mcount.S | ||
| mcount_dyn.S | ||
| mem.c | ||
| module-sections.c | ||
| module.c | ||
| numa.c | ||
| paravirt.c | ||
| perf_event.c | ||
| perf_regs.c | ||
| proc.c | ||
| process.c | ||
| ptrace.c | ||
| relocate.c | ||
| relocate_kernel.S | ||
| reset.c | ||
| rethook.c | ||
| rethook.h | ||
| rethook_trampoline.S | ||
| setup.c | ||
| signal.c | ||
| smp.c | ||
| stacktrace.c | ||
| switch.S | ||
| syscall.c | ||
| sysrq.c | ||
| time.c | ||
| topology.c | ||
| traps.c | ||
| unaligned.c | ||
| unwind.c | ||
| unwind_guess.c | ||
| unwind_orc.c | ||
| unwind_prologue.c | ||
| uprobes.c | ||
| vdso.c | ||
| vmlinux.lds.S | ||