Bug 462434 - (CVE-2008-4302) CVE-2008-4302 kernel: splice: fix bad unlock_page() in error case
CVE-2008-4302 kernel: splice: fix bad unlock_page() in error case
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=20080916,public=20070720,imp...
: Security
Depends On: 439917 462436
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-16 04:42 EDT by Eugene Teo (Security Response)
Modified: 2010-12-21 12:39 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-12-21 12:39:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Upstream patch for this issue (1.25 KB, patch)
2008-09-16 04:45 EDT, Eugene Teo (Security Response)
no flags Details | Diff

  None (edit)
Description Eugene Teo (Security Response) 2008-09-16 04:42:47 EDT
Description of problem:
If add_to_page_cache_lru() fails, the page will not be locked. But splice jumps to an error path that does a page release and unlock, causing a BUG() in unlock_page().
Comment 2 Eugene Teo (Security Response) 2008-09-16 04:45:20 EDT
Created attachment 316823 [details]
Upstream patch for this issue
Comment 3 Eugene Teo (Security Response) 2008-09-16 04:45:50 EDT
Reproducer:
https://bugzilla.redhat.com/show_bug.cgi?id=461082#c3
Comment 7 Vincent Danen 2010-12-21 12:39:05 EST
This was addressed via:

Red Hat Enterprise Linux version 5 (RHSA-2008:0957)

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