linux-bl808/arch/um/kernel
Johannes Berg 47da29763e um: mm: check more comprehensively for stub changes
If userspace tries to change the stub, we need to kill it,
because otherwise it can escape the virtual machine. In a
few cases the stub checks weren't good, e.g. if userspace
just tries to

	mmap(0x100000 - 0x1000, 0x3000, ...)

it could succeed to get a new private/anonymous mapping
replacing the stubs. Fix this by checking everywhere, and
checking for _overlap_, not just direct changes.

Cc: stable@vger.kernel.org
Fixes: 3963333fe6 ("uml: cover stubs with a VMA")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2021-02-12 21:31:08 +01:00
..
skas arch/um: partially revert the conversion to __section() macro 2020-10-26 15:39:37 -07:00
asm-offsets.c
config.c.in
dyn.lds.S
early_printk.c
exec.c
exitcode.c
gmon_syms.c
gprof_syms.c
initrd.c
irq.c um: time-travel: rework interrupt handling in ext mode 2021-02-12 21:24:27 +01:00
kmsg_dump.c um: kmsg_dumper: always dump when not tty console 2021-01-26 22:11:37 +01:00
ksyms.c
maccess.c
Makefile
mem.c
physmem.c
process.c Revert "um: allocate a guard page to helper threads" 2021-01-26 22:11:38 +01:00
ptrace.c
reboot.c
sigio.c um: Support dynamic IRQ allocation 2020-12-13 22:22:08 +01:00
signal.c
stacktrace.c
syscall.c
sysrq.c
time.c um: time-travel: rework interrupt handling in ext mode 2021-02-12 21:24:27 +01:00
tlb.c um: mm: check more comprehensively for stub changes 2021-02-12 21:31:08 +01:00
trap.c
um_arch.c um: stdio_console: Make preferred console 2021-01-26 22:11:37 +01:00
umid.c
uml.lds.S
vmlinux.lds.S