wok-4.x rev 12382
linux: fix local privilege escalation 0day, 2.6.37 - 3.8.10
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 16 16:23:57 2013 +0200 (2013-05-16) |
parents | e257204c784c |
children | 3f61dd5a209d |
files | linux/receipt linux/stuff/linux-perf_event-2.6.37.u |
line diff
1.1 --- a/linux/receipt Sat May 04 12:00:36 2013 +0200 1.2 +++ b/linux/receipt Thu May 16 16:23:57 2013 +0200 1.3 @@ -67,6 +67,7 @@ 1.4 $PACKAGE-diff-$VERSION.u 1.5 $PACKAGE-header-$VERSION.u 1.6 $PACKAGE-freeinitrd-$VERSION.u 1.7 +$PACKAGE-perf_event-$VERSION.u 1.8 aufs2-base.patch 1.9 aufs2-standalone.patch 1.10 001-squashfs-decompressors-add-xz-decompressor-module.patch
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/linux/stuff/linux-perf_event-2.6.37.u Thu May 16 16:23:57 2013 +0200 2.3 @@ -0,0 +1,12 @@ 2.4 +FIX: Linux local privilege escalation 0day, 2.6.37 - 3.8.10 2.5 +--- linux-2.6.37/kernel/perf_event.c 2.6 ++++ linux-2.6.37/kernel/perf_event.c 2.7 +@@ -4705,7 +4705,7 @@ 2.8 + 2.9 + static int perf_swevent_init(struct perf_event *event) 2.10 + { 2.11 +- int event_id = event->attr.config; 2.12 ++ u64 event_id = event->attr.config; 2.13 + 2.14 + if (event->attr.type != PERF_TYPE_SOFTWARE) 2.15 + return -ENOENT;