diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2023-05-16 11:19:25 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2023-05-19 17:11:59 -0400 |
commit | 43439d858bbae244a510de47f9a55f667ca4ed52 (patch) | |
tree | faaf5058f6c06f65e62beb1b6d6dfe4b77c94f36 /fs/ntfs/time.h | |
parent | SUNRPC: Don't change task->tk_status after the call to rpc_exit_task (diff) | |
download | linux-43439d858bbae244a510de47f9a55f667ca4ed52.tar.gz linux-43439d858bbae244a510de47f9a55f667ca4ed52.tar.bz2 linux-43439d858bbae244a510de47f9a55f667ca4ed52.zip |
NFSv4.2: Fix a potential double free with READ_PLUS
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: fbd2a05f29a9 (NFSv4.2: Rework scratch handling for READ_PLUS)
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/ntfs/time.h')
0 files changed, 0 insertions, 0 deletions