[GIT PULL] Modules updates for v5.16-rc1
From: Luis Chamberlain
Date: Fri Nov 05 2021 - 18:33:51 EST
Hi Linus,
As requested by Jessica, I'm stepping in to help with modules
maintenance. This is my my first pull request, so if there are any
issues with it please let me know so I can fix things for the next
time around to make it even smoother for you.
Nothing exciting here, except a warning enhancement and a fix for
insanely large modules.
Thank you,
Luis
The following changes since commit 7fd982f394c42f25a73fe9dfbf1e6b11fa26b40a:
module: change to print useful messages from elf_validity_check() (2021-11-05 15:13:10 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/ tags/modules-5.16-rc1
for you to fetch changes up to 7fd982f394c42f25a73fe9dfbf1e6b11fa26b40a:
module: change to print useful messages from elf_validity_check() (2021-11-05 15:13:10 -0700)
----------------------------------------------------------------
modules patches for 5.16-rc1
As requested by Jessica I'm stepping in to help with modules
maintenance. This is my first pull request to you.
I've collected only two patches for modules for the 5.16-rc1 merge
window. These patches are from Shuah Khan as she debugged some corner
case error with modules. The error messages are improved for
elf_validity_check(). While doing this work a corner case fix was
spotted on validate_section_offset() due to a possible overflow bug
on 64-bit. The impact of this fix is low given this just limits
module section headers placed within the 32-bit boundary, and we
obviously don't have insane module sizes. Even if a specially crafted
module is constructed later checks would invalidate the module right
away.
I've let this sit through 0-day testing since October 15th with no
issues found.
Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
----------------------------------------------------------------