[Bug 14041] New: using modprobe/insmod with compressed modules gives scary kernel warnings
bugzilla at busybox.net
bugzilla at busybox.net
Tue Feb 1 18:48:38 UTC 2022
https://bugs.busybox.net/show_bug.cgi?id=14041
Bug ID: 14041
Summary: using modprobe/insmod with compressed modules gives
scary kernel warnings
Product: Busybox
Version: 1.33.x
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: unassigned at busybox.net
Reporter: nolange79 at gmail.com
CC: busybox-cvs at busybox.net
Target Milestone: ---
I am using kernel 5.4 on x86_64 fro an embedded system.
loading a compressed module will give the kernel log error:
kernel: Module has invalid ELF structures
steps to reproduce are simply:
# busybox insmod nbd.ko.gz
Some points:
this happens with gzip and xz
the util-linux insmod/modprobe work without log entry
the module seems correctly loaded and works.
decompressing the module (with the same busybox executable) and then loading it
will lead to no log entry
# (after unloading the module again)
# busybox gzip -d nbd.ko.gz
# busybox insmod nbd.ko
I dont know if there is any functional issue, but I am tempted to raise
severity since I cant rule it out either.
--- Comment #1 from sylvain.prat at gmail.com ---
I also fell into the problem. I was wondering how alpine linux worked out with
compressed linux modules and I finally found out that they don't use busybox's
modprobe anymore... Since the decompression methods already exist in busybox,
it shouldn't be too hard to implement I guess, but I'm not competent enough to
do it myself.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list