Bug 567184 - (CVE-2010-1087) CVE-2010-1087 kernel: NFS: Fix an Oops when truncating a file
CVE-2010-1087 kernel: NFS: Fix an Oops when truncating a file
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
reported=20100222,source=lkml,public=...
: Security
: 570093 (view as bug list)
Depends On: 567193 567194 567195 567196
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-22 00:48 EST by Eugene Teo (Security Response)
Modified: 2015-02-16 10:42 EST (History)
13 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-03-28 04:40:36 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)

  None (edit)
Description Eugene Teo (Security Response) 2010-02-22 00:48:11 EST
Description of problem:
The VM/VFS does not allow mapping->a_ops->invalidatepage() to fail. Unfortunately, nfs_wb_page_cancel() may fail if a fatal signal occurs. Since the NFS code assumes that the page stays mapped for as long as the writeback is active, we can end up Oopsing (among other things).

The only safe fix here is to convert nfs_wait_on_request(), so as to make it uninterruptible (as is already the case with wait_on_page_writeback()).

Upstream commit:
http://git.kernel.org/linus/9f557cd8073104b39528794d44e129331ded649f
Comment 2 Eugene Teo (Security Response) 2010-03-03 04:35:41 EST
*** Bug 570093 has been marked as a duplicate of this bug. ***
Comment 3 errata-xmlrpc 2010-07-01 14:27:50 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2010:0504 https://rhn.redhat.com/errata/RHSA-2010-0504.html
Comment 4 errata-xmlrpc 2010-08-17 11:52:48 EDT
This issue has been addressed in following products:

  MRG for RHEL-5

Via RHSA-2010:0631 https://rhn.redhat.com/errata/RHSA-2010-0631.html

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