Git Product home page Git Product logo

Comments (7)

dvyukov avatar dvyukov commented on May 5, 2024

Hi,

There are no known issues with booting KASAN kernels. All configurations we tried work.

Please provide:

  • commit hash/tree
  • compiler version
  • config (the one you referenced contains # CONFIG_KASAN is not set)
  • how you boot it (e.g. qemu command line)

from kernel-sanitizers.

miroR avatar miroR commented on May 5, 2024

The diff btwn that one and a KASAN enabled option one is (open attached file pls):
Kasan_161029_diff.txt

BTW. this: https://lkml.org/lkml/2016/6/21/541 seems to be of your writing. Appears to be the same issue in that Gentoo Bugzilla I gave links to ...

from kernel-sanitizers.

dvyukov avatar dvyukov commented on May 5, 2024

commit hash/tree (I don't understand that, I know the words, but I just set kasan option on in the kernel

How did you obtain kernel sources?
If it is git checkout, then provide output of git remote -v, git branch and git rev-parse HEAD commands.

Also, how you boot it (e.g. qemu command line)?

from kernel-sanitizers.

miroR avatar miroR commented on May 5, 2024

No, not from git. It is a regular hardened-sources Gentoo package:
https://packages.gentoo.org/packages/sys-kernel/hardened-sources
Also, while the bug I gave link to is about libvirt and qemu getting crashed
(
the cause actually likely some use-after-free condition according to PaX Team:
https://bugs.gentoo.org/show_bug.cgi?id=597554#c16
)...
[while the bug is about libvirt and qemu], I got that message on top with the ominous "" blinking forever with regular kernel install, not in VM, and regular booting.
And I can confirm that just adding those same KASAN option into the config file such as the one linked in this issue further above, only with the latest hardened-sources, which is:
4.7.10-r1
also stalls the booting at the ominous "
" as explained on top.
Removing the KASAN options from the .config of 4.7.10-r1 kernel and recompiling, and it boots fine.
What itches me, is, like you wrote:
"The following program triggers use-after-free in kvm_irqfd_release: ..."
so what itches me is what is it that triggers "use-after-free in kvm_irqfd_release:" in my machines?
if I suspect correctly here...

from kernel-sanitizers.

miroR avatar miroR commented on May 5, 2024

I meant, like you wrote:
"The following program triggers use-after-free in kvm_irqfd_release: ..."
in:
https://lkml.org/lkml/2016/6/21/541

from kernel-sanitizers.

dvyukov avatar dvyukov commented on May 5, 2024

What I am looking for is step-by-step reproduction instructions, namely a sequence of commands that can copy-paste into my console to reproduce the issue. I can't debug if I can't reproduce it.
Or you can debug and fix it yourself. As I said there are no similar known issues, so I can't help straight away.

from kernel-sanitizers.

xairy avatar xairy commented on May 5, 2024

Closing, please reopen if the issue persists.

from kernel-sanitizers.

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.