summaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2020-09-18 10:36:50 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2020-09-18 10:36:50 +0200
commitd78092e4937de9ce55edcb4ee4c5e3c707be0190 (patch)
tree6374d3ef13d8ee1b6e442b42447005f4e5d35c36 /sound/drivers
parentvirtiofs: add logic to free up a memory range (diff)
downloadlinux-d78092e4937de9ce55edcb4ee4c5e3c707be0190.tar.xz
linux-d78092e4937de9ce55edcb4ee4c5e3c707be0190.zip
fuse: fix page dereference after free
After unlock_request() pages from the ap->pages[] array may be put (e.g. by aborting the connection) and the pages can be freed. Prevent use after free by grabbing a reference to the page before calling unlock_request(). The original patch was created by Pradeep P V K. Reported-by: Pradeep P V K <ppvk@codeaurora.org> Cc: <stable@vger.kernel.org> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions