5.5medium
media: i2c/tw9906: Fix potential memory leak in tw9906_probe()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (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/tw9906: Fix potential memory leak in tw9906_probe() In one of the error paths in tw9906_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 a000e9a02b5885b1b69f691c80e346d102f94a88 before e9a490937942f18205dac7b6b192975ef1369ae1, from a000e9a02b5885b1b69f691c80e346d102f94a88 before 9548a8bbf511a252a9848f96220c6b95c9a3b918, from a000e9a02b5885b1b69f691c80e346d102f94a88 before 0c33338514d8246280533a77091e6b6ee548c606, from a000e9a02b5885b1b69f691c80e346d102f94a88 before ccb92def042a3636ed47f25a30bd553788e5191e, from a000e9a02b5885b1b69f691c80e346d102f94a88 before fb09d8b80046216646f1a344410cfa9cfa6c6c7c, from a000e9a02b5885b1b69f691c80e346d102f94a88 before 377a7756914364d72550fc86ca0f404ef1d96141, from a000e9a02b5885b1b69f691c80e346d102f94a88 before 59420d5d9c46b084e21f9ea6ce79fc79ae9e414c, from a000e9a02b5885b1b69f691c80e346d102f94a88 before cad237b6c875fbee5d353a2b289e98d240d17ec8 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/tw9906: Fix potential memory leak in tw9906_probe() In one of the error paths in tw9906_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/tw9906: Soluciona una posible fuga de memoria en tw9906_probe() En una de las rutas de error en tw9906_probe(), la memoria asignada en v4l2_ctrl_handler_init() y v4l2_ctrl_new_std() no es liberada. Soluciona eso llamando a v4l2_ctrl_handler_free() en el gestor en esa ruta de error.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43246 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2026-43246 changed 2026-11-11 | Public domain |