Skip to contentSkip to conversation

Modules fixes for v7.0-rc3

GIT PULL Merged Sami Tolvanen 2 participants 2 messages Mar 4 – Mar 5

lore
Share & tools
lore
#0 lore raw

The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git tags/modules-7.0-rc3.fixes

for you to fetch changes up to f9d69d5e7bde2295eb7488a56f094ac8f5383b92:

module: Fix kernel panic when a symbol st_shndx is out of bounds (2026-02-23 19:37:28 +0000)

----------------------------------------------------------------
Modules fixes for v7.0-rc3

- Fix a potential kernel panic in the module loader by adding a bounds check for the ELF section index. This prevents crashes if attempting to load a module that uses SHN_XINDEX or is corrupted.

- Fix the Kconfig menu layout for module versioning, signing, and compression options so they correctly appear as submenus in menuconfig.

- Remove a redundant lockdep_free_key_range() call in the load_module() error path. This is already handled by module_deallocate() calling free_mod_mem() since the module_memory rework.

----------------------------------------------------------------
Ihor Solodrai (1):
module: Fix kernel panic when a symbol st_shndx is out of bounds

Petr Pavlu (2):
module: Remove duplicate freeing of lockdep classes
module: Fix the modversions and signing submenus

 kernel/module/Kconfig | 23 +++++++++++++----------
 kernel/module/main.c  | 13 +++++++------
 2 files changed, 20 insertions(+), 16 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Wed, 4 Mar 2026 23:28:58 +0000:

The pull request you sent on Wed, 4 Mar 2026 23:28:58 +0000:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git tags/modules-7.0-rc3.fixes

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/c107785c7e8dbabd1c18301a1c362544b5786282

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html