mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-09 18:15:49 +00:00
NFSv4.2: Fix a potential double free with READ_PLUS
commit43439d858bupstream. kfree()-ing the scratch page isn't enough, we also need to set the pointer back to NULL to avoid a double-free in the case of a resend. Fixes:fbd2a05f29(NFSv4.2: Rework scratch handling for READ_PLUS) Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d9ece8c026
commit
7795634751
1 changed files with 10 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue