[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wjZkusqUg9nt66xYVeXxMcmeOw_-toc=-kwPi5Gad4y1A@mail.gmail.com>
Date: Mon, 28 Jul 2025 17:43:08 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Kees Cook <kees@...nel.org>
Cc: linux-kernel@...r.kernel.org,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, Dan Williams <dan.j.williams@...el.com>,
David Gow <davidgow@...gle.com>, "Gustavo A. R. Silva" <gustavoars@...nel.org>,
Heiko Carstens <hca@...ux.ibm.com>, Huacai Chen <chenhuacai@...ngson.cn>,
Ingo Molnar <mingo@...nel.org>, Jannik Glückert <jannik.glueckert@...il.com>,
kernel test robot <lkp@...el.com>, Lee Jones <lee@...nel.org>,
Linux Kernel Functional Testing <lkft@...aro.org>, Marco Elver <elver@...gle.com>,
Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <n.schier@....de>, Nishanth Menon <nm@...com>,
Ritesh Harjani <ritesh.list@...il.com>, Thorsten Blum <thorsten.blum@...ux.dev>,
Youling Tang <tangyouling@...inos.cn>
Subject: Re: [GIT PULL] hardening updates for v6.17-rc1
On Mon, 28 Jul 2025 at 17:01, Kees Cook <kees@...nel.org> wrote:
>
> Please pull these hardening updates for v6.17-rc1. Some notable things
> that stand out diffstat: there are many scattered changes across arch code
> to clean up __init vs KCOV instrumentation. Most are landing here via
> the hardening tree but 2 landed separately in their respective trees:
> loongarch in v6.16 already, and platform-drivers-x86 that is queued
> for merging:
Is this the cause of the new
section mismatch in reference: volume_set_software_mute+0x6f
(section: .text.unlikely) -> tpacpi_is_lenovo (section: .init.text)
warning?
It does seem to be a preexisting bug, with volume_set_software_mute()
(not init) calling tpacpi_is_lenovo (which is marked __init for some
unknown crazy reason).
I'm just not seeing what changed to *not* inline that trivial
single-instruction thing. So something really bad is happening to the
compiler because of this hardening change.
Linus
Powered by blists - more mailing lists