Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190916110919.htbxxpyn4yjdtaad@gusev>
Date: Mon, 16 Sep 2019 14:09:19 +0300
From: "Alexander V. Gusev" <agusev@...ralinux.ru>
To: lkrg-users@...ts.openwall.com
Subject: lkrg-0.7 lkrg.hide=1 causes LOST MODULE 

Hi!

I am having trouble with sysctl lkrg.hide. lkrg-0.7 is
compiled from source on Debian 10 (4.19.37-5). I insmod
p_lkrg.ko, then do:

  sysctl lrkg.hide=1

In a few seconds lkrg starts complaining that a module has
been lost and is missing from module list. Looks like lkrg
forgot that it's himself that is missing because it just
did hide itself!

Perhaps I am missing something or doing something wrong?

dmesg output is as follows:

[p_lkrg] ALERT !!! FOUND LESS[1] MODULES IN CURRENT SYSTEM IN 
  MODULE LIST[63] THAN IN DB MODULE LIST[64]
[p_lkrg] LOST MODULE:
module at addr[000000002061e0af] module core[000000008fbf4b8b] 
  with size[0x11000] hash[0xd71b46568b40ba8f]
[p_lkrg] ** STRANGE BEHAVIOUR DETECTED - MODULE FOUND IN DB BUT 
  NOT IN OS !! **
              ** RACE CONDITION MIGHT APPEARED WHEN SYSTEM WAS 
              REBUILDING DATABASE **
[p_lkrg] ALERT !!! FOUND LESS[1] MODULES IN CURRENT SYSTEM IN 
KOBJ[63] THAN IN DB KOBJ[64]
[p_lkrg] LOST MODULE:
module at addr[000000002061e0af] module core[000000008fbf4b8b] 
with size[0x11000] hash[0xd71b46568b40ba8f]
[p_lkrg] ** STRANGE BEHAVIOUR DETECTED - MODULE FOUND IN DB BUT 
NOT IN OS !! **
              ** RACE CONDITION MIGHT APPEARED WHEN SYSTEM WAS 
              REBUILDING DATABASE **
[p_lkrg] System is clean!

Thanks!

Powered by blists - more mailing lists

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