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 31EED12EBCE for ; Mon, 26 Feb 2024 17:21:09 +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=1708968069; cv=none; b=KMY5RB2X1hP//J/EOi/qpw0Uc5GaoLafb6h7uzuL3ffZmMApYD2EVY9fPqBQ7S5EwTxWdZtop11Hp08PBt4s6/1b7UQZCCKp0YKySoFvUKQ721qce8dH5CCBIC2X5W/7pxe/k2CHwRnkjqgtrYaVedVWZZ41/cOSdOheFf3XF1I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708968069; c=relaxed/simple; bh=QGeRBliMoTO9WVF/1GDhzfDUhH3GFz2uK67Cbm+i1Fg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tvna/26pt3swBEYZpmtcdAHpRNuxecvFqlffZZ/i4F/ykrIIfhK9oo7sPneGieS1ODkp4U8krEj8f4j7lKanzRRSeVmYeAimBTD4dZvKUass/yg/gEEEFN17fpdwZshvsJH7Vo6jXFBECsMXqSJTbS75qW/AagqEZKbSNcraJ+Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mozIie7r; 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="mozIie7r" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0D01C433F1; Mon, 26 Feb 2024 17:21:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708968069; bh=QGeRBliMoTO9WVF/1GDhzfDUhH3GFz2uK67Cbm+i1Fg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=mozIie7rtcaM5/7FoBJHLIXIb83vSnNoOeb1Z/DT9LX491LKgaugI4UQbCaFAVcG8 rfr+Aig3ItgAcVMCbDQMhz0txomRjFoOXKJzyHw8aULmoY92FigV2DhHjdcjBUxuoN zCP47kdvn+IabJAooQ1E4xjnKeM4QsqAXG5s0a9U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2020-36775: f2fs: fix to avoid potential deadlock Date: Mon, 26 Feb 2024 18:21:03 +0100 Message-ID: <2024022602-CVE-2020-36775-1cbe@gregkh> X-Mailer: git-send-email 2.44.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=1766; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QGeRBliMoTO9WVF/1GDhzfDUhH3GFz2uK67Cbm+i1Fg=; b=owGbwMvMwCRo6H6F97bub03G02pJDKl3TtQpSy/bz8ee5s8WWN369/UlhWS2H1b+eqLCIdvZL 5vysHh1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERk1zLM068MXbv3UPTRnizF +3q/jdMr66beZpjv73mjcWLB253POLLX6L2pO7zzjGkpAA== 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: f2fs: fix to avoid potential deadlock Using f2fs_trylock_op() in f2fs_write_compressed_pages() to avoid potential deadlock like we did in f2fs_write_single_data_page(). The Linux kernel CVE team has assigned CVE-2020-36775 to this issue. Affected and fixed versions =========================== Fixed in 5.4.189 with commit 0478ccdc8ea0 Fixed in 5.6.7 with commit 8e8542437bb4 Fixed in 5.7 with commit df77fbd8c5b2 Please see https://www.kernel.org or 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-2020-36775 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: fs/f2fs/compress.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/0478ccdc8ea016de1ebaf6fe6da0275c2b258c5b https://git.kernel.org/stable/c/8e8542437bb4070423c9754d5ba270ffdbae8c8d https://git.kernel.org/stable/c/df77fbd8c5b222c680444801ffd20e8bbc90a56e