aboutsummaryrefslogtreecommitdiff
path: root/fs/befs/Makefile
diff options
context:
space:
mode:
authorPrateek Sood2020-08-21 02:27:50 +0530
committerGreg Kroah-Hartman2020-08-28 11:32:07 +0200
commit4965b8cd1bc1ffb017e5c58e622da82b55e49414 (patch)
tree2fa2de314dd49a03d2decb96a0eceaa9b2685042 /fs/befs/Makefile
parentd012a7190fc1fd72ed48911e77ca97ba4521bccd (diff)
firmware_loader: fix memory leak for paged buffer
vfree() is being called on paged buffer allocated using alloc_page() and mapped using vmap(). Freeing of pages in vfree() relies on nr_pages of struct vm_struct. vmap() does not update nr_pages. It can lead to memory leaks. Fixes: ddaf29fd9bb6 ("firmware: Free temporary page table after vmapping") Signed-off-by: Prateek Sood <prsood@codeaurora.org> Reviewed-by: Takashi Iwai <tiwai@suse.de> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/1597957070-27185-1-git-send-email-prsood@codeaurora.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/befs/Makefile')
0 files changed, 0 insertions, 0 deletions