Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EAC247BAEC for ; Thu, 1 May 2025 12:57:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104278; cv=none; b=sKVbwZkYlvyqtEViL9uxn+RVzHnbu97Uc+DM5CWTTGLgH2PyZu9i+IO9W0eOk29RbenPnyQ0LnQEDSMK1HSMnDPfALj9vH96+Z3ViccotreU6VXemhroKqX49mfGMdPu2KAKtLmfYYLBajQz4P6rADpdHN2W1Li6CjXJoi5bi/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104278; c=relaxed/simple; bh=O097CatqhZzLvSJHmwqIntfHgkIecAtimy0KRo6nEPg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Qfh2UPQvrq+RRj3ED6XM7Jo1P7HjP41I2A/uwwZaoBk8p2zueki0HbhYJVsDLf5PiGy8deg2bgh8sncXLQg9bBi7U44yQ3Kjh5gXJnIXaRz/t5an1uv9nk2YvEiryg3ExMolRWnWFQ1QivCYL3tSHpSbnRPIaBuP2JWUDkgh5+w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RYJNV81a; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="RYJNV81a" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 61E52C4CEE3; Thu, 1 May 2025 12:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104277; bh=O097CatqhZzLvSJHmwqIntfHgkIecAtimy0KRo6nEPg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=RYJNV81a5J1Hg9wqDM+4hKHafFX2Hq2ERYLpv3bakqWV3ueJYLCCB4h5tmBhFeLfe NkzSGcsfSX7VeXMlzackVk4OGK84qHN0Eu+firaONo34yPRDk24ue2zasxrhduMfjq USX9Ms8qbu0j6j+fWSy6M6KAhWrI8oKQGJDfUVME= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-23146: mfd: ene-kb3930: Fix a potential NULL pointer dereference Date: Thu, 1 May 2025 14:56:26 +0200 Message-ID: <2025050126-CVE-2025-23146-611a@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2926; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cU5Gq1fuRYplClAxm8zsu4E05I8kkXr1s7eukd6pHLo=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnC+VU21/dYqL4R0uiz2dZ7r194ew/XxOvBHGqzDx4se CcqdMKmI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaibcOwYMIbF7WqNNFQ1iS9 LZwVHzfW+T98wDC/YMK3ZN2A5RwLBQN7Crr2mgR1rgkBAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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 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-rc1 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/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