diff --git a/kernel/module.c b/kernel/module.c index d5938a5c19c47516499ef289b2087620783e23df..4d5c16aae7459306f68c9b08720abe38820b4552 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -2790,7 +2790,7 @@ static struct module *load_module(void __user *umod, } /* This has to be done once we're sure module name is unique. */ - if (!mod->taints) + if (!mod->taints || mod->taints == (1U<taints) + if (!mod->taints || mod->taints == (1U<