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
File | Mode | Size |
---|---|---|
aspeed | ||
bcm | ||
berlin | ||
freescale | ||
intel | ||
mediatek | ||
meson | ||
mvebu | ||
nomadik | ||
pxa | ||
qcom | ||
samsung | ||
sh-pfc | ||
sirf | ||
spear | ||
sprd | ||
stm32 | ||
sunxi | ||
tegra | ||
ti | ||
uniphier | ||
vt8500 | ||
zte | ||
Kconfig | -rw-r--r-- | 9.4 KB |
Makefile | -rw-r--r-- | 2.7 KB |
core.c | -rw-r--r-- | 56.4 KB |
core.h | -rw-r--r-- | 8.3 KB |
devicetree.c | -rw-r--r-- | 10.8 KB |
devicetree.h | -rw-r--r-- | 1.7 KB |
pinconf-generic.c | -rw-r--r-- | 12.0 KB |
pinconf.c | -rw-r--r-- | 15.8 KB |
pinconf.h | -rw-r--r-- | 3.3 KB |
pinctrl-adi2-bf54x.c | -rw-r--r-- | 16.6 KB |
pinctrl-adi2-bf60x.c | -rw-r--r-- | 14.9 KB |
pinctrl-adi2.c | -rw-r--r-- | 28.4 KB |
pinctrl-adi2.h | -rw-r--r-- | 1.8 KB |
pinctrl-amd.c | -rw-r--r-- | 24.4 KB |
pinctrl-amd.h | -rw-r--r-- | 6.6 KB |
pinctrl-artpec6.c | -rw-r--r-- | 25.1 KB |
pinctrl-as3722.c | -rw-r--r-- | 17.2 KB |
pinctrl-at91-pio4.c | -rw-r--r-- | 30.5 KB |
pinctrl-at91.c | -rw-r--r-- | 48.5 KB |
pinctrl-at91.h | -rw-r--r-- | 3.5 KB |
pinctrl-coh901.c | -rw-r--r-- | 20.5 KB |
pinctrl-coh901.h | -rw-r--r-- | 237 bytes |
pinctrl-da850-pupd.c | -rw-r--r-- | 5.3 KB |
pinctrl-digicolor.c | -rw-r--r-- | 8.7 KB |
pinctrl-falcon.c | -rw-r--r-- | 14.6 KB |
pinctrl-gemini.c | -rw-r--r-- | 68.1 KB |
pinctrl-ingenic.c | -rw-r--r-- | 29.1 KB |
pinctrl-lantiq.c | -rw-r--r-- | 8.8 KB |
pinctrl-lantiq.h | -rw-r--r-- | 3.6 KB |
pinctrl-lpc18xx.c | -rw-r--r-- | 42.1 KB |
pinctrl-max77620.c | -rw-r--r-- | 18.0 KB |
pinctrl-mcp23s08.c | -rw-r--r-- | 28.5 KB |
pinctrl-oxnas.c | -rw-r--r-- | 36.2 KB |
pinctrl-palmas.c | -rw-r--r-- | 32.6 KB |
pinctrl-pic32.c | -rw-r--r-- | 81.3 KB |
pinctrl-pic32.h | -rw-r--r-- | 3.0 KB |
pinctrl-pistachio.c | -rw-r--r-- | 40.7 KB |
pinctrl-rk805.c | -rw-r--r-- | 12.3 KB |
pinctrl-rockchip.c | -rw-r--r-- | 87.4 KB |
pinctrl-rza1.c | -rw-r--r-- | 33.4 KB |
pinctrl-single.c | -rw-r--r-- | 45.4 KB |
pinctrl-st.c | -rw-r--r-- | 47.0 KB |
pinctrl-sx150x.c | -rw-r--r-- | 28.9 KB |
pinctrl-tb10x.c | -rw-r--r-- | 27.0 KB |
pinctrl-tz1090-pdc.c | -rw-r--r-- | 24.7 KB |
pinctrl-tz1090.c | -rw-r--r-- | 53.1 KB |
pinctrl-u300.c | -rw-r--r-- | 36.1 KB |
pinctrl-utils.c | -rw-r--r-- | 3.8 KB |
pinctrl-utils.h | -rw-r--r-- | 1.7 KB |
pinctrl-xway.c | -rw-r--r-- | 65.3 KB |
pinctrl-zynq.c | -rw-r--r-- | 42.7 KB |
pinmux.c | -rw-r--r-- | 21.1 KB |
pinmux.h | -rw-r--r-- | 4.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...