What’s Vulnerable › Vulnerabilities
CVE-2025-40156: PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-11-12 · updated 2026-10-19
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 products
- Linux kernel: 6.1 — fixed in 6.18
How to fix
Upgrade to a fixed version: Linux kernel 6.18. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0
- https://git.kernel.org/stable/c/44e32104cf7e670e3d683c97b52350d8fac23322
- https://git.kernel.org/stable/c/80eab6a9df7e1107dc334434dbacd05297703377
- https://git.kernel.org/stable/c/9cc23e221f392304b7b8aad213812564ddf6517e
- https://git.kernel.org/stable/c/fc33bf0e097c6834646b98a7b3da0ae5b617f0f9
Get alerted when CVE-2025-40156 or the next vulnerability affects your stack