tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
linux: patch CVE-2017-1000364 (stack clash)
Franz Pletz
8 years ago
aab71b31
16aa9230
+21
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
kernel
patches.nix
top-level
all-packages.nix
+19
pkgs/os-specific/linux/kernel/patches.nix
···
156
sha256 = "10dmv3d3gj8rvj9h40js4jh8xbr5wyaqiy0kd819mya441mj8ll2";
157
};
158
};
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
159
}
···
156
sha256 = "10dmv3d3gj8rvj9h40js4jh8xbr5wyaqiy0kd819mya441mj8ll2";
157
};
158
};
159
+
160
+
# CVE-2017-1000364 (stack clash)
161
+
mm_larger_stack_guard_gap_4_9 = rec
162
+
{ name = "mm-larger-stack-guard-gap-between-vmas.patch";
163
+
patch = fetchpatch {
164
+
inherit name;
165
+
url = "https://anonscm.debian.org/cgit/kernel/linux.git/plain/debian/patches/bugfix/all/mm-enlarge-stack-guard-gap.patch?h=debian/4.9.30-2%2bdeb9u1_bpo8%2b1";
166
+
sha256 = "0bl7w1zgcy691avp54p6mvzdam6snrb7pz3hywsf2g2mcxjkyja5";
167
+
};
168
+
};
169
+
170
+
mm_larger_stack_guard_gap_4_11 = rec
171
+
{ name = "mm-larger-stack-guard-gap-between-vmas.patch";
172
+
patch = fetchpatch {
173
+
inherit name;
174
+
url = "https://anonscm.debian.org/cgit/kernel/linux.git/plain/debian/patches/bugfix/all/mm-larger-stack-guard-gap-between-vmas.patch?h=debian/4.11.6-1";
175
+
sha256 = "19bakn3119v5jkhh4w7x3d50py9an1w8h7v3mmy7y2l2agj4mn3i";
176
+
};
177
+
};
178
}
+2
pkgs/top-level/all-packages.nix
···
11905
kernelPatches.p9_fixes
11906
kernelPatches.cpu-cgroup-v2."4.9"
11907
kernelPatches.modinst_arg_list_too_long
0
11908
]
11909
++ lib.optionals ((platform.kernelArch or null) == "mips")
11910
[ kernelPatches.mips_fpureg_emu
···
11921
# when adding a new linux version
11922
kernelPatches.cpu-cgroup-v2."4.11"
11923
kernelPatches.modinst_arg_list_too_long
0
11924
]
11925
++ lib.optionals ((platform.kernelArch or null) == "mips")
11926
[ kernelPatches.mips_fpureg_emu
···
11905
kernelPatches.p9_fixes
11906
kernelPatches.cpu-cgroup-v2."4.9"
11907
kernelPatches.modinst_arg_list_too_long
11908
+
kernelPatches.mm_larger_stack_guard_gap_4_9
11909
]
11910
++ lib.optionals ((platform.kernelArch or null) == "mips")
11911
[ kernelPatches.mips_fpureg_emu
···
11922
# when adding a new linux version
11923
kernelPatches.cpu-cgroup-v2."4.11"
11924
kernelPatches.modinst_arg_list_too_long
11925
+
kernelPatches.mm_larger_stack_guard_gap_4_11
11926
]
11927
++ lib.optionals ((platform.kernelArch or null) == "mips")
11928
[ kernelPatches.mips_fpureg_emu