# git rev-parse -q --verify e8c39d0f57f358950356a8e44ee5159f57f86ec5^{commit} e8c39d0f57f358950356a8e44ee5159f57f86ec5 already have revision, skipping fetch # git checkout -q -f -B kisskb e8c39d0f57f358950356a8e44ee5159f57f86ec5 # git clean -qxdf # < git log -1 # commit e8c39d0f57f358950356a8e44ee5159f57f86ec5 # Merge: 03a55b63919f 325f3fb551f8 # Author: Linus Torvalds # Date: Wed Apr 10 19:48:05 2024 -0700 # # Merge tag 'probes-fixes-v6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace # # Pull probes fixes from Masami Hiramatsu: # "Fix possible use-after-free issue on kprobe registration. # # check_kprobe_address_safe() uses `is_module_text_address()` and # `__module_text_address()` separately. # # As a result, if the probed address is in a module that is being # unloaded, the first `is_module_text_address()` might return true but # then the `__module_text_address()` call might return NULL if the # module has been unloaded between the two. # # The result is that kprobe believes the probe is on the kernel text, # and skips getting a module reference. In this case, when it arms a # breakpoint on the probe address, it may cause a use-after-free. # # To fix this issue, only use `__module_text_address()` once and get a # reference to the module then. If it fails, reject the probe" # # * tag 'probes-fixes-v6.9-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: # kprobes: Fix possible use-after-free issue on kprobe registration # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/xtensa-linux/bin/xtensa-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/xtensa-linux/bin/xtensa-linux-ld --version # < git log --format=%s --max-count=1 e8c39d0f57f358950356a8e44ee5159f57f86ec5 # make -s -j 32 ARCH=xtensa O=/kisskb/build/linus_allmodconfig_xtensa-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/xtensa-linux/bin/xtensa-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig # < make -s -j 32 ARCH=xtensa O=/kisskb/build/linus_allmodconfig_xtensa-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/xtensa-linux/bin/xtensa-linux- help # make -s -j 32 ARCH=xtensa O=/kisskb/build/linus_allmodconfig_xtensa-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/xtensa-linux/bin/xtensa-linux- olddefconfig # make -s -j 32 ARCH=xtensa O=/kisskb/build/linus_allmodconfig_xtensa-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/xtensa-linux/bin/xtensa-linux- /kisskb/src/crypto/scompress.c: In function 'scomp_acomp_comp_decomp': /kisskb/src/crypto/scompress.c:174:38: error: unused variable 'dst_page' [-Werror=unused-variable] 174 | struct page *dst_page = sg_page(req->dst); | ^~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:244: crypto/scompress.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:485: crypto] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:1919: .] Error 2 make[1]: *** [/kisskb/src/Makefile:240: __sub-make] Error 2 make: *** [Makefile:240: __sub-make] Error 2 Command 'make -s -j 32 ARCH=xtensa O=/kisskb/build/linus_allmodconfig_xtensa-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/xtensa-linux/bin/xtensa-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_xtensa-gcc13 # Build took: 0:20:04.174870