Commit 19bd7597 authored by Gyeyoung Baek's avatar Gyeyoung Baek Committed by Greg Kroah-Hartman
Browse files

genirq/irq_sim: Initialize work context pointers properly



[ Upstream commit 8a2277a3 ]

Initialize `ops` member's pointers properly by using kzalloc() instead of
kmalloc() when allocating the simulation work context. Otherwise the
pointers contain random content leading to invalid dereferencing.

Signed-off-by: default avatarGyeyoung Baek <gye976@gmail.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250612124827.63259-1-gye976@gmail.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c584b9b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment