Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 35039 Details for
Bug 56479
sys-kernel/*: fchown may allow unrestricted file groupIDs modifications
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2.4 kernel sys_chown exploit patch
2.4-chown_exploit.patch (text/plain), 659 bytes, created by
Chris White (RETIRED)
on 2004-07-08 17:14:12 UTC
(
hide
)
Description:
2.4 kernel sys_chown exploit patch
Filename:
MIME Type:
Creator:
Chris White (RETIRED)
Created:
2004-07-08 17:14:12 UTC
Size:
659 bytes
patch
obsolete
># This is a BitKeeper generated diff -Nru style patch. ># ># ChangeSet ># 2004/07/03 18:32:40-03:00 marcelo@logos.cnet ># Thomas Biege: Fix missing DAC check on sys_chown ># ># fs/attr.c ># 2004/07/03 18:28:30-03:00 marcelo@logos.cnet +1 -0 ># Thomas Biege: Fix missing DAC check on sys_chown ># >diff -Nru a/fs/attr.c b/fs/attr.c >--- a/fs/attr.c 2004-07-08 17:05:20 -07:00 >+++ b/fs/attr.c 2004-07-08 17:05:20 -07:00 >@@ -33,6 +33,7 @@ > > /* Make sure caller can chgrp. */ > if ((ia_valid & ATTR_GID) && >+ (current->fsuid != inode->i_uid || > (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) && > !capable(CAP_CHOWN)) > goto error;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56479
:
35037
|
35038
|
35039
|
35040