# CVE-2025-40156: PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-11-12T10:23:28.994Z
- Modified: 2026-10-19T21:10:00.160Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)

## References

- <https://git.kernel.org/stable/c/9cc23e221f392304b7b8aad213812564ddf6517e>
- <https://git.kernel.org/stable/c/80eab6a9df7e1107dc334434dbacd05297703377>
- <https://git.kernel.org/stable/c/44e32104cf7e670e3d683c97b52350d8fac23322>
- <https://git.kernel.org/stable/c/24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0>
- <https://git.kernel.org/stable/c/fc33bf0e097c6834646b98a7b3da0ae5b617f0f9>

## Sources

- CVE List: [CVE-2025-40156](https://www.cve.org/CVERecord?id=CVE-2025-40156), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40156](https://nvd.nist.gov/vuln/detail/CVE-2025-40156), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40156 · Whole record: https://cve.day/CVE-2025-40156.json · Rebuilt by cve.day 2026-11-25T22:59:07.559Z
