Thread (41 messages) 41 messages, 5 authors, 15m ago

Re: [PATCH v6 00/14] crash: Fix several bugs

flat view

From: Mike Rapoport <rppt@kernel.org>
Date: 2026-10-08 06:42:51
Also in: driver-core, kexec, lkml, loongarch

Hi Jinjie,

On Thu, Oct 08, 2026 at 09:57:30AM +0800, Jinjie Ruan wrote:
在 2026/9/21 17:04, Jinjie Ruan 写道:
quoted
As Baoquan and Catalin suggested, this patch set fixes
several pre-existing code issues found by Sashiko AI [1][2][3].

The major improvements and fixes included in this series are:
- Fix several memory leaks for arm64, and similar issues on LoongArch.
- Fix out-of-bounds write on 32-bit Highmem for x86.
- Fix TOCTOU race in crash memory range collection.
Hi all,

Gentle ping.

Could anyone take a look or let me know if there's anything
else needed? I can rebase/resend if required.
Sorry for the delay, I was travelling for the past few weeks.
I'm planning to review this next week. 

And we do need acks from arch maintainers for most of the patches in this
series.
quoted
Jinjie Ruan (14):
  kexec: Fix CMA segment address translation with non-zero text_offset
  kexec: Record allocated CMA pages to fix release size mismatch
  kexec: Extract kexec_free_segment_cma() from kimage_free_cma()
  arm64: kexec_file: Fix CMA page leaks in segment placement retry loops
  arm64: kexec_file: Fix elf_headers memory leak in retry loop
  LoongArch: kexec_file: Fix CMA page leaks in segment placement retry
    loops
  LoongArch: kexec_file: Fix elf_headers memory leak in retry loop
  LoongArch: kexec_file: Fix a modified_cmdline leak
  x86/crash: Fix massive out-of-bounds write on 32-bit Highmem
  crash: Extract crash_get_memory_ranges() helper
  crash: Factor out crash_find_elfcorehdr() helper
  crash: Normalize the kexec_load elfcorehdr at load time
  driver core: Add device_hotplug_lock_assert_held() helper
  crash: Fix TOCTOU race in crash memory range collection
-- 
Sincerely yours,
Mike.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help