在 2026/10/20 16:09, Mike Rapoport 写道:
> Hi Jinjie,
> 
> Sorry for the delay, it's been really busy time for me.

Hi Mike,

Thank you for the feedback, and no problem at all for the delay.

> 
>> 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.
> 
> It feels like these are three independent series, maybe with slight
> dependencies because they touch related code, but it's not really a
> single series:

Ok, will split this into three independent patch series.

> 
>> 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
> 
> The very similar commits for arm64 and LoongArch imply that that we have
> some code duplication that should be addressed regardless of these

Will clean up the duplicated code in generic kexec first, and then fix
the bugs.

> fixes.
> 

-- 
Best regards,
Jinjie


Reply via email to