summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-05-29 18:31:06 +0300
committerMark Brown <broonie@kernel.org>2026-06-08 21:03:40 +0300
commit7886054b06f762f62054957a8f6de0f14e6b7541 (patch)
tree1f5c574cdd58efc29f4a528b769795fc8ffb92e8 /tools/lib/python
parent2fb242e4f375b682c800ab40dd4fbbcde1711528 (diff)
downloadlinux-7886054b06f762f62054957a8f6de0f14e6b7541.tar.xz
spi: ep93xx: fix double-free of zeropage on DMA setup failure
If DMA setup fails after allocating the zeropage, the error path frees the page but leaves espi->zeropage dangling. A subsequent call to ep93xx_spi_release_dma() sees the non-NULL pointer and frees the page again. Clear the pointer after freeing in the error path of ep93xx_spi_setup_dma(). Fixes: 626a96db1169 ("spi/ep93xx: add DMA support") Signed-off-by: Felix Gu <ustc.gu@gmail.com> Link: https://patch.msgid.link/20260529-ep93xx-v1-1-9185070ca1fc@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions