Re: [PATCH v3 0/6] Fix incorrect access of hugetlb pte entries

From: Will Deacon

Date: Wed Jul 22 2026 - 07:58:20 EST


On Wed, Jul 22, 2026 at 10:03:04AM +0530, Dev Jain wrote:
> @Will if you could edit the commit message with the following userspace visible
> effect:
>
> "On systems where CONT_PTES != CONT_PMDS (meaning page size is 16K), we could collect
> excess a/d bit state, meaning extra work for the kernel. Even worse, we may iterate
> beyond the PTE table and dereference a garbage ptep pointer to access physical
> memory we don't own. Since the ptep pointer is a linear map address, we may run off
> the end of the linear map, dereference a VA not mapped into the kernel pgtables and
> cause kernel panic."

It's sitting on top of for-next/fixes so I can fold that in, thanks.

Will