[kernel] r5441 - patch-tracking
Moritz Muehlenhoff
jmm-guest at costa.debian.org
Sun Jan 15 11:27:58 UTC 2006
Author: jmm-guest
Date: Sun Jan 15 11:27:57 2006
New Revision: 5441
Added:
patch-tracking/CVE-2005-3356
Log:
new DoS found by Al Viro
Added: patch-tracking/CVE-2005-3356
==============================================================================
--- (empty file)
+++ patch-tracking/CVE-2005-3356 Sun Jan 15 11:27:57 2006
@@ -0,0 +1,34 @@
+Candidate: CVE-2005-3356
+References:
+ http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=7c7dce9209161eb260cdf9e9172f72c3a02379e6h+p=12dbf3fc4d06d2c0c4c44dc0612df04248b3cfd3
+Description:
+ [PATCH] Fix double decrement of mqueue_mnt->mnt_count in sys_mq_open
+ .
+ Fixed the refcounting on failure exits in sys_mq_open() and
+ cleaned the logics up. Rules are actually pretty simple - dentry_open()
+ expects vfsmount and dentry to be pinned down and it either transfers
+ them into created struct file or drops them. Old code had been very
+ confused in that area - if dentry_open() had failed either in do_open()
+ or do_create(), we ended up dentry and mqueue_mnt dropped twice, once
+ by dentry_open() cleanup and then by sys_mq_open().
+ .
+ Fix consists of making the rules for do_create() and do_open()
+ same as for dentry_open() and updating the sys_mq_open() accordingly;
+ that actually leads to more straightforward code and less work on
+ normal path.
+ .
+ Signed-off-by: Al Viro <aviro at redhat.com>
+ Signed-off-by: Linus Torvalds <torvalds at osdl.org>
+Notes:
+Bugs:
+upstream:
+linux-2.6:
+2.6.8-sarge-security:
+2.4.27-sarge-security:
+2.4.27:
+2.4.19-woody-security:
+2.4.18-woody-security:
+2.4.17-woody-security:
+2.4.16-woody-security:
+2.4.17-woody-security-hppa:
+2.4.17-woody-security-ia64:
More information about the Kernel-svn-changes
mailing list