Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 228964 - CVE-2007-0772 NFSACLv2 ACCESS remote DoS
CVE-2007-0772 NFSACLv2 ACCESS remote DoS
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Chandrasekar Kannan
Brian Brock
: Security
Depends On:
  Show dependency treegraph
Reported: 2007-02-16 04:23 EST by Marcel Holtmann
Modified: 2015-01-04 18:24 EST (History)
5 users (show)

See Also:
Fixed In Version: RHEL-4.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-02-22 17:47:20 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Proposed patch (4.31 KB, patch)
2007-02-20 14:45 EST, Peter Staubach
no flags Details | Diff
Proposed patch (2.77 KB, patch)
2007-02-21 10:47 EST, Peter Staubach
no flags Details | Diff

  None (edit)
Description Marcel Holtmann 2007-02-16 04:23:28 EST
The knfsd code handling the NFSACLv2 ACCESS call has a bogus release handler
defined for it.  Anything that sends a proper NFSACLv2 ACCESS call over the wire
to a NFSACLv2-aware NFS server can cause downstream release-ing code to chomp on
the wrong hunk of memory and potentially lead to a panic. It's not clear that
this code path has been tested much, and the problem has been in Linux kernels
since June 2005:


It was discovered at Connectathon 2007, largely thanks to much detective work by
Greg Banks at SGI.

Some workarounds are to either disable NFSv2 entirely, or disable ACLs entirely
(CONFIG_NFSD_V2_ACL=n -and- CONFIG_NFSD_V3_ACL=n).  The "no_acl" export option
isn't sufficient, as the first NFSACL call that the client sends to probe
whether ACLs work will trigger the bug before the flag is checked.  And, just
turning off CONFIG_NFSD_V2_ACL is insuffient, as it's paired with
CONFIG_NFSD_V3_ACL checks in a lot of places.
Comment 2 Lubomir Kundrak 2007-02-20 14:43:43 EST
No longer embargoed.
Comment 6 Peter Staubach 2007-02-21 10:47:49 EST
Created attachment 148491 [details]
Proposed patch

The previously attached patch was not the correct patch.  A new patch
has been attached which is tested and correct.

Please note that RHEL-4.5 and RHEL-5.0 are not susceptible to this
issue because they have the NFS_ACL v2 support completed disabled.

If desired, with this patch, the NFS_ACL v2 support could be reenabled
in the config-generic file.

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