Thread (5 messages) 5 messages, 5 authors, 2021-05-31

Re: [PATCH] mm: hugetlb: fix dissolve_free_huge_page use of tail/head page

From: Oscar Salvador <osalvador@suse.de>
Date: 2021-05-28 07:30:38
Also in: lkml

On Thu, May 27, 2021 at 04:12:25PM -0700, Mike Kravetz wrote:
The routine dissolve_free_huge_page can be passed the tail page of a
hugetlb page.  The tail page is incorrectly passed on to the routines
alloc_huge_page_vmemmap and add_hugetlb_page which expect a hugetlb
head page.

Operating on a tail page instead of head page could result in addressing
exceptions or vmemmap corruption.

Signed-off-by: Mike Kravetz <redacted>
I guess Andrew will squash the changes, but fwiw:

Reviewed-by: Oscar Salvador <osalvador@suse.de>


-- 
Oscar Salvador
SUSE L3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help