Bug 494074 - (CVE-2009-1336) CVE-2009-1336 kernel: nfsv4 client can be crashed by stating a long filename
CVE-2009-1336 kernel: nfsv4 client can be crashed by stating a long filename
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
public=20070928,source=bugzilla,repor...
: Security
Depends On: 493939 493942 494077 494078
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-03 21:13 EDT by Eugene Teo (Security Response)
Modified: 2011-12-19 01:55 EST (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-11-01 20:13:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Proposed patch. (3.33 KB, patch)
2009-04-06 05:18 EDT, Sachin Prabhu
no flags Details | Diff
Proposed Patch (1.47 KB, patch)
2009-04-06 05:22 EDT, Sachin Prabhu
no flags Details | Diff

  None (edit)
Description Eugene Teo (Security Response) 2009-04-03 21:13:20 EDT
Description of problem:
The NFS file name limit is not being initialised correctly in the struct nfs_server. Make sure that we limit whatever is being set in nfs_probe_fsinfo() and nfs_init_server().

Also ensure that readdirplus and nfs4_path_walk respect our file name limits.

Upstream commit:
http://git.kernel.org/linus/54af3bb543c071769141387a42deaaab5074da55
Comment 4 Sachin Prabhu 2009-04-06 05:18:45 EDT
Created attachment 338303 [details]
Proposed patch.

Patch back ported from upstream commit
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=54af3bb543c071769141387a42deaaab5074da55
Comment 6 Sachin Prabhu 2009-04-06 05:22:59 EDT
Created attachment 338304 [details]
Proposed Patch

Proposed patch for RHEL 4.
Comment 10 errata-xmlrpc 2009-05-07 06:53:23 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2009:0473 https://rhn.redhat.com/errata/RHSA-2009-0473.html
Comment 11 errata-xmlrpc 2009-05-18 15:03:09 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2009:1024 https://rhn.redhat.com/errata/RHSA-2009-1024.html
Comment 12 errata-xmlrpc 2009-05-18 16:36:24 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4

Via RHSA-2009:1024 https://rhn.redhat.com/errata/RHSA-2009-1024.html
Comment 13 errata-xmlrpc 2009-06-02 12:28:10 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4.7 Z Stream

Via RHSA-2009:1077 https://rhn.redhat.com/errata/RHSA-2009-1077.html
Comment 17 Kurt Seifried 2011-11-01 20:13:39 EDT
All children bugs have been closed, parent is no longer needed.

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