← CVE Intelligence

CVE-2025-40156

PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected e09bd5757b5227d6804b30c58d4587f7f87d1afa before 9cc23e221f392304b7b8aad213812564ddf6517e; affected e09bd5757b5227d6804b30c58d4587f7f87d1afa before 80eab6a9df7e1107dc334434dbacd05297703377; affected e09bd5757b5227d6804b30c58d4587f7f87d1afa before 44e32104cf7e670e3d683c97b52350d8fac23322; affected e09bd5757b5227d6804b30c58d4587f7f87d1afa before 24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0; affected e09bd5757b5227d6804b30c58d4587f7f87d1afa before fc33bf0e097c6834646b98a7b3da0ae5b617f0f9
Linux / Linuxaffected 6.1; unaffected 0 before 6.1; unaffected 6.1.156 through 6.1.*; unaffected 6.6.112 through 6.6.*; unaffected 6.12.53 through 6.12.*; unaffected 6.17.3 through 6.17.*; unaffected 6.18 through *

CWE

No CWE identifiers supplied.

References