Bug 275881 - (CVE-2007-3740) CVE-2007-3740 CIFS should honor umask
CVE-2007-3740 CIFS should honor umask
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Layton
Martin Jenner
: Security
Depends On: 246667 253314 293121 293131
  Show dependency treegraph
Reported: 2007-09-04 05:25 EDT by Marcel Holtmann
Modified: 2007-11-01 09:34 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-01 09:34:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Marcel Holtmann 2007-09-04 05:25:40 EDT
CIFS apparently does not currently honor the umask for a task. There's an
upstream patch to make it do so:

commit 3ce53fc4c57603d99c330a6ee2fe96d94f2d350f
Author: Steve French <sfrench@us.ibm.com>
Date:   Fri Jun 8 14:55:14 2007 +0000

    [CIFS] CIFS should honour umask
    This patch makes CIFS honour a process' umask like other filesystems.
    Of course the server is still free to munge the permissions if it wants
    to; but the client will send the "right" permissions to begin with.
    A few caveats:
    1) It only applies to filesystems that have CAP_UNIX (aka support unix
    2) It applies the correct mode to the follow up CIFSSMBUnixSetPerms()
    after remote creation
    When mode to CIFS/NTFS ACL mapping is complete we can do the
    same thing for that case for servers which do not
    support the Unix Extensions.
    Signed-off-by: Matt Keenen <matt@opcode-solutions.com>
    Signed-off-by: Steve French <sfrench@us.ibm.com>

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