diff options
| author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | 2026-01-21 10:34:29 -0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-02-25 16:39:17 +0530 |
| commit | d6077df7b75d26e4edf98983836c05d00ebabd8d (patch) | |
| tree | c4e85e57c409f6321474d42c47ca0595568ed238 /include/asm-cris/git@git.tavy.me:linux.git | |
| parent | 52d2edea0d63c935e82631e4b9e4a94eccf97b5b (diff) | |
dmaengine: idxd: Fix possible invalid memory access after FLR
In the case that the first Function Level Reset (FLR) concludes
correctly, but in the second FLR the scratch area for the saved
configuration cannot be allocated, it's possible for a invalid memory
access to happen.
Always set the deallocated scratch area to NULL after FLR completes.
Fixes: 98d187a98903 ("dmaengine: idxd: Enable Function Level Reset (FLR) for halt")
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Link: https://patch.msgid.link/20260121-idxd-fix-flr-on-kernel-queues-v3-v3-3-7ed70658a9d1@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/asm-cris/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
