summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorSukrut Bellary <sukrut.bellary@linux.com>2024-09-02 15:14:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-03 12:19:31 +0200
commite8c276d4dc0e19ee48385f74426aebc855b49aaf (patch)
tree9a44df077d1c11c53db5ff8b5661cd516dbfe804 /scripts/stackusage
parent4df153652cc46545722879415937582028c18af5 (diff)
downloadkernel-e8c276d4dc0e19ee48385f74426aebc855b49aaf.tar.gz
misc: fastrpc: Fix double free of 'buf' in error path
smatch warning: drivers/misc/fastrpc.c:1926 fastrpc_req_mmap() error: double free of 'buf' In fastrpc_req_mmap() error path, the fastrpc buffer is freed in fastrpc_req_munmap_impl() if unmap is successful. But in the end, there is an unconditional call to fastrpc_buf_free(). So the above case triggers the double free of fastrpc buf. Fixes: 72fa6f7820c4 ("misc: fastrpc: Rework fastrpc_req_munmap") Reviewed-by: Shuah Khan <skhan@linuxfoundation.org> Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Sukrut Bellary <sukrut.bellary@linux.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: stable <stable@kernel.org> Link: https://lore.kernel.org/r/20240902141409.70371-2-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
r>2006-01-08[PATCH] Change maxaligned_in_smp alignemnt macros to internodealigned_in_smp ...Ravikiran G Thirumalai 2006-01-08[PATCH] Make high and batch sizes of per_cpu_pagelists configurableRohit Seth 2006-01-06[PATCH] mm: add populated_zone() helperCon Kolivas 2006-01-06[PATCH] mm: dma32 zone statisticsNick Piggin 2006-01-06[PATCH] mm: remove pcp lowNick Piggin 2006-01-06[PATCH] sparsemem: provide pfn_to_nidAndy Whitcroft 2006-01-06[PATCH] flatmem split out memory modelAndy Whitcroft 2006-01-06[PATCH] mm: remove arch independent NODES_SPAN_OTHER_NODESMike Kravetz 2006-01-06[PATCH] mm: pfn_to_pgdat not used in common codeAndy Whitcroft 2006-01-06[PATCH] mm: kvaddr_to_nid not used in common codeAndy Whitcroft 2005-11-22Fix up GFP_ZONEMASK for GFP_DMA32 usageLinus Torvalds 2005-11-14Merge x86-64 update from AndiLinus Torvalds 2005-11-14[PATCH] x86_64: Speed up numa_node_id by putting it directly into the PDAAndi Kleen 2005-11-14[PATCH] x86_64: Remove obsolete ARCH_HAS_ATOMIC_UNSIGNED and page_flags_tAndi Kleen 2005-11-14[PATCH] x86_64: Add 4GB DMA32 zoneAndi Kleen 2005-11-13[PATCH] mm: __alloc_pages cleanupRohit Seth 2005-10-29[PATCH] memory hotplug locking: zone span seqlockDave Hansen 2005-10-29[PATCH] memory hotplug locking: node_size_lockDave Hansen 2005-10-29[PATCH] memory hotplug prep: __section_nr helperDave Hansen 2005-10-28[PATCH] gfp_t: the restAl Viro 2005-09-05[PATCH] sparsemem extreme: hotplug preparationDave Hansen 2005-09-05[PATCH] sparsemem extreme implementationBob Picco 2005-09-05[PATCH] SPARSEMEM EXTREMEBob Picco