Commit d808e724 authored by Hugh Dickins's avatar Hugh Dickins Committed by Adrian Bunk
Browse files

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: default avatarHugh Dickins <hugh@veritas.com>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
parent 86c4424d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment