{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40156","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T07:20:57.176Z","datePublished":"2025-11-12T10:23:28.994Z","dateUpdated":"2026-05-11T21:43:49.328Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:43:49.328Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nPM / devfreq: mtk-cci: Fix potential error pointer dereference in probe()\n\nThe drv->sram_reg pointer could be set to ERR_PTR(-EPROBE_DEFER) which\nwould lead to a error pointer dereference.  Use IS_ERR_OR_NULL() to check\nthat the pointer is valid."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/devfreq/mtk-cci-devfreq.c"],"versions":[{"version":"e09bd5757b5227d6804b30c58d4587f7f87d1afa","lessThan":"9cc23e221f392304b7b8aad213812564ddf6517e","status":"affected","versionType":"git"},{"version":"e09bd5757b5227d6804b30c58d4587f7f87d1afa","lessThan":"80eab6a9df7e1107dc334434dbacd05297703377","status":"affected","versionType":"git"},{"version":"e09bd5757b5227d6804b30c58d4587f7f87d1afa","lessThan":"44e32104cf7e670e3d683c97b52350d8fac23322","status":"affected","versionType":"git"},{"version":"e09bd5757b5227d6804b30c58d4587f7f87d1afa","lessThan":"24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0","status":"affected","versionType":"git"},{"version":"e09bd5757b5227d6804b30c58d4587f7f87d1afa","lessThan":"fc33bf0e097c6834646b98a7b3da0ae5b617f0f9","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/devfreq/mtk-cci-devfreq.c"],"versions":[{"version":"6.1","status":"affected"},{"version":"0","lessThan":"6.1","status":"unaffected","versionType":"semver"},{"version":"6.1.156","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.112","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.53","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.3","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.1.156"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.6.112"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.12.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.17.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1","versionEndExcluding":"6.18"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/9cc23e221f392304b7b8aad213812564ddf6517e"},{"url":"https://git.kernel.org/stable/c/80eab6a9df7e1107dc334434dbacd05297703377"},{"url":"https://git.kernel.org/stable/c/44e32104cf7e670e3d683c97b52350d8fac23322"},{"url":"https://git.kernel.org/stable/c/24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0"},{"url":"https://git.kernel.org/stable/c/fc33bf0e097c6834646b98a7b3da0ae5b617f0f9"}],"title":"PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe()","x_generator":{"engine":"bippy-1.2.0"}}}}