[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174672312824.2976395.79446860575493569.git-patchwork-notify@kernel.org>
Date: Thu, 08 May 2025 16:52:08 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Samuel Holland <samuel.holland@...ive.com>
Cc: linux-riscv@...ts.infradead.org, alex@...ti.fr, palmer@...belt.com,
aou@...s.berkeley.edu, bodonnel@...hat.com, charlie@...osinc.com,
conor.dooley@...rochip.com, joel.granados@...nel.org,
paul.walmsley@...ive.com, cuiyunhui@...edance.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm
Hello:
This patch was applied to riscv/linux.git (fixes)
by Alexandre Ghiti <alexghiti@...osinc.com>:
On Wed, 7 May 2025 07:52:18 -0700 you wrote:
> When the prctl() interface for pointer masking was added, it did not
> check that the pointer masking ISA extension was supported, only the
> individual submodes. Userspace could still attempt to disable pointer
> masking and query the pointer masking state. commit 81de1afb2dd1
> ("riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL") disallowed
> the former, as the senvcfg write could crash on older systems.
> PR_GET_TAGGED_ADDR_CTRL state does not crash, because it reads only
> kernel-internal state and not senvcfg, but it should still be disallowed
> for consistency.
>
> [...]
Here is the summary with links:
- riscv: Disallow PR_GET_TAGGED_ADDR_CTRL without Supm
https://git.kernel.org/riscv/c/7f1c3de1370b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists