[PATCH 0/1] Avoid NULL pointer deref in debug stacktrace
Simon Richter
Simon.Richter at hogyros.de
Sat Aug 16 13:56:06 UTC 2025
Hi,
I stumbled across this potential NULL pointer dereference today,
stack_table and stack_hash_mask in lib/stackdepot.c are both zero before
initialization.
This seems to fix it, but changes core kernel config from a module, so it
may not be ideal.
If there is an init call that can be made instead, that is probably a
better solution, but I'm already three layers into debugging :]
Simon
Simon Richter (1):
Initialize stackdepot hash tables
drivers/gpu/drm/xe/Kconfig.debug | 1 +
1 file changed, 1 insertion(+)
--
2.47.2
More information about the Intel-xe
mailing list