summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2025-04-17 18:09:33 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-04-17 22:15:28 +0300
commit08275e59a75047ba8fc0b9853bfdfc88a124763d (patch)
tree6d5ef5ff6136575b5878512fb70ca024e52c76a5 /scripts/gdb/linux/tasks.py
parent31d1139956112dd047a70b263f4d578921de779a (diff)
downloadlinux-08275e59a75047ba8fc0b9853bfdfc88a124763d.tar.xz
ftrace: Reinitialize hash to EMPTY_HASH after freeing
There's several locations that free a ftrace hash pointer but may be referenced again. Reset them to EMPTY_HASH so that a u-a-f bug doesn't happen. Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://lore.kernel.org/20250417110933.20ab718b@gandalf.local.home Fixes: 0ae6b8ce200d ("ftrace: Fix accounting of subop hashes") Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions