summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/interrupts.py
diff options
context:
space:
mode:
authorZhen Ni <zhen.ni@easystack.cn>2025-09-23 14:21:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-15 13:00:24 +0300
commitc9b6d789591f2bd57b0cbd59592493e11e029ed4 (patch)
treedfbe82530f68841c87bc02e851aca5b1a8ad6993 /scripts/gdb/linux/interrupts.py
parentaffc03d44921f493deaae1d33151e3067a6f9f8f (diff)
downloadlinux-c9b6d789591f2bd57b0cbd59592493e11e029ed4.tar.xz
remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable()
commit d41e075b077142bb9ae5df40b9ddf9fd7821a811 upstream. pru_rproc_set_ctable() accessed rproc->priv before the IS_ERR_OR_NULL check, which could lead to a null pointer dereference. Move the pru assignment, ensuring we never dereference a NULL rproc pointer. Fixes: 102853400321 ("remoteproc: pru: Add pru_rproc_set_ctable() function") Cc: stable@vger.kernel.org Signed-off-by: Zhen Ni <zhen.ni@easystack.cn> Link: https://lore.kernel.org/r/20250923112109.1165126-1-zhen.ni@easystack.cn Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/interrupts.py')
0 files changed, 0 insertions, 0 deletions