Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 6 Dec 2018 00:37:03 +0100
From: bryn1u85 <m.bryn1u@...il.com>
To: lkrg-users@...ts.openwall.com
Subject: insmod: ERROR: could not insert module output/p_lkrg.ko: No buffer
 space available

Hey guys,

When i want to make insmod after compiled lkrg im getting error like below:

[root@...alhost lkrg-main]# make -j8
> make -C /lib/modules/4.19.5-300.fc29.x86_64/build M=/root/lkrg-main modules
> make[1]: Wejście do katalogu '/usr/src/kernels/4.19.5-300.fc29.x86_64'
>   CC [M]  /root/lkrg-main/src/modules/ksyms/p_resolve_ksym.o
>   CC [M]  /root/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.o
>   CC [M]  /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o
>   CC [M]  /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o
>   CC [M]  /root/lkrg-main/src/modules/kmod/p_kmod.o
>   CC [M]  /root/lkrg-main/src/modules/database/CPU.o
>   CC [M]  /root/lkrg-main/src/modules/database/arch/x86/IDT_MSR_CRx.o
>   CC [M]
> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.o
>   CC [M]  /root/lkrg-main/src/modules/database/arch/p_arch_metadata.o
>   CC [M]  /root/lkrg-main/src/modules/database/p_database.o
>   CC [M]  /root/lkrg-main/src/modules/notifiers/p_notifiers.o
>   CC [M]  /root/lkrg-main/src/modules/self-defense/hiding/p_hiding.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/p_rb_ed_trees/p_rb_ed_pids/p_rb_ed_pids_tree.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_execve/p_sys_execve.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_execveat/p_sys_execveat.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper/p_call_usermodehelper.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_exit/p_do_exit.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_fork/p_do_fork.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setreuid/p_sys_setreuid.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setuid/p_sys_setuid.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresuid/p_sys_setresuid.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsuid/p_sys_setfsuid.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setgid/p_sys_setgid.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setregid/p_sys_setregid.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresgid/p_sys_setresgid.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsgid/p_sys_setfsgid.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_set_current_groups/p_set_current_groups.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_init_module/p_do_init_module.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_finit_module/p_sys_finit_module.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_delete_module/p_sys_delete_module.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_generic_permission/p_generic_permission.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sel_write_enforce/p_sel_write_enforce.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_seccomp/p_seccomp.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_unshare/p_sys_unshare.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_userns_install/p_userns_install.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_sys_capset/p_sys_capset.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_cap_task_prctl/p_cap_task_prctl.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_key_change_session_keyring/p_key_change_session_keyring.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_add_key/p_sys_add_key.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_request_key/p_sys_request_key.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_keyctl/p_sys_keyctl.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_ptrace/p_sys_ptrace.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_execve/p_compat_sys_execve.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_execveat/p_compat_sys_execveat.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_keyctl/p_compat_sys_keyctl.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_ptrace/p_compat_sys_ptrace.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_delete_module/p_compat_sys_delete_module.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_capset/p_compat_sys_capset.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_add_key/p_compat_sys_add_key.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_request_key/p_compat_sys_request_key.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/__x32/p_x32_sys_execve/p_x32_sys_execve.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/__x32/p_x32_sys_execveat/p_x32_sys_execveat.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/__x32/p_x32_sys_keyctl/p_x32_sys_keyctl.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/__x32/p_x32_sys_ptrace/p_x32_sys_ptrace.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_override_creds/p_override_creds.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_revert_creds/p_revert_creds.o
>   CC [M]
> /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.o
>   CC [M]  /root/lkrg-main/src/p_lkrg_main.o
>   LD [M]  /root/lkrg-main/p_lkrg.o
>   Building modules, stage 2.
>   MODPOST 1 modules
>   CC      /root/lkrg-main/p_lkrg.mod.o
>   LD [M]  /root/lkrg-main/p_lkrg.ko
> make[1]: Opuszczenie katalogu '/usr/src/kernels/4.19.5-300.fc29.x86_64'
> mkdir -p output
> cp /root/lkrg-main/p_lkrg.ko output
>
> *[root@...alhost lkrg-main]# insmod output/p_lkrg.ko
> p_init_log_level=3insmod: ERROR: could not insert module output/p_lkrg.ko:
> No buffer space available*
> [root@...alhost lkrg-main]#


Kernel version:

[root@...alhost lkrg-main]# uname -a
> Linux localhost.localdomain 4.19.5-300.fc29.x86_64 #1 SMP Tue Nov 27
> 19:29:23 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> [root@...alhost lkrg-main]#



What am i doing wrong ?

Thanks !

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.