diff options
author | Zhangfei Gao <zhangfei.gao@linaro.org> | 2023-05-11 17:59:21 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-31 19:00:26 +0100 |
commit | 282c22a8bbeabd272c048ae243238638c9b7cefe (patch) | |
tree | 7c14f22cc0a485648171b0afa40378fc480d87fb /io_uring/msg_ring.h | |
parent | df1b056d489d98c7c45fa89627102dd34b44496f (diff) | |
download | lwn-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