On Tue, Aug 8, 2017 at 9:38 AM, Hannes Frederic Sowa <[email protected]> wrote: > Tom Herbert <[email protected]> writes: > >> +#ifdef CONFIG_MODULES >> + if (!ulp && capable(CAP_NET_ADMIN)) { >> + rcu_read_unlock(); >> + request_module("%s", name); >> + rcu_read_lock(); >> + ulp = ulp_find(name); >> + } >> +#endif > > It looks to me that this allows users with only CAP_NET_ADMIN > privileges to load every module?
It's a carryover. Probably should remove the check. Tom
