linux_4_8: add patch to fix CVE-2016-9919

Changed files
+11
pkgs
os-specific
linux
kernel
top-level
+10
pkgs/os-specific/linux/kernel/patches.nix
···
sha256 = "19viqjjgq8j8jiz5yhgmzwhqvhwv175q645qdazd1k69d25nv2ki";
};
};
}
···
sha256 = "19viqjjgq8j8jiz5yhgmzwhqvhwv175q645qdazd1k69d25nv2ki";
};
};
+
+
panic_on_icmp6_frag_CVE_2016_9919 = rec
+
{ name = "panic_on_icmp6_frag_CVE_2016_9919.patch";
+
patch = fetchpatch {
+
inherit name;
+
url = "https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/patch/?id=79dc7e3f1cd323be4c81aa1a94faa1b3ed987fb2";
+
sha256 = "0mps33r4mnwiy0bmgrzgqkrk59yya17v6kzpv9024g4xlz61rk8p";
+
};
+
};
+
}
+1
pkgs/top-level/all-packages.nix
···
# !!! 4.7 patch doesn't apply, 4.8 patch not up yet, will keep checking
# kernelPatches.cpu-cgroup-v2."4.7"
kernelPatches.modinst_arg_list_too_long
]
++ lib.optionals ((platform.kernelArch or null) == "mips")
[ kernelPatches.mips_fpureg_emu
···
# !!! 4.7 patch doesn't apply, 4.8 patch not up yet, will keep checking
# kernelPatches.cpu-cgroup-v2."4.7"
kernelPatches.modinst_arg_list_too_long
+
kernelPatches.panic_on_icmp6_frag_CVE_2016_9919
]
++ lib.optionals ((platform.kernelArch or null) == "mips")
[ kernelPatches.mips_fpureg_emu