Bug 457703 (CVE-2008-3535) - CVE-2008-3535 kernel: fix off-by-one error in iov_iter_advance()
Summary: CVE-2008-3535 kernel: fix off-by-one error in iov_iter_advance()
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-3535
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 457705
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-04 02:45 UTC by Eugene Teo (Security Response)
Modified: 2021-11-12 19:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-23 22:30:09 UTC


Attachments (Terms of Use)
LTP testsuite package 20080630 (6.85 MB, application/x-gzip)
2008-08-04 02:55 UTC, Eugene Teo (Security Response)
no flags Details
Proposed backported patch for MRG kernel (1.44 KB, patch)
2008-08-04 03:29 UTC, Eugene Teo (Security Response)
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2008:0857 0 normal SHIPPED_LIVE Important: kernel security and bug fix update 2008-10-07 19:18:59 UTC

Description Eugene Teo (Security Response) 2008-08-04 02:45:06 UTC
Description of problem:
Alexey Dobriyan reported that it is possible to crash a machine by running ftest03 from the LTP test suite (20080630).

The iov_iter_advance() function would look at the iov->iov_len entry even though it might have iterated over the whole array, and iov was pointing past the end.  This would cause DEBUG_PAGEALLOC to trigger a kernel page fault if the allocation was at the end of a page, and the next page was unallocated.

http://lkml.org/lkml/2008/7/30/446

Comment 2 Eugene Teo (Security Response) 2008-08-04 02:55:33 UTC
Created attachment 313297 [details]
LTP testsuite package 20080630

Comment 5 Eugene Teo (Security Response) 2008-08-04 03:29:43 UTC
Created attachment 313298 [details]
Proposed backported patch for MRG kernel

Comment 7 Vincent Danen 2010-12-23 22:30:09 UTC
This was addressed via:

MRG Realtime for RHEL 5 Server (RHSA-2008:0857)


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