Modules changes for v7.2-rc1
The following changes since commit e7ae89a0c97ce2b68b0983cd01eda67cf373517d:
Linux 7.1-rc5 (2026-05-24 13:48:06 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.git tags/modules-7.2-rc1
for you to fetch changes up to 36d6b929bb0c7cc1cc742d9b5805537d3b651094:
rust: module_param: add missing newline to pr_warn_once (2026-06-04 16:42:34 +0000)
----------------------------------------------------------------
Modules changes for v7.2-rc1
- Add a missing return value check for module_extend_max_pages() to prevent a kernel oops on memory allocation failure.
- Force sh_addr to 0 for architecture-specific module sections on arm, arm64, m68k, and riscv. This prevents non-zero section addresses when linking modules with ld.bfd -r, which may cause tools to misbehave and result in worse compressibility.
- Replace pr_warn! with pr_warn_once! for set_param null pointer warnings in Rust abstractions, now that the _once variant is available.
Note that as part of our maintainer rotation, Petr Pavlu will be taking over module subsystem pull requests for the next six months.
----------------------------------------------------------------
Andreas Hindborg (1):
rust: module_param: use pr_warn_once! for null pointer warning
Andrii Kuchmenko (1):
module: decompress: check return value of module_extend_max_pages()
Kenny Glowner (1):
rust: module_param: add missing newline to pr_warn_once
Petr Pavlu (4):
module, arm: force sh_addr=0 for arch-specific sections module, arm64: force sh_addr=0 for arch-specific sections module, m68k: force sh_addr=0 for arch-specific sections module, riscv: force sh_addr=0 for arch-specific sections
arch/arm/include/asm/module.lds.h | 4 ++-- arch/arm64/include/asm/module.lds.h | 4 ++-- arch/m68k/include/asm/module.lds.h | 2 +- arch/riscv/include/asm/module.lds.h | 6 +++--- kernel/module/decompress.c | 2 ++ rust/kernel/module_param.rs | 3 +-- 6 files changed, 11 insertions(+), 10 deletions(-)
The pull request you sent on Mon, 15 Jun 2026 15:55:17 +0000:
The pull request you sent on Mon, 15 Jun 2026 15:55:17 +0000:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux.gittags/modules-7.2-rc1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8479bb8c44fdabe3d123735347af95002828d112
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html