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-prev] [day] [month] [year] [list]
Date:   Tue, 12 Oct 2021 09:46:56 +0100
From:   Will Deacon <will@...nel.org>
To:     catalin.marinas@....com, Sumit Garg <sumit.garg@...aro.org>
Cc:     kernel-team@...roid.com, Will Deacon <will@...nel.org>,
        linux-kernel@...r.kernel.org, llvm@...ts.linux.dev,
        samitolvanen@...gle.com, mingo@...hat.com, rostedt@...dmis.org,
        daniel.thompson@...aro.org, ndesaulniers@...gle.com,
        ben.dai@...soc.com, nathan@...nel.org, keescook@...omium.org,
        mark.rutland@....com, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v3] arm64: ftrace: use function_nocfi for _mcount as well

On Mon, 11 Oct 2021 18:20:59 +0530, Sumit Garg wrote:
> Commit 800618f955a9 ("arm64: ftrace: use function_nocfi for ftrace_call")
> only fixed address of ftrace_call but address of _mcount needs to be
> fixed as well. Use function_nocfi() to get the actual address of _mcount
> function as with CONFIG_CFI_CLANG, the compiler replaces function pointers
> with jump table addresses which breaks dynamic ftrace as the address of
> _mcount is replaced with the address of _mcount.cfi_jt.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: ftrace: use function_nocfi for _mcount as well
      https://git.kernel.org/arm64/c/de56379f21c7

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ