- Apr 25, 2025
-
-
Marco d'Itri authored
-
Marco d'Itri authored
This reverts commit 16a6c7d4. This was only nedeed for a short time because the affected package is not in any release.
-
Marco d'Itri authored
Closes: #1099801
- Apr 13, 2025
-
-
Marco d'Itri authored
-
- Mar 30, 2025
-
-
Marco d'Itri authored
Update to upstream version '34.2' with Debian dir 33f620076384ebbd94ff0c78d1eec9d3d7beeacf
- Mar 28, 2025
-
-
Lucas De Marchi authored
Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com>
-
- Mar 26, 2025
-
-
Tobias Stöckmann authored
Fix another buffer overflow which can happen if no weak dependencies exist. Use the same logic as found in softdep_to_char to cover this case as well. Signed-off-by:
Tobias Stoeckmann <tobias@stoeckmann.org> Link: https://github.com/kmod-project/kmod/pull/327 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com> (cherry picked from commit bb8aa10a)
-
- Mar 25, 2025
-
-
Lucas De Marchi authored
Tweak the autogen.sh so the commands used do not create symlinks and also remove the autom4te.cache dir that was not in the kmod-33 release. This is v34-only since autotools was completely removed from master branch. Closes: https://github.com/kmod-project/kmod/issues/292 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com>
-
Jakub Ślepecki authored
modprobe -c with any sample weakdep command in modprobe.d will overflow memcpy due to size calculation not incorporating trailing null byte, for example: ==462449==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x50200000067b at pc 0x7a83fe6faf59 bp 0x7ffdf6c25060 sp 0x7ffdf6c24808 WRITE of size 12 at 0x50200000067b thread T0 0 0x7b687e6faf58 in memcpy /usr/src/debug/gcc/gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:115 1 0x5e22b821235f in weakdep_to_char ../libkmod/libkmod-config.c:623 2 0x5e22b821235f in weakdep_get_plain_weakdep ../libkmod/libkmod-config.c:1166 3 0x5e22b821d049 in kmod_config_iter_get_value ../libkmod/libkmod-config.c:1317 4 0x5e22b81fd5ec in show_config ../tools/modprobe.c:187 5 0x5e22b81fd5ec in do_modprobe ../tools/modprobe.c:946 6 0x7b687d635487 (/usr/lib/libc.so.6+0x27487) (BuildId: 0b707b217b15b106c25fe51df3724b25848310c0) 7 0x7b687d63554b in __libc_start_main (/usr/lib/libc.so.6+0x2754b) (BuildId: 0b707b217b15b106c25fe51df3724b25848310c0) 8 0x5e22b81da114 in _start ($PWD/kmod+0xaa114) (BuildId: c36444aefc2ca73423765d4ebf017a24e55017ee) May also appear as: *** buffer overflow detected ***: terminated Aborted (core dumped) Signed-off-by:
Jakub Ślepecki <jakub.slepecki@intel.com> Link: https://github.com/kmod-project/kmod/pull/324 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com> Reviewed-by:
Tobias Stoeckmann <tobias@stoeckmann.org> (cherry picked from commit 92f8dc35)
-
Lucas De Marchi authored
Currently failing due to buffer overflow, as reported and fixed in https://github.com/kmod-project/kmod/pull/324 . Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com> Link: https://github.com/kmod-project/kmod/pull/324 (cherry picked from commit 4d8851cb)
-
- Mar 12, 2025
-
-
Marco d'Itri authored
So they will not be deleted if some other package is providing that init script.
- Mar 11, 2025
-
-
Emil Velikov authored
Namely: - ondemand -> on demand - mson -> meson Fixes: 88940379 ("kmod 34") Signed-off-by:
Emil Velikov <emil.l.velikov@gmail.com> Link: https://github.com/kmod-project/kmod/pull/315 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com> (cherry picked from commit ec27bde2)
-
Tobias Stöckmann authored
If the modules.builtin.modinfo file contains valid and invalid lines, it is possible that libkmod leaks memory on error path. Let strbuf API take care to always release strbuf and reset it if allocated heap memory is taken away from it. Signed-off-by:
Tobias Stoeckmann <tobias@stoeckmann.org> Link: https://github.com/kmod-project/kmod/pull/291 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com> (cherry picked from commit 51929659)
-
- Mar 06, 2025
-
-
Marco d'Itri authored
-
Marco d'Itri authored
Update to upstream version '34.1' with Debian dir 9554aac85561ef288a35b5badc0423785f915e80
-
Lucas De Marchi authored
Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com>
- Mar 04, 2025
-
-
Hendrik Donner authored
The path join operator / does not add a leading path seperator. Signed-off-by:
Hendrik Donner <hd@os-cillation.de> Link: https://github.com/kmod-project/kmod/pull/303 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com> (cherry picked from commit 2f5f67e6)
-
Hendrik Donner authored
Some implementations of ln (toybox, busybox) typically only support the short option format, so use it consistently. The short options are already used in other places and it's usually supported on more implementations: -s and -f are POSIX and the few ln that support --relative understand -r. Which are GNU coreutils, the Rust uutils coreutils, toybox (-r only) and there is an old patch for busybox (-r only). The BSDs and MacOS don't seem to support --relative at all. Signed-off-by:
Hendrik Donner <hd@os-cillation.de> Link: https://github.com/kmod-project/kmod/pull/303 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com>
-
- Feb 28, 2025
-
-
Marco d'Itri authored
It stopped been used some time ago.
-
Marco d'Itri authored
Because kmod since 34-1 takes over /usr/share/bash-completion/completions/insmod. Closes: #1098953
-
Marco d'Itri authored
Closes: #1098941
-
Marco d'Itri authored
- Feb 26, 2025
-
-
Lucas De Marchi authored
In order to use dlopen it may be required to link with libdl depending on the libc. Add the proper dependency to fix the build in Debian Bullseye. Closes: https://github.com/kmod-project/kmod/issues/298 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com> Link: https://github.com/kmod-project/kmod/pull/299 (cherry picked from commit bddca5c9)
-
Tobias Stöckmann authored
The release tarballs may already contain symbolic links into the file system for gtk-doc specific files. If gtk-doc is not installed, and thus not desired for building, remove the symbolic links and create empty files instead. Signed-off-by:
Tobias Stoeckmann <tobias@stoeckmann.org> Link: https://github.com/kmod-project/kmod/pull/295 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com> (cherry picked from commit 889473e8)
-
Jan Engelhardt authored
There is no libxz.so; xz produces liblzma.so.N. Signed-off-by:
Jan Engelhardt <jengelh@inai.de> Link: https://github.com/kmod-project/kmod/pull/288 Signed-off-by:
Lucas De Marchi <lucas.de.marchi@gmail.com> (cherry picked from commit 81560482)
-
- Feb 25, 2025
-
-
Marco d'Itri authored
-
Marco d'Itri authored
Wrap riscv_hwprobe(2) on riscv64 systems, which caused the tests to fail.
-
Marco d'Itri authored
They are not available on some architecture.
-
Marco d'Itri authored
-
Marco d'Itri authored
-
Marco d'Itri authored
-
Marco d'Itri authored
Because they depend on a kernel package which is not available anymore.
-
Marco d'Itri authored
Needed to build the test modules.