CVE-2025-40156

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-40156
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40156.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40156
Downstream
Published
2025-11-12T10:23:28.994Z
Modified
2025-11-27T02:33:00.410635Z
Summary
PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

The drv->sramreg pointer could be set to ERRPTR(-EPROBEDEFER) which would lead to a error pointer dereference. Use ISERRORNULL() to check that the pointer is valid.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/cc431b3424123d84bcd7afd4de150b33f117a8ef/cves/2025/40xxx/CVE-2025-40156.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e09bd5757b5227d6804b30c58d4587f7f87d1afa
Fixed
9cc23e221f392304b7b8aad213812564ddf6517e
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e09bd5757b5227d6804b30c58d4587f7f87d1afa
Fixed
80eab6a9df7e1107dc334434dbacd05297703377
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e09bd5757b5227d6804b30c58d4587f7f87d1afa
Fixed
44e32104cf7e670e3d683c97b52350d8fac23322
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e09bd5757b5227d6804b30c58d4587f7f87d1afa
Fixed
24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e09bd5757b5227d6804b30c58d4587f7f87d1afa
Fixed
fc33bf0e097c6834646b98a7b3da0ae5b617f0f9

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.156
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.112
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.53
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.17.3