kernel: fix CVE-2016-5159 (Dirty COW)

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2016-10-22 20:20:22 +02:00
parent ed7a7f77db
commit 4bdbf22ee4
2 changed files with 100 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
CFLAGS =
CXXFLAGS =
PAK_VER = 72
PAK_VER = 73
DEPS = ""
KERNEL_ARCH = $(MACHINE)
@@ -206,6 +206,9 @@ ifneq "$(KCFG)" "-headers"
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/0100-crypto-aesni-Add-support-for-192-256-bit-keys-to-AES.patch
endif
# fix CVE-2016-5195 (Dirty COW)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/0110-mm-remove-gup_flags-FOLL_WRITE-games-from-__get_user.patch
# fix empty symbol crc's
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-genksyms_fix_typeof_handling.patch