]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
2.6.16.25 and 2.6.17.5 releases
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 15 Jul 2006 03:12:32 +0000 (20:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 15 Jul 2006 03:12:32 +0000 (20:12 -0700)
releases/2.6.16.25/fix-nasty-proc-vulnerability.patch [new file with mode: 0644]
releases/2.6.16.25/series [new file with mode: 0644]
releases/2.6.17.5/fix-nasty-proc-vulnerability.patch [new file with mode: 0644]
releases/2.6.17.5/series [new file with mode: 0644]

diff --git a/releases/2.6.16.25/fix-nasty-proc-vulnerability.patch b/releases/2.6.16.25/fix-nasty-proc-vulnerability.patch
new file mode 100644 (file)
index 0000000..d0d20dc
--- /dev/null
@@ -0,0 +1,31 @@
+From git-commits-head-owner@vger.kernel.org Fri Jul 14 16:59:56 2006
+Date: Fri, 14 Jul 2006 23:59:02 GMT
+Message-Id: <200607142359.k6ENx2iQ032185@hera.kernel.org>
+From: Linus Torvalds <torvalds@osdl.org>
+To: git-commits-head@vger.kernel.org
+Subject: Fix nasty /proc vulnerability (CVE-2006-3626)
+
+Fix nasty /proc vulnerability
+
+We have a bad interaction with both the kernel and user space being able
+to change some of the /proc file status.  This fixes the most obvious
+part of it, but I expect we'll also make it harder for users to modify
+even their "own" files in /proc.
+
+Signed-off-by: Linus Torvalds <torvalds@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ fs/proc/base.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- linux-2.6.16.24.orig/fs/proc/base.c
++++ linux-2.6.16.24/fs/proc/base.c
+@@ -1366,6 +1366,7 @@ static int pid_revalidate(struct dentry 
+               } else {
+                       inode->i_uid = 0;
+                       inode->i_gid = 0;
++                      inode->i_mode = 0;
+               }
+               security_task_to_inode(task, inode);
+               return 1;
diff --git a/releases/2.6.16.25/series b/releases/2.6.16.25/series
new file mode 100644 (file)
index 0000000..e858644
--- /dev/null
@@ -0,0 +1 @@
+fix-nasty-proc-vulnerability.patch
diff --git a/releases/2.6.17.5/fix-nasty-proc-vulnerability.patch b/releases/2.6.17.5/fix-nasty-proc-vulnerability.patch
new file mode 100644 (file)
index 0000000..cd18408
--- /dev/null
@@ -0,0 +1,31 @@
+From git-commits-head-owner@vger.kernel.org Fri Jul 14 16:59:56 2006
+Date: Fri, 14 Jul 2006 23:59:02 GMT
+Message-Id: <200607142359.k6ENx2iQ032185@hera.kernel.org>
+From: Linus Torvalds <torvalds@osdl.org>
+To: git-commits-head@vger.kernel.org
+Subject: Fix nasty /proc vulnerability (CVE-2006-3626)
+
+Fix nasty /proc vulnerability
+
+We have a bad interaction with both the kernel and user space being able
+to change some of the /proc file status.  This fixes the most obvious
+part of it, but I expect we'll also make it harder for users to modify
+even their "own" files in /proc.
+
+Signed-off-by: Linus Torvalds <torvalds@osdl.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
+
+---
+ fs/proc/base.c |    1 +
+ 1 file changed, 1 insertion(+)
+
+--- linux-2.6.17.4.orig/fs/proc/base.c
++++ linux-2.6.17.4/fs/proc/base.c
+@@ -1404,6 +1404,7 @@ static int pid_revalidate(struct dentry 
+               } else {
+                       inode->i_uid = 0;
+                       inode->i_gid = 0;
++                      inode->i_mode = 0;
+               }
+               security_task_to_inode(task, inode);
+               return 1;
diff --git a/releases/2.6.17.5/series b/releases/2.6.17.5/series
new file mode 100644 (file)
index 0000000..e858644
--- /dev/null
@@ -0,0 +1 @@
+fix-nasty-proc-vulnerability.patch