Files
linux/kernel
Gyeyoung Baek ec3656a8cb genirq/irq_sim: Initialize work context pointers properly
[ Upstream commit 8a2277a3c9 ]

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: Gyeyoung Baek <gye976@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250612124827.63259-1-gye976@gmail.com
[ The context change is due to the commit 011f583781
("genirq/irq_sim: add an extended irq_sim initializer")
which is irrelevant to the logic of this patch. ]
Signed-off-by: Rahul Sharma <black.hawk@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2026-01-11 15:22:27 +01:00
..
2025-11-24 10:30:06 +01:00
2022-09-26 10:13:13 -07:00
2025-06-27 11:09:03 +01:00
2023-03-24 11:01:29 +01:00
2023-11-28 17:19:40 +00:00
2024-10-17 15:24:37 +02:00
2024-06-12 11:12:52 +02:00
2026-01-11 15:21:17 +01:00