Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Kernel Oops on module unload #50

Open
hmwildermuth opened this issue Jul 22, 2019 · 1 comment
Open

Linux Kernel Oops on module unload #50

hmwildermuth opened this issue Jul 22, 2019 · 1 comment
Labels
bug Something isn't working component:kernel Enhancements on the kernel side platform:linux

Comments

@hmwildermuth
Copy link
Contributor

A kernel oops is often caused on module unload. This is because a process can start a faulted blocking syscall, such as wait4 or select, then have the syscall table flushed and the module unloaded, so that when the syscall continues execution it is in the memory where the kernel module once was, causing a page fault.

@hmwildermuth hmwildermuth added bug Something isn't working platform:linux component:kernel Enhancements on the kernel side labels Jul 22, 2019
@woodruffw
Copy link
Member

Hmm, it's not a mitigation, but we could special-case these calls in krfctl and warn the user that enabling them is known to cause this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:kernel Enhancements on the kernel side platform:linux
Projects
None yet
Development

No branches or pull requests

2 participants