Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'modules-6.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux

Pull modules fix from Petr Pavlu:
"A single fix to prevent use of an uninitialized completion pointer
when releasing a module_kobject in specific situations.

This addresses a latent bug exposed by commit f95bbfe18512 ("drivers:
base: handle module_kobject creation")"

* tag 'modules-6.15-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/modules/linux:
module: ensure that kobject_put() is safe for module type kobjects

+3 -1
+3 -1
kernel/params.c
··· 943 943 static void module_kobj_release(struct kobject *kobj) 944 944 { 945 945 struct module_kobject *mk = to_module_kobject(kobj); 946 - complete(mk->kobj_completion); 946 + 947 + if (mk->kobj_completion) 948 + complete(mk->kobj_completion); 947 949 } 948 950 949 951 const struct kobj_type module_ktype = {