summaryrefslogtreecommitdiff
path: root/scripts/diffconfig
diff options
context:
space:
mode:
authorGuangshuo Li <lgs201920130244@gmail.com>2026-10-27 23:09:21 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-11-04 14:11:08 +0100
commita36b3db60466d44eefcc5c252ce927c043429922 (patch)
treef092f373f9937faeb9e273ac8f6335d2b1f83a32 /scripts/diffconfig
parent824a27d391cf934d3232e8e2dabee221fc4e18ae (diff)
misc: bcm-vk: fix DMA allocation memory leak
bcm_vk_dma_alloc() leaks dma->pages and pinned user-page references when page pinning or coherent SG allocation fails. DMA mapping failures can also leave the SG list and earlier mappings unreleased, as bcm_vk_sg_alloc() skips the partially initialized slot. This issue was found by our static analysis tool under development. Fixes: 111d746bb476 ("misc: bcm-vk: add VK messaging support") Cc: stable@vger.kernel.org Signed-off-by: Guangshuo Li <lgs201920130244@gmail.com> Link: https://patch.msgid.link/20261027150921.137189-1-lgs201920130244@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions