5.5medium
media: i2c/tw9903: Fix potential memory leak in tw9903_probe()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: media: i2c/tw9903: Fix potential memory leak in tw9903_probe() In one of the error paths in tw9903_probe(), the memory allocated in v4l2_ctrl_handler_init() and v4l2_ctrl_new_std() is not freed. Fix that by calling v4l2_ctrl_handler_free() on the handler in that error path.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 0890ec19c65def8c8e445931b026e0fa8d809a34 before e54aa17c968c4de2c5f7b7ea390c63d33c07513b, from 0890ec19c65def8c8e445931b026e0fa8d809a34 before 32f0493506313775d3bd448de34762b6538da6bd, from 0890ec19c65def8c8e445931b026e0fa8d809a34 before 92537a15780b6d0281fd8286f93fbc3652e35f48, from 0890ec19c65def8c8e445931b026e0fa8d809a34 before 9cb9eca33d20316ed3c7a938793b8735ac3e128b, from 0890ec19c65def8c8e445931b026e0fa8d809a34 before a114918270f0d95c607d69b03a244e6afe54813f, from 0890ec19c65def8c8e445931b026e0fa8d809a34 before cc7aeed33e4f55c76f35f0fca73e4dfe12a63a3a, from 0890ec19c65def8c8e445931b026e0fa8d809a34 before add02a3fb1fd71b004f0ed824cbac00f850de558, from 0890ec19c65def8c8e445931b026e0fa8d809a34 before 9cea16fea47e5553f51d10957677ff735b1eff03 and 1 more Not affected: before 3.10, from 5.10.252 up to 5.10.*, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.* | CVE List |
| linux linux_kernel | from 3.10 before 5.10.252, from 5.11 before 5.15.202, from 5.16 before 6.1.165, from 6.2 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: media: i2c/tw9903: Fix potential memory leak in tw9903_probe() In one of the error paths in tw9903_probe(), the memory allocated in v4l2_ctrl_handler_init() and v4l2_ctrl_new_std() is not freed. Fix that by calling v4l2_ctrl_handler_free() on the handler in that error path.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: media: i2c/tw9903: Corrección de una posible fuga de memoria en tw9903_probe() En una de las rutas de error en tw9903_probe(), la memoria asignada en v4l2_ctrl_handler_init() y v4l2_ctrl_new_std() no es liberada. Se corrige eso llamando a v4l2_ctrl_handler_free() en el gestor en esa ruta de error.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43218 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43218 changed 2026-11-11 | Public domain |