From mboxrd@z Thu Jan 1 00:00:00 1970 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 6B10E1642B for ; Thu, 22 Feb 2024 06:01:12 +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=1708581672; cv=none; b=pfDThou8GTM0wh6i8w9/cAvxzzJzXUaA+1QEJ89JDnLiyOjBaGyjvika/LlD1GswKbfxPdZkn4Imf9kVAlg1F+WBv9aIV4YxFvYanaYSKz86Ul7YGEhmfJfd/bjP7yQ5KvsDGUf+CYe5WoR1uCyINaa+dsjpIcWo/w8DYqoisdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708581672; c=relaxed/simple; bh=iLXxvLwmrydgm8t8KLOtAln+Q3SKIrqhqJuvmZ1f11M=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=l4NzDayTF7iN4UNoLUdZ3u7TpmtUDEp2h5Z1yxb2pf9bNmPSyDpXtLJm2mnRXnlUByyeJ4gPVZKejVNQz08JgC3+X4UOIiUClvEoAf+kmRMokopjK5B+9IUYSj0zcl1VV/XGC10qJfAiZ5ayENHMfy4GOQ3CdPD56s0OixrWzhI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FyTtCDqy; 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="FyTtCDqy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BCD4C433C7; Thu, 22 Feb 2024 06:01:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708581672; bh=iLXxvLwmrydgm8t8KLOtAln+Q3SKIrqhqJuvmZ1f11M=; h=Date:From:To:Subject:References:In-Reply-To:From; b=FyTtCDqyfr4XPcR0bk0umrjyUy3ZOjDnbBoQ++jsurx8zIu0/QLpBmJFFvRgX3tbF /QOcB0XQLItxAYXWODV4hhkzBOETcg2js4OY+5rpdkunG8do6Thn3XpeQvxkf4Ct5o gGZpSUGAVUMlAeWGifp/UKfHct83kGzm9h5nyVvU= Date: Thu, 22 Feb 2024 07:01:08 +0100 From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org, cve@kernel.org Subject: Re: CVE-2023-52437: Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d" Message-ID: <2024022249-trapping-doorstop-6f10@gregkh> References: <2024022009-subsoil-halt-4b28@gregkh> Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2024022009-subsoil-halt-4b28@gregkh> On Tue, Feb 20, 2024 at 07:34:08PM +0100, Greg Kroah-Hartman wrote: > Description > =========== > > In the Linux kernel, the following vulnerability has been resolved: > > Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d" > > This reverts commit 5e2cf333b7bd5d3e62595a44d598a254c697cd74. > > That commit introduced the following race and can cause system hung. > > md_write_start: raid5d: > // mddev->in_sync == 1 > set "MD_SB_CHANGE_PENDING" > // running before md_write_start wakeup it > waiting "MD_SB_CHANGE_PENDING" cleared > >>>>>>>>> hung > wakeup mddev->thread > ... > waiting "MD_SB_CHANGE_PENDING" cleared > >>>> hung, raid5d should clear this flag > but get hung by same flag. > > The issue reverted commit fixing is fixed by last patch in a new way. > > The Linux kernel CVE team has assigned CVE-2023-52437 to this issue. > > > Affected and fixed versions > =========================== > > Issue introduced in 5.15.75 with commit 9e86dffd0b02 and fixed in 5.15.148 with commit 84c39986fe6d > Issue introduced in 6.1 with commit 5e2cf333b7bd and fixed in 6.1.74 with commit bed0acf330b2 > Issue introduced in 6.1 with commit 5e2cf333b7bd and fixed in 6.1.75 with commit cfa468382858 > Issue introduced in 6.1 with commit 5e2cf333b7bd and fixed in 6.6.13 with commit e16a0bbdb7e5 > Issue introduced in 6.1 with commit 5e2cf333b7bd and fixed in 6.6.14 with commit aab69ef76970 > Issue introduced in 6.1 with commit 5e2cf333b7bd and fixed in 6.7.1 with commit 0de40f76d567 > Issue introduced in 6.1 with commit 5e2cf333b7bd and fixed in 6.7.2 with commit 87165c64fe1a > Issue introduced in 6.1 with commit 5e2cf333b7bd and fixed in 6.8-rc1 with commit bed9e27baf52 As was pointed out, this list is obviously a mess and not correct for what id cause the issue, and where it was fixed. The tools we are using here didn't handle the "Revert" knowledge very well. I'll be issuing an updated entry after this is fixed up, and will also update the json file with cve.org thanks, greg k-h