Re: "kernel BUG in update_and_free_pages_bulk" in Linux Kernel v6.12-rc4

Muchun Song
2025-01-15T09:10:35Z

> On Jan 15, 2025, at 12:42, Yu Zhao <yuzhao@google.com> wrote:
>
> On Tue, Jan 14, 2025 at 8:45 PM Muchun Song <muchun.song@linux.dev> wrote:
>>
>>
>>
>>> On Jan 15, 2025, at 10:17, cheung wall <zzqq0103.hey@gmail.com> wrote:
>>>
>>> Hello,
>>>
>>> I am writing to report a potential vulnerability identified in the
>>> Linux Kernel version v6.12-rc4. This vulnerability was discovered
>>> while i was testing the kernel.
>>
>> Thanks for your report. I'll fix it later.
>>
>> Thanks,
>> Muchun
>>
>>>
>>> Linux Kernel Repository Git Commit:
>>> 42f7652d3eb527d03665b09edac47f85fb600924 (tag: v6.12-rc4)
>>>
>>> Bug Location: update_and_free_pages_bulk+0x657/0x810 mm/hugetlb.c:1860
>>>
>>> Bug report: https://pastebin.com/q8J3z5Gq
>>>
>>> Entire Log: https://pastebin.com/AQF101kq
>>>
>>> Thank you for your time and attention.
>>>
>>> Best regards
>>>
>>> Wall
>
> This was fixed by
> commit 9d08ec41a064 ("mm: allow set/clear page_type again")

Thanks for your reminder. It's really helpful.

Thanks,
Muchun

> and it went into v6.12-rc6.