Revision f7dc4c9a855a13dbb33294c9fc94f17af03f6291 authored by John Johansen on 08 November 2017, 16:09:52 UTC, committed by Linus Torvalds on 08 November 2017, 18:56:22 UTC
This came in yesterday, and I have verified our regression tests
were missing this and it can cause an oops. Please apply.

There is a an off-by-one comparision on sig against MAXMAPPED_SIG
that can lead to a read outside the sig_map array if sig
is MAXMAPPED_SIG. Fix this.

Verified that the check is an out of bounds case that can cause an oops.

Revised: add comparison fix to second case
Fixes: cd1dbf76b23d ("apparmor: add the ability to mediate signals")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent fbc3edf
History
File Mode Size
Kconfig -rw-r--r-- 2.8 KB
Makefile -rw-r--r-- 823 bytes
README -rw-r--r-- 956 bytes
TODO -rw-r--r-- 96 bytes
bcma_private.h -rw-r--r-- 6.2 KB
core.c -rw-r--r-- 3.6 KB
driver_chipcommon.c -rw-r--r-- 10.3 KB
driver_chipcommon_b.c -rw-r--r-- 1.4 KB
driver_chipcommon_nflash.c -rw-r--r-- 1.1 KB
driver_chipcommon_pflash.c -rw-r--r-- 1.1 KB
driver_chipcommon_pmu.c -rw-r--r-- 19.3 KB
driver_chipcommon_sflash.c -rw-r--r-- 4.2 KB
driver_gmac_cmn.c -rw-r--r-- 265 bytes
driver_gpio.c -rw-r--r-- 5.5 KB
driver_mips.c -rw-r--r-- 9.9 KB
driver_pci.c -rw-r--r-- 8.2 KB
driver_pci_host.c -rw-r--r-- 17.5 KB
driver_pcie2.c -rw-r--r-- 5.6 KB
host_pci.c -rw-r--r-- 9.8 KB
host_soc.c -rw-r--r-- 5.5 KB
main.c -rw-r--r-- 16.5 KB
scan.c -rw-r--r-- 14.0 KB
scan.h -rw-r--r-- 1.7 KB
sprom.c -rw-r--r-- 20.9 KB

README

back to top