CVE-2025-40156

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxe09bd5757b5227d6804b30c58d4587f7f87d1afa < 9cc23e221f392304b7b8aad213812564ddf6517eaffected
LinuxLinuxe09bd5757b5227d6804b30c58d4587f7f87d1afa < 80eab6a9df7e1107dc334434dbacd05297703377affected
LinuxLinuxe09bd5757b5227d6804b30c58d4587f7f87d1afa < 44e32104cf7e670e3d683c97b52350d8fac23322affected
LinuxLinuxe09bd5757b5227d6804b30c58d4587f7f87d1afa < 24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0affected
LinuxLinuxe09bd5757b5227d6804b30c58d4587f7f87d1afa < fc33bf0e097c6834646b98a7b3da0ae5b617f0f9affected
LinuxLinux6.1affected
LinuxLinux0 < 6.1unaffected
LinuxLinux6.1.156 <= 6.1.*unaffected
LinuxLinux6.6.112 <= 6.6.*unaffected
LinuxLinux6.12.53 <= 6.12.*unaffected
LinuxLinux6.17.3 <= 6.17.*unaffected
LinuxLinux6.18 <= *unaffected

Weaknesses

References