LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] powerpc/kexec_file: Fix some bugs
@ 2026-07-29  1:29 Jinjie Ruan
  2026-07-29  1:29 ` [PATCH v2 1/3] powerpc/crash: Fix possible memory leak in update_crash_elfcorehdr() Jinjie Ruan
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jinjie Ruan @ 2026-07-29  1:29 UTC (permalink / raw)
  To: maddy, mpe, npiggin, chleroy, sourabhjain, rppt, baoquan.he,
	hbathini, adityag, ritesh.list, bauerman, linuxppc-dev,
	linux-kernel
  Cc: ruanjinjie

Fix some powerpc bugs pointed out by Sashiko AI:
- Memory leak
- Null-ptr-def
- Overlapping memory range truncation .

Link: https://lore.kernel.org/all/20260601094805.2928614-1-ruanjinjie@huawei.com/

Changes in v2:
- Split Powerpc bugfix patch into this separate patch set.
- v1: https://lore.kernel.org/all/20260723131242.1537633-1-ruanjinjie@huawei.com/#t

Jinjie Ruan (3):
  powerpc/crash: Fix possible memory leak in update_crash_elfcorehdr()
  powerpc/kexec_file: Fix null-ptr-def in extra size calculation
  powerpc/kexec_file: Prevent kexec range truncation

 arch/powerpc/kexec/crash.c        |  2 +-
 arch/powerpc/kexec/file_load_64.c |  2 +-
 arch/powerpc/kexec/ranges.c       | 12 +++++-------
 3 files changed, 7 insertions(+), 9 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2026-07-29  7:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-29  1:29 [PATCH v2 0/3] powerpc/kexec_file: Fix some bugs Jinjie Ruan
2026-07-29  1:29 ` [PATCH v2 1/3] powerpc/crash: Fix possible memory leak in update_crash_elfcorehdr() Jinjie Ruan
2026-07-29  1:29 ` [PATCH v2 2/3] powerpc/kexec_file: Fix null-ptr-def in extra size calculation Jinjie Ruan
2026-07-29  4:01   ` Sourabh Jain
2026-07-29  1:29 ` [PATCH v2 3/3] powerpc/kexec_file: Prevent kexec range truncation Jinjie Ruan
2026-07-29  4:43   ` Sourabh Jain
2026-07-29  6:26     ` Jinjie Ruan
2026-07-29  6:44       ` Sourabh Jain
2026-07-29  7:06         ` Jinjie Ruan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox