Bug 455275 (CVE-2008-2148)

Summary: CVE-2008-2148 kernel: fix permission checking in sys_utimensat
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: bhu, davids, lgoncalv, lwang, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-24 06:08:15 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: 453136    
Bug Blocks:    
Attachments:
Description Flags
Proposed upstream patch none

Description Eugene Teo (Security Response) 2008-07-14 16:23:49 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-2148 to the
following vulnerability:

The utimensat system call (sys_utimensat) in Linux kernel 2.6.22 and other
versions before 2.6.25.3 does not check file permissions when certain UTIME_NOW
and UTIME_OMIT combinations are used, which allows local users to modify file
times of arbitrary files, possibly leading to a denial of service.

References:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.25.y.git;a=commit;h=f9dfda1ad0637a89a64d001cf81478bd8d9b6306
http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.25.3
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0169
http://lists.opensuse.org/opensuse-security-announce/2008-06/msg00006.html
http://www.securityfocus.com/bid/29134
http://www.frsirt.com/english/advisories/2008/1543/references
http://secunia.com/advisories/30198
http://secunia.com/advisories/30241
http://secunia.com/advisories/30818
http://xforce.iss.net/xforce/xfdb/42342

Comment 1 Eugene Teo (Security Response) 2008-07-14 16:26:19 UTC
Proposed upstream commit: 02c6be615f1fcd37ac5ed93a3ad6692ad8991cd9

Comment 2 Eugene Teo (Security Response) 2008-07-14 16:27:15 UTC
Created attachment 311724 [details]
Proposed upstream patch

Comment 3 Eugene Teo (Security Response) 2008-07-14 16:27:49 UTC
Testcase/output can be found at: http://lkml.org/lkml/2008/4/7/284