[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176252582270.594123.5776451852146900691.b4-ty@kernel.org>
Date: Fri, 7 Nov 2025 15:53:48 +0000
From: Will Deacon <will@...nel.org>
To: catalin.marinas@....com,
ryan.roberts@....com,
dev.jain@....com,
punit.agrawal@....qualcomm.com,
Yang Shi <yang@...amperecomputing.com>
Cc: kernel-team@...roid.com,
Will Deacon <will@...nel.org>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [v2 PATCH] arm64: kprobes: check the return value of set_memory_rox()
On Tue, 04 Nov 2025 13:49:47 -0800, Yang Shi wrote:
> Since commit a166563e7ec3 ("arm64: mm: support large block mapping when
> rodata=full"), __change_memory_common has more chance to fail due to
> memory allocation failure when splitting page table. So check the return
> value of set_memory_rox(), then bail out if it fails otherwise we may have
> RW memory mapping for kprobes insn page.
>
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: kprobes: check the return value of set_memory_rox()
https://git.kernel.org/arm64/c/0ec364c0c95f
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists