Git Product home page Git Product logo

Comments (15)

solardiz avatar solardiz commented on May 18, 2024 1

Thank you for reporting this and for your analysis, @0xC0ncord. We're trying to get this fixed upstream: https://lists.openwall.net/linux-kernel/2021/01/10/241

from lkrg.

Adam-pi3 avatar Adam-pi3 commented on May 18, 2024 1

@vt-alt you don't need to load any other module after LKRG. If you load LKRG and trigger integrity routine (sysctl lkrg.trigger=1) you should be able to see this issue.

from lkrg.

solardiz avatar solardiz commented on May 18, 2024 1

@vt-alt Adam's reply was specifically to the question about triggering this issue. To have a higher likelihood of detecting potential future issues like this (not exactly this same issue), I think loading another module after LKRG in the integration test is a good idea.

from lkrg.

0xC0ncord avatar 0xC0ncord commented on May 18, 2024

A quick glance at the history for 5.10.5 leads me to believe that this commit is somehow involved.

from lkrg.

0xC0ncord avatar 0xC0ncord commented on May 18, 2024

A quick glance at the history for 5.10.5 leads me to believe that this commit is somehow involved.

I was able to confirm that this is causing the issue. I was able to workaround it for now by reversing this commit on my local kernel build, but this is certainly an issue that needs to be worked around in LKRG now.

from lkrg.

solardiz avatar solardiz commented on May 18, 2024

We got a NAK from Greg KH (not a stable API, no support for out-of-tree kernel code, the new code is correct as-is as far as the kernel is concerned), so Adam now intends to work this issue around in LKRG itself. I think that's fine.

from lkrg.

Adam-pi3 avatar Adam-pi3 commented on May 18, 2024

Fixed by the following commit:
8814ebe

from lkrg.

solardiz avatar solardiz commented on May 18, 2024

FWIW, the kernel change problematic for older LKRG was back-ported to 5.4.87+, so recent LKRG containing Adam's commit referenced above is required for those kernel versions as well.

from lkrg.

solardiz avatar solardiz commented on May 18, 2024

I've just updated the LKRG homepage to say:

"LKRG 0.8.1 supports Linux kernels up to and including 5.7.x, which were the latest at the time of this LKRG release. For Linux 5.8+ or stable 5.4.87+ (which was released after LKRG 0.8.1 and includes some back-ports from Linux 5.8+), a newer LKRG revision off GitHub is required (and we recommend that you use the latest)."

from lkrg.

vt-alt avatar vt-alt commented on May 18, 2024

We want to add a small integration test (in qemu) in ALT for similar cases. How to manually trigger this issue? Just load any other module after p_lkrg is loaded? @wladmis

from lkrg.

vt-alt avatar vt-alt commented on May 18, 2024

@Adam-pi3 Thanks much!

from lkrg.

Emm avatar Emm commented on May 18, 2024

Using 5.14.0-4-amd64 #1 SMP Debian 5.14.16-1 (2021-11-03) x86_64 GNU/Linux and LKRG 0.9.1-5 from https://deb.whonix.org, spurious MODULE KOBJ HASH IS DIFFERENT log messages are still an issue

from lkrg.

solardiz avatar solardiz commented on May 18, 2024

@Emm No, in our understanding it's not "still", but "again" - a different issue that manifests itself the same on 5.14+. We tracked that new issue as #117 and we believe we've fixed it in a9906a6. I guess the Whonix package doesn't have that new fix yet, @adrelanos.

from lkrg.

adrelanos avatar adrelanos commented on May 18, 2024

Indeed. Waiting for next stable release of LKRG and also some sort of signed git commits or git tags would be very helpful. (#67)

from lkrg.

Emm avatar Emm commented on May 18, 2024

@solardiz , thanks for the prompt answer.

from lkrg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.