Files
linux-stable-mirror/arch/powerpc/kernel
Guangshuo Li ca46d2092f powerpc/smp: Add check for kcalloc() failure in parse_thread_groups()
[ Upstream commit 33c1c6d8a2 ]

As kcalloc() may fail, check its return value to avoid a NULL pointer
dereference when passing it to of_property_read_u32_array().

Fixes: 790a1662d3 ("powerpc/smp: Parse ibm,thread-groups with multiple properties")
Cc: stable@vger.kernel.org
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Guangshuo Li <lgs201920130244@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250923133235.1862108-1-lgs201920130244@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:21:51 -05:00
..
2024-09-05 22:25:36 +10:00
2025-08-15 12:14:03 +02:00
2024-06-28 22:28:47 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:47 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:47 +10:00
2024-09-01 20:26:13 -07:00