Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 225513 - CVE-2007-0452 Samba smbd denial of service
Summary: CVE-2007-0452 Samba smbd denial of service
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: samba
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Simo Sorce
QA Contact: David Lawrence
Whiteboard: reported=20070130,source=samba,impact...
: 227993 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2007-01-31 00:24 UTC by Josh Bressers
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHSA-2007-0060
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-02-15 19:13:51 UTC
Target Upstream Version:

Attachments (Terms of Use)
Proposed upstream patch (deleted)
2007-01-31 00:33 UTC, Josh Bressers
no flags Details | Diff

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2007:0060 normal SHIPPED_LIVE Moderate: samba security update 2007-02-15 19:13:47 UTC

Description Josh Bressers 2007-01-31 00:24:58 UTC
A bug has been found in Samba that can allow an authenticated user to cause a
child smbd process to enter an infinite loop.  The definition is rather
complicated so I'm going to paste the description from the upstream Samba advisory:

    Internally Samba's file server daemon, smbd, implements
    support for deferred file open calls in an attempt to serve
    client requests that would otherwise fail due to a share mode
    violation.  When renaming a file under certain circumstances
    it is possible that the request is never removed from the deferred
    open queue.  smbd will then become stuck is a loop trying to
    service the open request.

    This bug may allow an authenticated user to exhaust resources
    such as memory and CPU on the server by opening multiple CIFS
    sessions, each of which will normally spawn a new smbd process,
    and sending each connection into an infinite loop.

Comment 1 Josh Bressers 2007-01-31 00:26:04 UTC
This flaw also affects RHEL3

Comment 2 Josh Bressers 2007-01-31 00:33:48 UTC
Created attachment 146985 [details]
Proposed upstream patch

Comment 3 Josh Bressers 2007-02-02 14:37:55 UTC
This is RHSA-2007:0060

Comment 4 Josh Bressers 2007-02-05 19:51:10 UTC
This flaw is now public:

Comment 6 Jay Fenlason 2007-02-09 15:07:58 UTC
*** Bug 227993 has been marked as a duplicate of this bug. ***

Comment 9 Red Hat Bugzilla 2007-02-15 19:13:51 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

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