Bug 464450 (CVE-2008-3833)

Summary: CVE-2008-3833 kernel: remove SUID when splicing into an inode
Product: [Other] Security Response Reporter: Eugene Teo (Security Response) <eteo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dhoward, esandeen, jpirko, kseifried, lwang, pstyles
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-30 19:46:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 464451, 464452    
Bug Blocks:    

Description Eugene Teo (Security Response) 2008-09-29 07:36:07 UTC
Description of problem:
Originally from Mark Fasheh <mark.fasheh>

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 08:03:11 UTC
This requires should_remove_suid(), and __remove_suid() from bug #463661.

Comment 5 Eugene Teo (Security Response) 2008-10-03 00:53:43 UTC
This bug has similar consequences as CVE-2008-4210.

Comment 6 Eugene Teo (Security Response) 2008-10-03 00:57:28 UTC
Reference:
http://article.gmane.org/gmane.comp.security.oss.general/1008

Comment 10 Kurt Seifried 2011-09-30 19:46:13 UTC
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