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 EBA162D373E for ; Thu, 3 Jul 2025 08:37:37 +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=1751531858; cv=none; b=ZCt8E3QORucRunxkOrwOeHVWZxWRZuWQMHsKK9lPgHhzL4maJUe+995aiaoJtd3b3/bowxWZxLXF8YOFnA/n6PvbTbHO0lFbMu0iqWP0S/g+5B7XbzE+u3mDrmW52KV/XpRangoihB0kwx8QqV000F5TOEKq+mmVlzSpa9yLXz8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751531858; c=relaxed/simple; bh=XgYC/9zVG86y7cHVsKWtGbF9Eh9CknoH3wZ5VzH6xHA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JiAnII6x6j8iOjU+dyW0YnLVCohpHbtdr4NVs2acWKPCBvlNq4Dr5rXYN4M/Kxo1sGqr/+lGhv8MNrnuKmqXTyY4CrT/4GE9G7HuTTvxejS8bC5DhxEVunt7fGojbDoYd3SkPSZyBlH4djxm+kOjdTOAJuOwkrU8jAv8faOPOTU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=fuGqYYGN; 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="fuGqYYGN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 594DFC4CEEB; Thu, 3 Jul 2025 08:37:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751531857; bh=XgYC/9zVG86y7cHVsKWtGbF9Eh9CknoH3wZ5VzH6xHA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=fuGqYYGNB9gdws5vtzxwUed2VbbSOjqSsQmGXM+htQZDyBufVfnDX/H2qE+Sjoj78 N1D9r2jPAjR0tcavQ8HnkVGKaQXaJoouJpbAhQALWsF0O+sHNznBlYYjN7xclhfuJC vdMQKpdPKnPE1Dw3Wp2R+pEXo1Y92hBgcZTXkQPQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38144: watchdog: lenovo_se30_wdt: Fix possible devm_ioremap() NULL pointer dereference in lenovo_se30_wdt_probe() Date: Thu, 3 Jul 2025 10:36:01 +0200 Message-ID: <2025070334-CVE-2025-38144-036b@gregkh> X-Mailer: git-send-email 2.50.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=2039; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WB3jh79SwNOVMgHh9d02De8pJgUi4ZHjFyuDd48+mHY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlpDtfiUpluHEmerSHZ3T+587zgEwbR529FXkyu6r7ct KxrZsHVjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI198M8zSPJBWz3mnLPLWz Wr9//qEpx99bBjAsuMnHe0nw63PHYMHV579YvmOfWTpDCgA= 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: watchdog: lenovo_se30_wdt: Fix possible devm_ioremap() NULL pointer dereference in lenovo_se30_wdt_probe() devm_ioremap() returns NULL on error. Currently, lenovo_se30_wdt_probe() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_ioremap() to prevent this issue. The Linux kernel CVE team has assigned CVE-2025-38144 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit c284153a2c5537db4fec51ac850c17d2eb1ffcfe and fixed in 6.15.3 with commit 57f7a1da0ec06d8579accaf77762d0128d13e4af Issue introduced in 6.15 with commit c284153a2c5537db4fec51ac850c17d2eb1ffcfe and fixed in 6.16-rc1 with commit a4e2401438a26131ecff9be6a3a1d4cbfea66f9a 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-38144 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/watchdog/lenovo_se30_wdt.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/57f7a1da0ec06d8579accaf77762d0128d13e4af https://git.kernel.org/stable/c/a4e2401438a26131ecff9be6a3a1d4cbfea66f9a