Bug#1086028: Please apply 8fa507083388 ("mm/memory: Use exception ip to search exception tables") (and one required dependency) to v6.1.y
- To: Sasha Levin <sashal@kernel.org>, stable <stable@vger.kernel.org>, Sergei Golovan <sgolovan@debian.org>, 1087809@bugs.debian.org, 1086028@bugs.debian.org, 1093200@bugs.debian.org, Jiaxun Yang <jiaxun.yang@flygoat.com>, Thomas Bogendoerfer <tsbogend@alpha.franken.de>, debian-mips@lists.debian.org, Ben Hutchings <benh@debian.org>
- Subject: Bug#1086028: Please apply 8fa507083388 ("mm/memory: Use exception ip to search exception tables") (and one required dependency) to v6.1.y
- From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Date: Wed, 5 Mar 2025 15:09:44 +0100
- Message-id: <[🔎] 2025030537-chance-swizzle-3678@gregkh>
- Reply-to: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, 1086028@bugs.debian.org
- In-reply-to: <Z79tTfjD-rCIa6EV@eldamar.lan>
- References: <Z79tTfjD-rCIa6EV@eldamar.lan> <ZxtbbSyUwcvRSk2P@remnant.pseudorandom.co.uk>
On Wed, Feb 26, 2025 at 08:36:45PM +0100, Salvatore Bonaccorso wrote:
> Hi Greg, hi Sasha
>
> A while back the following regression after 4bce37a68ff8 ("mips/mm:
> Convert to using lock_mm_and_find_vma()") was reported:
> https://lore.kernel.org/all/75e9fd7b08562ad9b456a5bdaacb7cc220311cc9.camel@xry111.site/
> affecting mips64el. This was later on fixed by 8fa507083388
> ("mm/memory: Use exception ip to search exception tables") in 6.8-rc5
> and which got backported to 6.7.6 and 6.6.18.
>
> The breaking commit was part of a series covering a security fix
> (CVE-2023-3269), and landed in 6.5-rc1 and backported to 6.4.1, 6.3.11
> and 6.1.37.
>
> So far 6.1.y remained unfixed and in fact in Debian we got reports
> about this issue seen on the build infrastructure when building
> various packages, details are in:
> https://bugs.debian.org/1086028
> https://bugs.debian.org/1087809
> https://bugs.debian.org/1093200
>
> The fix probably did not got backported as there is one dependency
> missing which was not CC'ed for stable afaics.
>
> Thus, can you please cherry-pick the following two commits please as
> well for 6.1.y?
>
> 11ba1728be3e ("ptrace: Introduce exception_ip arch hook")
> 8fa507083388 ("mm/memory: Use exception ip to search exception tables")
>
> Sergei Golovan confirmed as well by testing that this fixes the seen
> issue as well in 6.1.y, cf. https://bugs.debian.org/1086028#95
>
> Thanks in advance already.
Now queued up, thanks.
greg k-h
Reply to: