freebsd-dev/sys/arm
Eric van Gyzen 4d5a108409 Prevent kernel stack disclosure in signal delivery
On arm64 and riscv platforms, sendsig() failed to zero the signal
frame before copying it out to userspace.  Zero it.

On arm, I believe all the contents of the frame were initialized,
so there was no disclosure.  However, explicitly zero the whole frame
because that fact could inadvertently change in the future,
it's more clear to the reader, and I could be wrong in the first place.

MFC after:	2 days
Security:	similar to FreeBSD-EN-18:12.mem and CVE-2018-17155
Sponsored by:	Dell EMC Isilon
2018-11-26 20:52:53 +00:00
..
allwinner aw_usbphy: Do not error if it's not phy 0 2018-11-26 14:27:13 +00:00
altera/socfpga Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
amlogic/aml8726 Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
annapurna/alpine Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
arm Prevent kernel stack disclosure in signal delivery 2018-11-26 20:52:53 +00:00
broadcom/bcm2835 Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
cloudabi32
conf Comment MD_ROOT and remove 'device re' which is not part of the system and 2018-11-15 16:29:27 +00:00
freescale use -m ${LD_EMULATION} for binary->elf link invocation 2018-11-09 19:16:01 +00:00
include Add a KPI for the delay while spinning on a spin lock. 2018-11-05 21:34:17 +00:00
mv Set the SPI clock speed and polarity on each transfer to catch up with 2018-11-15 17:05:02 +00:00
nvidia arm64: GENERIC-MMCCAM: Fix build and module depend 2018-08-29 14:01:27 +00:00
qemu Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
ralink Remove PHYSADDR from kernel configurations that don't need it. The only 2018-08-15 13:13:19 +00:00
rockchip Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
samsung/exynos Eliminate kmem_alloc_contig()'s unused arena parameter. 2018-08-20 15:57:27 +00:00
ti omap4_prcm: Delay the frequencies read check 2018-08-30 14:32:47 +00:00
versatile Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
xilinx Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00