Not scored
PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe()
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe() The drv->sram_reg pointer could be set to ERR_PTR(-EPROBE_DEFER) which would lead to a error pointer dereference. Use IS_ERR_OR_NULL() to check that the pointer is valid.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from e09bd5757b5227d6804b30c58d4587f7f87d1afa before 9cc23e221f392304b7b8aad213812564ddf6517e, from e09bd5757b5227d6804b30c58d4587f7f87d1afa before 80eab6a9df7e1107dc334434dbacd05297703377, from e09bd5757b5227d6804b30c58d4587f7f87d1afa before 44e32104cf7e670e3d683c97b52350d8fac23322, from e09bd5757b5227d6804b30c58d4587f7f87d1afa before 24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0, from e09bd5757b5227d6804b30c58d4587f7f87d1afa before fc33bf0e097c6834646b98a7b3da0ae5b617f0f9, 6.1 Not affected: before 6.1, from 6.1.156 up to 6.1.*, from 6.6.112 up to 6.6.*, from 6.12.53 up to 6.12.*, from 6.17.3 up to 6.17.*, from 6.18 up to * | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe() The drv->sram_reg pointer could be set to ERR_PTR(-EPROBE_DEFER) which would lead to a error pointer dereference. Use IS_ERR_OR_NULL() to check that the pointer is valid.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: PM / devfreq: mtk-cci: Corrección de desreferencia potencial de puntero de error en probe() El puntero drv->sram_reg podría ser establecido a ERR_PTR(-EPROBE_DEFER), lo que llevaría a una desreferencia de puntero de error. Usar IS_ERR_OR_NULL() para verificar que el puntero es válido.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40156 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-40156 changed 2026-10-19 | Public domain |