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 8678E314D0E for ; Thu, 18 Sep 2025 16:04:49 +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=1758211489; cv=none; b=nMAdgQ9ertVtnilonR1vKZ9Uwtj+ul5eP3Xn8xpMtklA6DPZRs3G0xLR1JX0A0aZmMGL2UNwRuJ3n68Vx8OBlmm8Ih3M4WjHPruUVclBqRVvX/2aajqorHq6xSc9Pl3lXpt1fA/hR54yhXIeiLkazPtQk1qbYcG+n9tKVOEuu9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758211489; c=relaxed/simple; bh=wUvXgv6w+lUqS7tX8oH8Fwvu8JvZzm3rxM47JrLu+7w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dEShGo2VDQcrBaEWxH6AddV8JQyWnFh+QpVphRgLkV0B7PLF6m1bDGL1u0bc6XZHi5te7bb5TzUF7SCnzs3BlG3bevX+rPbqO3gu135y1a6x+0bZENbyPy1XC8SDjHFuTa39I4Ro4byuqSbmt5UH787upvyrF9yS7wAWum6P/xY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wIRPECxp; 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="wIRPECxp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00519C4CEE7; Thu, 18 Sep 2025 16:04:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758211489; bh=wUvXgv6w+lUqS7tX8oH8Fwvu8JvZzm3rxM47JrLu+7w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wIRPECxpXRrkaMIF7q3kfeKZrspB8fuFt5gIcFOP8qgZBfERBWHFe7w7MvsIArIyC cOQ9sVk5nYcnzR88jRTEUKPQrjE6qXoUl5Hx48i1UnYxrP+9OscCKfJ30utiWz/+fw a9nODp6gzWwi9LtlMD5EtYYaqMsh86ljaqtkLz4M= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50415: parisc: led: Fix potential null-ptr-deref in start_task() Date: Thu, 18 Sep 2025 18:04:05 +0200 Message-ID: <2025091854-CVE-2022-50415-9bba@gregkh> X-Mailer: git-send-email 2.51.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=3852; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dW7+Cvm/ZqeqEWs5nYptlTwy2bDdPT5AiP79OAjXNuU=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlndLMynN7+nLh4eUSGefkPE99n/5y/2Aht48pb7f7Gd /uEu58ndMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEoh4zzI8OypO6P0n83bkN xnwLMvW8bhtXFzAsmC82qX1mYNC/BR7zpgV/j6zSU5rsDQA= 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: parisc: led: Fix potential null-ptr-deref in start_task() start_task() calls create_singlethread_workqueue() and not checked the ret value, which may return NULL. And a null-ptr-deref may happen: start_task() create_singlethread_workqueue() # failed, led_wq is NULL queue_delayed_work() queue_delayed_work_on() __queue_delayed_work() # warning here, but continue __queue_work() # access wq->flags, null-ptr-deref Check the ret value and return -ENOMEM if it is NULL. The Linux kernel CVE team has assigned CVE-2022-50415 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.15 with commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 and fixed in 4.9.337 with commit c6db0c32f39684c89c97bc1ba1c9c4249ca09e48 Issue introduced in 2.6.15 with commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 and fixed in 4.14.303 with commit fc6d0f65f22040c6cc8a5ce032bf90252629de50 Issue introduced in 2.6.15 with commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 and fixed in 4.19.270 with commit fc307b2905a3dd75c50a53b4d87ac9c912fb7c4e Issue introduced in 2.6.15 with commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 and fixed in 5.4.229 with commit 5e4500454d75dd249be4695d83afa3ba0724c37e Issue introduced in 2.6.15 with commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 and fixed in 5.10.163 with commit 3505c187b86136250b39e62c72a3a70435277af6 Issue introduced in 2.6.15 with commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 and fixed in 5.15.87 with commit ac838c663ba1fd6bff35a817fd89a47ab55e88e0 Issue introduced in 2.6.15 with commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 and fixed in 6.0.18 with commit 77f8b628affaec692d83ad8bfa3520db8a0cc493 Issue introduced in 2.6.15 with commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 and fixed in 6.1.4 with commit 67c98fec87ed76b1feb2ae810051afd88dfa9df6 Issue introduced in 2.6.15 with commit 3499495205a676d85fcc2f3c28e35ec9b43c47e3 and fixed in 6.2 with commit 41f563ab3c33698bdfc3403c7c2e6c94e73681e4 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-2022-50415 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/parisc/led.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/c6db0c32f39684c89c97bc1ba1c9c4249ca09e48 https://git.kernel.org/stable/c/fc6d0f65f22040c6cc8a5ce032bf90252629de50 https://git.kernel.org/stable/c/fc307b2905a3dd75c50a53b4d87ac9c912fb7c4e https://git.kernel.org/stable/c/5e4500454d75dd249be4695d83afa3ba0724c37e https://git.kernel.org/stable/c/3505c187b86136250b39e62c72a3a70435277af6 https://git.kernel.org/stable/c/ac838c663ba1fd6bff35a817fd89a47ab55e88e0 https://git.kernel.org/stable/c/77f8b628affaec692d83ad8bfa3520db8a0cc493 https://git.kernel.org/stable/c/67c98fec87ed76b1feb2ae810051afd88dfa9df6 https://git.kernel.org/stable/c/41f563ab3c33698bdfc3403c7c2e6c94e73681e4