Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=425a63861c480b3e6a3c8928e7435a42fbaddbed

commit 425a63861c480b3e6a3c8928e7435a42fbaddbed
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Wed Apr 30 12:58:14 2008 +0200

kernel-2.6.25-2-i686
- added CVE-2008-1375.patch
- closes #3050
- no release bump yet

diff --git a/source/base/kernel/CVE-2008-1375.patch 
b/source/base/kernel/CVE-2008-1375.patch
new file mode 100644
index 0000000..91783cb
--- /dev/null
+++ b/source/base/kernel/CVE-2008-1375.patch
@@ -0,0 +1,15 @@
+diff --git a/fs/dnotify.c b/fs/dnotify.c
+index 28d01ed..b65fa17 100644
+--- a/fs/dnotify.c
++++ b/fs/dnotify.c
+@@ -92,6 +92,10 @@ int fcntl_dirnotify(int fd, struct file *filp, unsigned 
long arg)
+               prev = &odn->dn_next;
+       }
+
++      /* we'd lost the race with close(), sod off silently */
++      if (fcheck(fd) != filp)
++              goto out_free;
++
+       error = __f_setown(filp, task_pid(current), PIDTYPE_PID, 0);
+       if (error)
+               goto out_free;
diff --git a/source/base/kernel/FrugalBuild b/source/base/kernel/FrugalBuild
index ade84cd..a1b31a8 100644
--- a/source/base/kernel/FrugalBuild
+++ b/source/base/kernel/FrugalBuild
@@ -1,4 +1,5 @@
# Compiling Time: 14.33 SBU
# Maintainer: VMiklos <[EMAIL PROTECTED]>

+_F_kernel_patches=(CVE-2008-1375.patch)
Finclude kernel
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to