diff options
author | Haoxiang Li <haoxiang_li2024@163.com> | 2025-02-17 19:00:17 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-03-06 08:36:12 +0300 |
commit | 7277dd0a0ba4f8259f7abe37c4b7280fbfc2a182 (patch) | |
tree | edfdc40327100ded546e4eac5c92b1763360340e /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 349db086a66051bc6114b64b4446787c20ac3f00 (diff) | |
download | linux-7277dd0a0ba4f8259f7abe37c4b7280fbfc2a182.tar.xz |
m68k: sun3: add check for __pgd_alloc()
Add check for the return value of __pgd_alloc() in pgd_alloc() to prevent
null pointer dereference.
Link: https://lkml.kernel.org/r/20250217160017.2375536-1-haoxiang_li2024@163.com
Fixes: a9b3c355c2e6 ("asm-generic: pgalloc: provide generic __pgd_{alloc,free}")
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Qi Zheng <zhengqi.arch@bytedance.com>
Cc: Sam Creasey <sammy@sammy.net>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions