diff options
author | Andrew Morton <akpm@osdl.org> | 2007-01-09 03:23:15 +0100 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2007-01-09 03:23:15 +0100 |
commit | d9be428145481c9c23e02e25a49205fc9def5d36 (patch) | |
tree | 75a9bce9c079f5a2d37277462fe31b51a0fd94ed /net | |
parent | 09d9056ce65466da2a4634c62fcfecfa70fc9605 (diff) |
grow_buffers() infinite loop fix (CVE-2006-5757/CVE-2006-6060)
If grow_buffers() is for some reason passed a block number which wants to li
outside the maximum-addressable pagecache range (PAGE_SIZE * 4G bytes) then
will accidentally truncate `index' and will then instnatiate a page at the
wrong pagecache offset. This causes __getblk_slow() to go into an infinite
loop.
This can happen with corrupted disks, or with software errors elsewhere.
Detect that, and handle it.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions