lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230601121001.1071533-1-masahiroy@kernel.org>
Date:   Thu,  1 Jun 2023 21:09:54 +0900
From:   Masahiro Yamada <masahiroy@...nel.org>
To:     linux-kbuild@...r.kernel.org
Cc:     linux-kernel@...r.kernel.org, Ard Biesheuvel <ardb@...nel.org>,
        linux-arm-kernel@...ts.infradead.org,
        Russell King <linux@...linux.org.uk>,
        Masahiro Yamada <masahiroy@...nel.org>,
        "David A. Long" <dave.long@...aro.org>,
        Nathan Chancellor <nathan@...nel.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        Nicolas Schier <nicolas@...sle.eu>,
        Russell King <rmk+kernel@....linux.org.uk>,
        Rusty Russell <rusty@...tcorp.com.au>,
        Sam Ravnborg <sam@...nborg.org>,
        Tony Lindgren <tony@...mide.com>
Subject: [PATCH 0/7] modpost: fix section mismatch detection for ARM

addend_arm_rel() is completely, entirely bogus.

Fix the code, and also catch more section mismatches.

I confirmed this series is cleanly applicable to linux-next 20230601.



Masahiro Yamada (7):
  modpost: fix section mismatch message for R_ARM_ABS32
  modpost: fix section mismatch message for R_ARM_{PC24,CALL,JUMP24}
  modpost: detect section mismatch for R_ARM_{MOVW_ABS_NC,MOVT_ABS}
  modpost: refactor find_fromsym() and find_tosym()
  modpost: detect section mismatch for R_ARM_THM_{MOVW_ABS_NC,MOVT_ABS}
  modpost: fix section_mismatch message for
    R_ARM_THM_{CALL,JUMP24,JUMP19}
  modpost: detect section mismatch for R_ARM_REL32

 scripts/mod/modpost.c | 193 ++++++++++++++++++++++++++++--------------
 1 file changed, 129 insertions(+), 64 deletions(-)

-- 
2.39.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ