summaryrefslogtreecommitdiff
path: root/io_uring/msg_ring.h
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2023-05-11 17:59:21 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-31 19:00:26 +0100
commit282c22a8bbeabd272c048ae243238638c9b7cefe (patch)
tree7c14f22cc0a485648171b0afa40378fc480d87fb /io_uring/msg_ring.h
parentdf1b056d489d98c7c45fa89627102dd34b44496f (diff)
downloadlwn-282c22a8bbeabd272c048ae243238638c9b7cefe.tar.gz
lwn-282c22a8bbeabd272c048ae243238638c9b7cefe.zip
uacce: vma_close clears q->qfrs when freeing qfrs
vma_close frees qfrs but not clears q->qfrs, which still points to the freed object, leading to subsequent mmap fail. So vma_close clears q->qfrs as well. Suggested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Link: https://lore.kernel.org/r/20230511095921.9331-3-zhangfei.gao@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'io_uring/msg_ring.h')
0 files changed, 0 insertions, 0 deletions