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 |
---|---|---|
event | ||
Kconfig | -rw-r--r-- | 4.3 KB |
Makefile | -rw-r--r-- | 678 bytes |
devfreq-event.c | -rw-r--r-- | 12.0 KB |
devfreq.c | -rw-r--r-- | 36.7 KB |
exynos-bus.c | -rw-r--r-- | 13.7 KB |
governor.h | -rw-r--r-- | 2.8 KB |
governor_passive.c | -rw-r--r-- | 5.5 KB |
governor_performance.c | -rw-r--r-- | 1.5 KB |
governor_powersave.c | -rw-r--r-- | 1.4 KB |
governor_simpleondemand.c | -rw-r--r-- | 3.5 KB |
governor_userspace.c | -rw-r--r-- | 3.6 KB |
rk3399_dmc.c | -rw-r--r-- | 13.2 KB |
tegra-devfreq.c | -rw-r--r-- | 20.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...