7.8high
media: mtk-mdp: Fix error handling in probe function
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: media: mtk-mdp: Fix error handling in probe function Add mtk_mdp_unregister_m2m_device() on the error handling path to prevent resource leak. Add check for the return value of vpu_get_plat_device() to prevent null pointer dereference. And vpu_get_plat_device() increases the reference count of the returned platform device. Add platform_device_put() to prevent reference leak.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a before 9d9c67976eda502edc6b3a148a1c5b6a18b69a98, from c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a before 0bc43eaf021347f8d5aba87712c36b799695eec6, from c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a before 9d7962d5c81d6cf3f8dbdb5c71c57600bac5772b, from c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a before 12cafc15d24611bfb43c82877b1bbb7454a85d5a, from c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a before c8737d33d4e8ffae87e5d5edac17f8a705235cc2, from c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a before b3fc99fe5b25613dd61c57bc70b8479adff4f60d, from c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a before 2e8f53a7382943411557e370f1a4f3946624a30e, from c8eb2d7e8202fd9cb912f5d33cc34ede66dcb24a before 8a8a3232abac5b972058a5f2cb3e33199d2a8648 and 1 more Not affected: before 4.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 4.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: mtk-mdp: Fix error handling in probe function Add mtk_mdp_unregister_m2m_device() on the error handling path to prevent resource leak. Add check for the return value of vpu_get_plat_device() to prevent null pointer dereference. And vpu_get_plat_device() increases the reference count of the returned platform device. Add platform_device_put() to prevent reference leak.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: media: mtk-mdp: Corregir el manejo de errores en la función de sondeo Añadir mtk_mdp_unregister_m2m_device() en la ruta de manejo de errores para prevenir una fuga de recursos. Añadir una comprobación para el valor de retorno de vpu_get_plat_device() para prevenir la desreferenciación de puntero nulo. Y vpu_get_plat_device() incrementa el contador de referencias del dispositivo de plataforma devuelto. Añadir platform_device_put() para prevenir una fuga de referencias.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43207 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2026-43207 changed 2026-11-11 | Public domain |