tmpfs: restore missing clear_highpage (CVE-2007-6417)
tmpfs was misconverted to __GFP_ZERO in 2.6.11. There's an unusual case in which shmem_getpage receives the page from its caller instead of allocating. We must cover this case by clear_highpage before SetPageUptodate, as before. Signed-off-by:Hugh Dickins <hugh@veritas.com> Signed-off-by:
Adrian Bunk <bunk@kernel.org>
Loading
Please sign in to comment