CVE-2025-40156

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

State
Published
Severity
Not scored
Published
Nov 12, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to before 9cc23e221f392304b7b8aad213812564ddf6517eAffected
  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to before 80eab6a9df7e1107dc334434dbacd05297703377Affected
  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to before 44e32104cf7e670e3d683c97b52350d8fac23322Affected
  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to before 24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0Affected
  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to before fc33bf0e097c6834646b98a7b3da0ae5b617f0f9Affected
LinuxLinux
  • 6.1Affected
  • before 6.1Not affected
  • 6.1.156 through 6.1.*Not affected
  • 6.6.112 through 6.6.*Not affected
  • 6.12.53 through 6.12.*Not affected
  • 6.17.3 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.