Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-40156

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to < 9cc23e221f392304b7b8aad213812564ddf6517eaffected
  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to < 80eab6a9df7e1107dc334434dbacd05297703377affected
  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to < 44e32104cf7e670e3d683c97b52350d8fac23322affected
  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to < 24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0affected
  • e09bd5757b5227d6804b30c58d4587f7f87d1afa to < fc33bf0e097c6834646b98a7b3da0ae5b617f0f9affected

Linux Linux

Default version status: affected

  • 6.1affected
  • 0 to < 6.1unaffected
  • 6.1.156 to ≤ 6.1.*unaffected
  • 6.6.112 to ≤ 6.6.*unaffected
  • 6.12.53 to ≤ 6.12.*unaffected
  • 6.17.3 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References