| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-ID: <2025111258-CVE-2025-40156-3045@gregkh> Date: Wed, 12 Nov 2025 19:24:32 +0900 From: Greg Kroah-Hartman <gregkh@...uxfoundation.org> To: linux-cve-announce@...r.kernel.org Cc: Greg Kroah-Hartman <gregkh@...nel.org> Subject: CVE-2025-40156: PM / devfreq: mtk-cci: Fix potential error pointer dereference in probe() From: Greg Kroah-Hartman <gregkh@...nel.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. The Linux kernel CVE team has assigned CVE-2025-40156 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit e09bd5757b5227d6804b30c58d4587f7f87d1afa and fixed in 6.1.156 with commit 9cc23e221f392304b7b8aad213812564ddf6517e Issue introduced in 6.1 with commit e09bd5757b5227d6804b30c58d4587f7f87d1afa and fixed in 6.6.112 with commit 80eab6a9df7e1107dc334434dbacd05297703377 Issue introduced in 6.1 with commit e09bd5757b5227d6804b30c58d4587f7f87d1afa and fixed in 6.12.53 with commit 44e32104cf7e670e3d683c97b52350d8fac23322 Issue introduced in 6.1 with commit e09bd5757b5227d6804b30c58d4587f7f87d1afa and fixed in 6.17.3 with commit 24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0 Issue introduced in 6.1 with commit e09bd5757b5227d6804b30c58d4587f7f87d1afa and fixed in 6.18-rc1 with commit fc33bf0e097c6834646b98a7b3da0ae5b617f0f9 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-40156 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/devfreq/mtk-cci-devfreq.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/9cc23e221f392304b7b8aad213812564ddf6517e https://git.kernel.org/stable/c/80eab6a9df7e1107dc334434dbacd05297703377 https://git.kernel.org/stable/c/44e32104cf7e670e3d683c97b52350d8fac23322 https://git.kernel.org/stable/c/24d61b6e23d2c7291c528dd43a0bf76b5c05c8f0 https://git.kernel.org/stable/c/fc33bf0e097c6834646b98a7b3da0ae5b617f0f9
Powered by blists - more mailing lists