Fwd: Linux Broadcom 5820 Cryptonet Driver Integer Overflow

Dave Jones davej at redhat.com
Fri Jul 2 19:25:21 UTC 2004


On Fri, Jul 02, 2004 at 02:17:53PM +0100, Jon Peatfield wrote:
 > I see that the new fc1 kernel-2.4.22-1.2197 also includes the nfs
 > fchown fix too though I can't seem to download that src.rpm and the
 > mirrors don't have it yet (well not the ones I've looked at anyway).
 > 
 > Does anyone have a pointer just to the patch(es) to fix the nfs
 > problem and disable the Broadcom driver?

fchown was this...
 
--- linux-2.4.22/fs/attr.c~	2004-07-01 17:24:21.707391872 +0100
+++ linux-2.4.22/fs/attr.c	2004-07-01 17:24:40.733499464 +0100
@@ -33,7 +33,8 @@
 
 	/* Make sure caller can chgrp. */
 	if ((ia_valid & ATTR_GID) &&
-	    (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) &&
+	    (current->fsuid != inode->i_uid ||
+		(!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid)) &&
 	    !capable(CAP_CHOWN))
 		goto error;
 

The broadcom bit was disabling teh bcm5820 patch in the kernel-2.4.spec file

		Dave





More information about the fedora-legacy-list mailing list