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 7FB391E7674 for ; Wed, 4 Sep 2024 19:58:17 +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=1725479897; cv=none; b=WDI7JsW4W55bmYnvnWuwMI6p46Dx1Wh81RBbihsnF7DdLpDC43g0rn5gK3+3VOTuo6NaITD9FRwwgAV0RQhd2eMrtXnpc/2xoQ00YXi7SDH3kAw/JgiYLSBTpCh1GhE2G6urXIWER+xb+W2wRFKBY40Rzxw296lGmFB+V9zkfDA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725479897; c=relaxed/simple; bh=dIkHkasrbYsbyhex4x37MHSx6Fygu7kVRg6MkEJlG5Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jeUYkncrQSHTEyabutKNRC+rgx1vzDJJb5DWak0ogIHgqix/0QAWTbHnSP12HnyYYhy5nxIhkVjXIIq1timWaU+BmYp0SaxTSAyD0O1H6oXsjHg9ztqlKgfK5mX4qjJq0V2MStKOxovRmlXks5XjtoAazyOikh+Th859XGO0n0M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dynISNz9; 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="dynISNz9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A83B6C4CEC5; Wed, 4 Sep 2024 19:58:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1725479897; bh=dIkHkasrbYsbyhex4x37MHSx6Fygu7kVRg6MkEJlG5Q=; h=From:To:Cc:Subject:Date:Reply-to:From; b=dynISNz9y9MdYDXng2fyALJvLVBC/tn4eGAyOC7FG092My1FizybFWnvbmrVzrzpS kYEppuSMvkYTA8v70/OGYNBmN1waUEuxif3YJammYdYRnGdkr4fnxN9UoQ8GrGmDg6 hegZbrGocxZY7egKzV0B6zOcWK60uXr/VI71aIUI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-45007: char: xillybus: Don't destroy workqueue from work item running on it Date: Wed, 4 Sep 2024 21:57:12 +0200 Message-ID: <2024090452-CVE-2024-45007-74c8@gregkh> X-Mailer: git-send-email 2.46.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=2254; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dIkHkasrbYsbyhex4x37MHSx6Fygu7kVRg6MkEJlG5Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk3drcUHxUO3bPqsuXMfXMSBTr2TRNc9jpmgt2734Y5f OvXq2spd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEFE0ZFqy1bmu4nfN75sfo 05NObTwUd6kpFCh6aJtvhc2Fp9f3lc3vUrnkqmXPcqEQAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: char: xillybus: Don't destroy workqueue from work item running on it Triggered by a kref decrement, destroy_workqueue() may be called from within a work item for destroying its own workqueue. This illegal situation is averted by adding a module-global workqueue for exclusive use of the offending work item. Other work items continue to be queued on per-device workqueues to ensure performance. The Linux kernel CVE team has assigned CVE-2024-45007 to this issue. Affected and fixed versions =========================== Fixed in 5.15.166 with commit 409b495f8e33 Fixed in 6.1.107 with commit 5d3567caff2a Fixed in 6.6.48 with commit a7ad105b1225 Fixed in 6.10.7 with commit aa1a19724fa2 Fixed in 6.11-rc4 with commit ccbde4b128ef 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-2024-45007 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/char/xillybus/xillyusb.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/409b495f8e3300d5fba08bc817fa8825dae48cc9 https://git.kernel.org/stable/c/5d3567caff2a1d678aa40cc74a54e1318941fad3 https://git.kernel.org/stable/c/a7ad105b12256ec7fb6d6d1a0e2e60f00b7da157 https://git.kernel.org/stable/c/aa1a19724fa2c31e97a9be48baedd4692b265157 https://git.kernel.org/stable/c/ccbde4b128ef9c73d14d0d7817d68ef795f6d131