• Bug#1086028: Please apply 8fa507083388 ("mm/memory: Use exception ip to

    From Greg Kroah-Hartman@21:1/5 to Salvatore Bonaccorso on Wed Mar 5 15:20:01 2025
    XPost: linux.debian.ports.mips, linux.debian.kernel

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)