Bug 464450 - (CVE-2008-3833) CVE-2008-3833 kernel: remove SUID when splicing into an inode
CVE-2008-3833 kernel: remove SUID when splicing into an inode
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20061017,repo...
:
Depends On: 464451 464452
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-29 03:36 EDT by Eugene Teo (Security Response)
Modified: 2011-09-30 15:46 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-09-30 15:46:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Eugene Teo (Security Response) 2008-09-29 03:36:07 EDT
Description of problem:
Originally from Mark Fasheh <mark.fasheh@oracle.com>

generic_file_splice_write() does not remove S_ISUID or S_ISGID. This is inconsistent with the way we generally write to files.

Proposed upstream patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8c34e2d63231d4bf4852bac8521883944d770fe3
Comment 2 Eugene Teo (Security Response) 2008-09-29 04:03:11 EDT
This requires should_remove_suid(), and __remove_suid() from bug #463661.
Comment 5 Eugene Teo (Security Response) 2008-10-02 20:53:43 EDT
This bug has similar consequences as CVE-2008-4210.
Comment 6 Eugene Teo (Security Response) 2008-10-02 20:57:28 EDT
Reference:
http://article.gmane.org/gmane.comp.security.oss.general/1008
Comment 10 Kurt Seifried 2011-09-30 15:46:13 EDT
This issue has been addressed in following products:

  Red Hat Linux Enterprise 5
  Red Hat Linux Enterprise 5.2.z
  
Via RHSA-2008:0957 available at https://rhn.redhat.com/errata/RHSA-2008-0957.html

Note You need to log in before you can comment on or make changes to this bug.