| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-23146: mfd: ene-kb3930: Fix a potential NULL pointer dereference |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| mfd: ene-kb3930: Fix a potential NULL pointer dereference |
| |
| The off_gpios could be NULL. Add missing check in the kb3930_probe(). |
| This is similar to the issue fixed in commit b1ba8bcb2d1f |
| ("backlight: hx8357: Fix potential NULL pointer dereference"). |
| |
| This was detected by our static analysis tool. |
| |
| The Linux kernel CVE team has assigned CVE-2025-23146 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.10 with commit ede6b2d1dfc0d6a7b0b3161a2e911d464e28e0ad and fixed in 5.10.237 with commit 6dc88993ee3fa8365ff6a5d6514702f70ba6863a |
| Issue introduced in 5.10 with commit ede6b2d1dfc0d6a7b0b3161a2e911d464e28e0ad and fixed in 5.15.181 with commit 90ee23c2514a22a9c2bb39a540cbe1c9acb27d0b |
| Issue introduced in 5.10 with commit ede6b2d1dfc0d6a7b0b3161a2e911d464e28e0ad and fixed in 6.1.135 with commit 2edb5b29b197d90b4d08cd45e911c0bcf24cb895 |
| Issue introduced in 5.10 with commit ede6b2d1dfc0d6a7b0b3161a2e911d464e28e0ad and fixed in 6.6.88 with commit ea07760676bba49319d553af80c239da053b5fb1 |
| Issue introduced in 5.10 with commit ede6b2d1dfc0d6a7b0b3161a2e911d464e28e0ad and fixed in 6.12.24 with commit 7b47df6498f223c8956bfe0d994a0e42a520dfcd |
| Issue introduced in 5.10 with commit ede6b2d1dfc0d6a7b0b3161a2e911d464e28e0ad and fixed in 6.13.12 with commit b1758417310d2cc77e52cd15103497e52e2614f6 |
| Issue introduced in 5.10 with commit ede6b2d1dfc0d6a7b0b3161a2e911d464e28e0ad and fixed in 6.14.3 with commit 76d0f4199bc5b51acb7b96c6663a8953543733ad |
| Issue introduced in 5.10 with commit ede6b2d1dfc0d6a7b0b3161a2e911d464e28e0ad and fixed in 6.15 with commit 4cdf1d2a816a93fa02f7b6b5492dc7f55af2a199 |
| |
| 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-23146 |
| 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/mfd/ene-kb3930.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/6dc88993ee3fa8365ff6a5d6514702f70ba6863a |
| https://git.kernel.org/stable/c/90ee23c2514a22a9c2bb39a540cbe1c9acb27d0b |
| https://git.kernel.org/stable/c/2edb5b29b197d90b4d08cd45e911c0bcf24cb895 |
| https://git.kernel.org/stable/c/ea07760676bba49319d553af80c239da053b5fb1 |
| https://git.kernel.org/stable/c/7b47df6498f223c8956bfe0d994a0e42a520dfcd |
| https://git.kernel.org/stable/c/b1758417310d2cc77e52cd15103497e52e2614f6 |
| https://git.kernel.org/stable/c/76d0f4199bc5b51acb7b96c6663a8953543733ad |
| https://git.kernel.org/stable/c/4cdf1d2a816a93fa02f7b6b5492dc7f55af2a199 |