Skip to content

Commit

Permalink
Revert "linux: patch CVE-2017-1000364 (stack clash)"
Browse files Browse the repository at this point in the history
This reverts commit 6c026fe.
  • Loading branch information
NeQuissimus committed Jun 25, 2017
1 parent 280f0db commit c1ad03b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
19 changes: 0 additions & 19 deletions pkgs/os-specific/linux/kernel/patches.nix
Original file line number Diff line number Diff line change
Expand Up @@ -190,23 +190,4 @@ rec {
sha256 = "10dmv3d3gj8rvj9h40js4jh8xbr5wyaqiy0kd819mya441mj8ll2";
};
};

# CVE-2017-1000364 (stack clash)
mm_larger_stack_guard_gap_4_9 = rec
{ name = "mm-larger-stack-guard-gap-between-vmas.patch";
patch = fetchpatch {
inherit name;
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";
sha256 = "0bl7w1zgcy691avp54p6mvzdam6snrb7pz3hywsf2g2mcxjkyja5";
};
};

mm_larger_stack_guard_gap_4_11 = rec
{ name = "mm-larger-stack-guard-gap-between-vmas.patch";
patch = fetchpatch {
inherit name;
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";
sha256 = "19bakn3119v5jkhh4w7x3d50py9an1w8h7v3mmy7y2l2agj4mn3i";
};
};
}
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11372,7 +11372,6 @@ with pkgs;
kernelPatches.p9_fixes
kernelPatches.cpu-cgroup-v2."4.9"
kernelPatches.modinst_arg_list_too_long
kernelPatches.mm_larger_stack_guard_gap_4_9
]
++ lib.optionals ((platform.kernelArch or null) == "mips")
[ kernelPatches.mips_fpureg_emu
Expand All @@ -11389,7 +11388,6 @@ with pkgs;
# when adding a new linux version
kernelPatches.cpu-cgroup-v2."4.11"
kernelPatches.modinst_arg_list_too_long
kernelPatches.mm_larger_stack_guard_gap_4_11
]
++ lib.optionals ((platform.kernelArch or null) == "mips")
[ kernelPatches.mips_fpureg_emu
Expand Down

3 comments on commit c1ad03b

@bjornfor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please indicate reason for the revert in the commit message.

@fpletz
Copy link
Member

@fpletz fpletz commented on c1ad03b Jun 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the reason for the revert?

@fpletz
Copy link
Member

@fpletz fpletz commented on c1ad03b Jun 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, it was integrated upstream. 👍

Please sign in to comment.