media: cx23885: unregister DVB bus when SP2 CI setup fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cbe537c64b8fb1d0cf4bee20f89204fa51e384e5, Kernel 22f552ff726a82a086be4ef02ce5099a0e8624b6, Kernel 262bca0d6761f4fd8755e8e223ea666d6cb81f1b and 4 more.
In the Linux kernel, the following vulnerability has been resolved: media: cx23885: unregister DVB bus when SP2 CI setup fails The DVBSKY S950C, DVBSKY T980C and TechnoTrend CT2-4500 CI paths register the DVB bus before attaching their SP2 CI client. If that client cannot be created, bound, or pinned, the current error path removes the I2C frontend components and only deallocates the frontend list, leaving the registered DVB adapter behind. Removing an I2C demod before unregistering the DVB bus can also expose the use-after-free ordering fixed for the normal remove path. Unregister the DVB bus immediately when SP2 CI setup fails, before the existing I2C client cleanup. The bus helper empties the frontend list, so the later frontend deallocation has nothing left to release. Keep failures from vb2_dvb_register_bus() on the existing cleanup path. Also release an unbound SP2 client and propagate the actual I2C creation or CI registration error. This issue was identified during our ongoing static-analysis research while reviewing kernel code.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2b0aac3011bc7a9db27791bed4978554263ef079 <cbe537c64b8fb1d0cf4bee20f89204fa51e384e5, >=2b0aac3011bc7a9db27791bed4978554263ef079 <22f552ff726a82a086be4ef02ce5099a0e8624b6, >=2b0aac3011bc7a9db27791bed4978554263ef079 <262bca0d6761f4fd8755e8e223ea666d6cb81f1b, >=2b0aac3011bc7a9db27791bed4978554263ef079 <47b32af13359e1bf859a449daa7a1b389bd93cb9, =4.0 | cbe537c64b8fb1d0cf4bee20f89204fa51e384e5, 22f552ff726a82a086be4ef02ce5099a0e8624b6, 262bca0d6761f4fd8755e8e223ea666d6cb81f1b, 47b32af13359e1bf859a449daa7a1b389bd93cb9 |
| linux-kernel: Kernel | >=6.13.0 <6.18.61, >=6.19.0 <7.3.2, >=4.0.0 <6.12.117 | 6.18.61, 7.3.2, 6.12.117 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket