diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2025-05-27 18:07:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:04:11 +0200 |
commit | da3d5defe7e404d86c6da3eaedc6a974685c07a9 (patch) | |
tree | 26c4f85ce01b39e6e7fb16883d6ec4705f08afb5 /net/unix/af_unix.c | |
parent | d9f74011356fd0823d62d38eea1b50326e7f479b (diff) |
io_uring/zcrx: fix area release on registration failure
[ Upstream commit 0ec33c81d9c7342f03864101ddb2e717a0cce03e ]
On area registration failure there might be no ifq set and it's not safe
to access area->ifq in the release path without checking it first.
Cc: stable@vger.kernel.org
Fixes: f12ecf5e1c5ec ("io_uring/zcrx: fix late dma unmap for a dead dev")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/bc02878678a5fec28bc77d33355cdba735418484.1748365640.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions