Re: Linux 6.1.165
From: Peter Schneider
Date: Wed Mar 04 2026 - 12:28:32 EST
Hi Sasha,
Am 04.03.2026 um 14:15 schrieb Sasha Levin:
I'm announcing the release of the 6.1.165 kernel.
All users of the 6.1 kernel series must upgrade.
The updated 6.1.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-6.1.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
Thanks,
Sasha
In the now released 6.1.165, I get the same build error as I have reported in the 1st incarnation of 6.1.165-rc2 (see [1])
CC arch/x86/kernel/setup.o
arch/x86/kernel/setup.c: In function ‘ima_get_kexec_buffer’:
arch/x86/kernel/setup.c:385:15: error: implicit declaration of function ‘ima_validate_range’ [-Wimplicit-function-declaration]
385 | ret = ima_validate_range(ima_kexec_buffer_phys, ima_kexec_buffer_size);
| ^~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:250: arch/x86/kernel/setup.o] Fehler 1
make[2]: *** [scripts/Makefile.build:503: arch/x86/kernel] Fehler 2
make[1]: *** [scripts/Makefile.build:503: arch/x86] Fehler 2
make: *** [Makefile:2025: .] Fehler 2
root@linus:/usr/src/linux-stable# git status
HEAD losgelöst bei v6.1.165
So the offending patch seems to be still in, although in the 2nd incarnation of -rc2 which you force pushed over the 1st one of -rc2, it was then reverted after my report [2]. When i git blame arch/x86/kernel/setup.c and look at the offending line I see:
37f18915a261a arch/x86/kernel/setup.c (Harshit Mogalapalli 2025-12-30 22:16:09 -0800 385) ret = ima_validate_range(ima_kexec_buffer_phys, ima_kexec_buffer_size);
37f18915a261a arch/x86/kernel/setup.c (Harshit Mogalapalli 2025-12-30 22:16:09 -0800 386) if (ret)
37f18915a261a arch/x86/kernel/setup.c (Harshit Mogalapalli 2025-12-30 22:16:09 -0800 387) return ret;
37f18915a261a arch/x86/kernel/setup.c (Harshit Mogalapalli 2025-12-30 22:16:09 -0800 388)
which is this, now with a different commit SHA1: ( in [1] I found it was 73b97ee06bd635433d1c429ecdbc9167da5de588 )
commit 37f18915a261afe84dab462624ed829cddb77a9b
Author: Harshit Mogalapalli <harshit.m.mogalapalli@xxxxxxxxxx>
Date: Tue Dec 30 22:16:09 2025 -0800
x86/kexec: add a sanity check on previous kernel's ima kexec buffer
[ Upstream commit c5489d04337b47e93c0623e8145fcba3f5739efd ]
When the second-stage kernel is booted via kexec with a limiting command
line such as "mem=<size>", the physical range that contains the carried
over IMA measurement list may fall outside the truncated RAM leading to a
kernel panic.
So, somehow this has come back between the new -rc2 and the release?!? But how and why? Did you retest this before the release?
Not good...
[1] https://lore.kernel.org/stable/66461c13-1bb3-473c-b57f-adba9db4f756@xxxxxxxxxxxxxx/
[2] https://lore.kernel.org/stable/a04b1aa6-ba46-4368-9dfe-6320a2dafa79@xxxxxxxxxxxxxx/
Beste Grüße,
Peter Schneider
--
Climb the mountain not to plant your flag, but to embrace the challenge,
enjoy the air and behold the view. Climb it so you can see the world,
not so the world can see you. -- David McCullough Jr.
OpenPGP: 0xA3828BD796CCE11A8CADE8866E3A92C92C3FF244
Download: https://www.peters-netzplatz.de/download/pschneider1968_pub.asc
https://keys.mailvelope.com/pks/lookup?op=get&search=pschneider1968@xxxxxxxxxxxxxx
https://keys.mailvelope.com/pks/lookup?op=get&search=pschneider1968@xxxxxxxxx