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 B86ED2FBDFD for ; Fri, 24 Apr 2026 14:33:43 +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=1777041223; cv=none; b=TUBgdwhR3e94HKyZUfX3WIfrtCiauP8RN8gPl+tJ1vY9T87f95bQU0LnRRw1qGQBlUOW6rPyBhjp+ZAR5rwkXNchPKecqqtqq1NoP5ei+B6vrt+C0q/P2z+c7pPmcbHr2jnRUApvaEYBLqUHY+j5j0pXrSQVWcyiOUE0kAWXfe0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777041223; c=relaxed/simple; bh=izJZtGa6eqicaK/CNrhzkbFbaUNVeAgPk5ppjEOd9UA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=f8YFu4JA4KUMRN55duf2zvcJ2cwrByLm/0rlFm8+NemCoHBU+IMNiPaoUoYwfqjqtmfJ1U6Txc4AInKEd5zoklp8eBiF3zj47xilt80Wfkudyj9waBNPKRDrGHnLX/iabhDzp3OtoDRN1bZXkbNUT2RNsB4DhAKvCvJvgxkSzlo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Zqobvs5Y; 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="Zqobvs5Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEF9BC19425; Fri, 24 Apr 2026 14:33:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777041223; bh=izJZtGa6eqicaK/CNrhzkbFbaUNVeAgPk5ppjEOd9UA=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Zqobvs5Y7oFCmSzBHspMieK9rfbCjFh/ZhF/YWp1PuuSGF+w0zc/eYKOMmSmTSTt3 Z8bZAMiEWHQusYQc6/BxcDeey+vQM9q0FDETyjOAGiB8+74/fz/G+k1hFa8wNdC/se CNT+UrGtO9nuRgAll1EHpBB4SRsp6qyxeId/gQZ8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31544: firmware: arm_scmi: Fix NULL dereference on notify error path Date: Fri, 24 Apr 2026 16:33:27 +0200 Message-ID: <2026042424-CVE-2026-31544-7fc3@gregkh> X-Mailer: git-send-email 2.53.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2441; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=zRyeyW2YxpaDE9Fl194Hut2+g7BTsJZ8pCLRC1cYmxc=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmv603KtxqmzZd1W7F1beAqv5XbA8z+fpQx1mecb31Ui TWsgnlzRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkK49hvmfhQ7eQ0umW+V4b Zm8tMdH+MvE1K8OCBTwhPpOmCp5lcK2cKOf71uj4FHs2AA== 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: firmware: arm_scmi: Fix NULL dereference on notify error path Since commit b5daf93b809d1 ("firmware: arm_scmi: Avoid notifier registration for unsupported events") the call chains leading to the helper __scmi_event_handler_get_ops expect an ERR_PTR to be returned on failure to get an handler for the requested event key, while the current helper can still return a NULL when no handler could be found or created. Fix by forcing an ERR_PTR return value when the handler reference is NULL. The Linux kernel CVE team has assigned CVE-2026-31544 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit b5daf93b809d13a194f8a8eeacfab1cfa241bbc3 and fixed in 6.18.20 with commit 70d9bd9a2e683afe6200b0c20af22f06f1a199a4 Issue introduced in 6.17 with commit b5daf93b809d13a194f8a8eeacfab1cfa241bbc3 and fixed in 6.19.10 with commit 8414d2800c34528467df23ce6192c254a73e4459 Issue introduced in 6.17 with commit b5daf93b809d13a194f8a8eeacfab1cfa241bbc3 and fixed in 7.0 with commit 555317d6100164748f7d09f80142739bd29f0cda 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-2026-31544 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/firmware/arm_scmi/notify.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/70d9bd9a2e683afe6200b0c20af22f06f1a199a4 https://git.kernel.org/stable/c/8414d2800c34528467df23ce6192c254a73e4459 https://git.kernel.org/stable/c/555317d6100164748f7d09f80142739bd29f0cda