[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <000001dc7757$af3294a0$0d97bde0$@samsung.com>
Date: Sun, 28 Dec 2025 02:38:59 +0900
From: "Seongsu Park" <sgsu.park@...sung.com>
To: "'Yeo Reum Yun'" <YeoReum.Yun@....com>
Cc: "'Catalin Marinas'" <Catalin.Marinas@....com>, <will@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] arm64: Fix PIE_E1 mapping for _PAGE_READONLY_EXEC
Hi Yeoreum,
> NIT: This looks like it allows executing user code from the kernel.
> Why is this necessary?
Good Catch. You're absolutely right.
I misunderstood how PIE separates EL0/EL1 permissions.
The kernel should only have read access to the executing user code pages.
The original PIE_EL1 mapping to PIE_R is correct.
My patch would be a security regression. Please disregard.
Thanks for the careful review,
Seongsu Park.
Powered by blists - more mailing lists