media: radio-si476x: Unregister v4l2_device on probe failure
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel cac1c4f08cb2d8beaad16f7ddc7911f3711daa9f, Kernel 436a693af04ffb889aaf87cb69ec1f2b21d3569c, Kernel 4ca9c9f12b1bc341a0a3bbbd2090fd182db53771 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: media: radio-si476x: Unregister v4l2_device on probe failure si476x_radio_probe() registers radio->v4l2dev before allocating the V4L2 controls and before registering the video device. If any of those later steps fails, probe returns through the exit label after freeing only the control handler. A failed probe does not call si476x_radio_remove(), so the v4l2_device_unregister() there is not reached. This leaves the parent device reference taken by v4l2_device_register() behind on the error path. Unregister the V4L2 device in the probe error path after freeing the controls.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=b879a9c2a755d4ddf9e685258de6435710fd2f03 <cac1c4f08cb2d8beaad16f7ddc7911f3711daa9f, >=b879a9c2a755d4ddf9e685258de6435710fd2f03 <436a693af04ffb889aaf87cb69ec1f2b21d3569c, >=b879a9c2a755d4ddf9e685258de6435710fd2f03 <4ca9c9f12b1bc341a0a3bbbd2090fd182db53771, >=b879a9c2a755d4ddf9e685258de6435710fd2f03 <64cb15878b35e5574ff4f80a0b613a79e47867ba, >=b879a9c2a755d4ddf9e685258de6435710fd2f03 <730c235d7d2c80a401dac56b0f5066c889aa442d, >=b879a9c2a755d4ddf9e685258de6435710fd2f03 <7cf393f176317a126d71e88e4b6e25e83499b465, >=b879a9c2a755d4ddf9e685258de6435710fd2f03 <7ef9f1659404544a8dddd68842bafcb4a38197af, >=b879a9c2a755d4ddf9e685258de6435710fd2f03 <828f8d2181aa09ff3d8b67e1d9c92d0dfc81026f, =3.10 | cac1c4f08cb2d8beaad16f7ddc7911f3711daa9f, 436a693af04ffb889aaf87cb69ec1f2b21d3569c, 4ca9c9f12b1bc341a0a3bbbd2090fd182db53771, 64cb15878b35e5574ff4f80a0b613a79e47867ba, 730c235d7d2c80a401dac56b0f5066c889aa442d, 7cf393f176317a126d71e88e4b6e25e83499b465, 7ef9f1659404544a8dddd68842bafcb4a38197af, 828f8d2181aa09ff3d8b67e1d9c92d0dfc81026f |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=3.10.0 <5.10.265 | 5.15.216, 6.1.183, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket