[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<174672313099.2976395.17884540800538496278.git-patchwork-notify@kernel.org>
Date: Thu, 08 May 2025 16:52:10 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Nam Cao <namcao@...utronix.de>
Cc: linux-riscv@...ts.infradead.org, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu, alex@...ti.fr,
samuel.holland@...ive.com, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH] riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL
Hello:
This patch was applied to riscv/linux.git (fixes)
by Alexandre Ghiti <alexghiti@...osinc.com>:
On Sun, 4 May 2025 12:19:20 +0200 you wrote:
> When userspace does PR_SET_TAGGED_ADDR_CTRL, but Supm extension is not
> available, the kernel crashes:
>
> Oops - illegal instruction [#1]
> [snip]
> epc : set_tagged_addr_ctrl+0x112/0x15a
> ra : set_tagged_addr_ctrl+0x74/0x15a
> epc : ffffffff80011ace ra : ffffffff80011a30 sp : ffffffc60039be10
> [snip]
> status: 0000000200000120 badaddr: 0000000010a79073 cause: 0000000000000002
> set_tagged_addr_ctrl+0x112/0x15a
> __riscv_sys_prctl+0x352/0x73c
> do_trap_ecall_u+0x17c/0x20c
> andle_exception+0x150/0x15c
>
> [...]
Here is the summary with links:
- riscv: Fix kernel crash due to PR_SET_TAGGED_ADDR_CTRL
https://git.kernel.org/riscv/c/ae08d55807c0
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