Skip to content

Kernel panic in 3.4 caused by __user #13

@zetaemme

Description

@zetaemme

Hi, sorry to bother, I'm kind of new to this kind of stuff.

I think I found a problem in the "Hiding a directory" section. If you load the kernel module compiled with the __user keyword in

struct linux_dirent64 __user *dirent = (struct linux_dirent64 *) regs->si;

a kernel panic happens. This can be solved by simply removing the __user keyword, or at least this worked for me.
I'll leave here my system info, in case you want to proceed with a further analysis

OS: ArchLinux
Kernel Version: 5.15.12

Plese, tell me if you need more info about this "problem".

Mattia

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions