module: ensure that kobject_put() is safe for module type kobjects
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 31d8df3f303c3ae9115230820977ef8c35c88808, Kernel 5.4.294, Kernel 5.15.183 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: module: ensure that kobject_put() is safe for module type kobjects In 'lookup_or_create_module_kobject()', an internal kobject is created using 'module_ktype'. So call to 'kobject_put()' on error handling path causes an attempt to use an uninitialized completion pointer in 'module_kobject_release()'. In this scenario, we just want to release kobject without an extra synchronization required for a regular module unloading process, so adding an extra check whether 'complete()' is actually required makes 'kobject_put()' safe.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=942e443127e928a5631c3d5102aca8c8b3c2dd98 <31d8df3f303c3ae9115230820977ef8c35c88808, >=3.12 <5.4.294, >=5.11 <5.15.183, >=5.16 <6.1.139, >=5.5 <5.10.238, >=6.13 <6.14.7, >=6.2 <6.6.91, >=6.7 <6.12.29, =6.15, >=942e443127e928a5631c3d5102aca8c8b3c2dd98 <faa9059631d3491d699c69ecf512de9e1a3d6649, >=942e443127e928a5631c3d5102aca8c8b3c2dd98 <f1c71b4bd721a4ea21da408806964b10468623f2, >=942e443127e928a5631c3d5102aca8c8b3c2dd98 <d63851049f412cdfadaeef7a7eaef5031d11c1e9, >=942e443127e928a5631c3d5102aca8c8b3c2dd98 <a6aeb739974ec73e5217c75a7c008a688d3d5cf1, >=942e443127e928a5631c3d5102aca8c8b3c2dd98 <a63d99873547d8b39eb2f6db79dd235761e7098a, >=942e443127e928a5631c3d5102aca8c8b3c2dd98 <9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd, >=942e443127e928a5631c3d5102aca8c8b3c2dd98 <93799fb988757cdacf19acba57807746c00378e6, =3.12 | 31d8df3f303c3ae9115230820977ef8c35c88808, 5.4.294, 5.15.183, 6.1.139, 5.10.238, 6.14.7, 6.6.91, 6.12.29, faa9059631d3491d699c69ecf512de9e1a3d6649, f1c71b4bd721a4ea21da408806964b10468623f2, d63851049f412cdfadaeef7a7eaef5031d11c1e9, a6aeb739974ec73e5217c75a7c008a688d3d5cf1, a63d99873547d8b39eb2f6db79dd235761e7098a, 9e7b49ce4f9d0cb5b6e87db9e07a2fb9e754b0dd, 93799fb988757cdacf19acba57807746c00378e6 |
| debian | debian_linux | =11.0 | |
| linux-kernel: Kernel | >=6.7.0 <6.12.29, >=6.2.0 <6.6.91, >=6.13.0 <6.14.7, >=5.5.0 <5.10.238, >=5.16.0 <6.1.139, >=5.11.0 <5.15.183, >=3.12.0 <5.4.294 | 6.12.29, 6.6.91, 6.14.7, 5.10.238, 6.1.139, 5.15.183, 5.4.294 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket