linux/arch/powerpc/platforms
Thorsten Blum bd83c98b98 powerpc/pseries: fix memory leak on krealloc failure in papr_init
When krealloc() fails, free the original esi_buf before returning to
avoid a memory leak.

Fixes: 3c14b73454 ("powerpc/pseries: Interface to represent PAPR firmware attributes")
Cc: stable@vger.kernel.org
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20260614142356.658212-2-thorsten.blum@linux.dev
2026-07-15 08:04:13 +05:30
..
8xx powerpc/8xx: implement get_direction() in cpm1 2026-06-08 15:54:57 +05:30
44x powerpc/warp: Fix error handling in pika_dtm_thread 2026-05-12 11:49:30 +05:30
52xx powerpc/52xx/mpc52xx_gpt: consolidate chained IRQ handler install/remove 2026-04-01 09:21:05 +05:30
82xx powerpc: 82xx: fix uninitialized pointers with free attribute 2026-05-12 11:48:47 +05:30
83xx Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
85xx powerpc/85xx: Add fsl,ifc to common device ids 2026-07-15 08:03:28 +05:30
86xx Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
512x (powerpc/512) Fix possible dma_unmap_single() on uninitialized pointer 2025-07-09 09:15:10 +05:30
amigaone irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
book3s mm: rename zap_vma_pages() to zap_vma() 2026-04-05 13:53:14 -07:00
cell powerpc/spufs: fix out-of-bounds access in spufs_mem_mmap_access() 2026-07-13 15:10:04 +05:30
chrp irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
embedded6xx powerpc: Move GameCube/Wii options under EMBEDDED6xx 2026-04-01 09:21:05 +05:30
microwatt powerpc/microwatt: Add SMP support 2025-02-26 21:16:48 +05:30
pasemi powerpc/pasemi: Drop redundant res assignment 2026-05-06 07:49:19 +05:30
powermac powerpc/powermac: Remove pmac_low_i2c_{lock,unlock}() 2026-05-12 11:50:09 +05:30
powernv pci-v7.2-changes 2026-06-24 12:48:43 -07:00
ps3 powerpc: use sysfs_emit{_at} in sysfs show functions 2026-06-02 11:24:32 +05:30
pseries powerpc/pseries: fix memory leak on krealloc failure in papr_init 2026-07-15 08:04:13 +05:30
fsl_uli1575.c
Kconfig soc: driver updates for 6.18 2025-10-01 17:32:51 -07:00
Kconfig.cputype powerpc/e500: Always use 64 bits PTE 2026-03-04 11:05:06 +05:30
Makefile powerpc/64: Remove maple platform 2024-10-29 23:01:52 +11:00