wok-current rev 14517

linux: fix local privilege escalation 0day, 2.6.37 - 3.8.10
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 16 16:02:27 2013 +0200 (2013-05-16)
parents 9c3c1929e786
children dc87133e6b53
files linux/receipt linux/stuff/linux-core.u
line diff
     1.1 --- a/linux/receipt	Wed May 15 15:00:11 2013 +0200
     1.2 +++ b/linux/receipt	Thu May 16 16:02:27 2013 +0200
     1.3 @@ -132,6 +132,7 @@
     1.4  $PACKAGE-diff.u
     1.5  $PACKAGE-header.u
     1.6  $PACKAGE-freeinitrd.u
     1.7 +$PACKAGE-core.u
     1.8  aufs3-base.patch
     1.9  aufs3-standalone.patch
    1.10  aufs3-loopback.patch
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/linux/stuff/linux-core.u	Thu May 16 16:02:27 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-3.2.40/kernel//events/core.c
     2.6 ++++ linux-3.2.40/kernel//events/core.c
     2.7 +@@ -5164,7 +5164,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;