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

Complete UMH support for Linux 5.9+ #19

Open
solardiz opened this issue Oct 19, 2020 · 1 comment
Open

Complete UMH support for Linux 5.9+ #19

solardiz opened this issue Oct 19, 2020 · 1 comment
Assignees
Labels
shortcoming Something is worse than desired

Comments

@solardiz
Copy link
Contributor

solardiz commented Oct 19, 2020

This issue is to track the missing bit of work on UMH mentioned by Adam in PR #18: #18 (comment)

In there, Adam wrote:

I've reviewed last kernel changes and it looks like they removed the call_usermodehelper_setup_file() function. To be able to support that case, blob_to_mnt() function is created:
https://patchwork.kernel.org/project/linux-security-module/patch/87d05mf0j9.fsf_-_@x220.int.ebiederm.org/

I think we can merge your commits as a temporary fix, however, if bpfilter dynamically loads program, it can generate FP:
https://elixir.bootlin.com/linux/latest/source/net/ipv4/bpfilter/sockopt.c#L72
https://elixir.bootlin.com/linux/latest/source/kernel/usermode_driver.c#L12

@solardiz solardiz added the bug Something isn't working label Oct 19, 2020
@solardiz
Copy link
Contributor Author

solardiz commented Apr 16, 2021

Looks like a user faced this issue, but doesn't mind it: https://www.opennet.ru/openforum/vsluhforumID3/123973.html#2

[327045.342864] [p_lkrg] LKRG initialized successfully!
. . .
[422488.049526] [p_lkrg] UMH is executing file from memory...

@solardiz solardiz added shortcoming Something is worse than desired and removed bug Something isn't working labels Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shortcoming Something is worse than desired
Projects
None yet
Development

No branches or pull requests

2 participants