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 1416129B8E0 for ; Tue, 30 Dec 2025 12:14:38 +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=1767096878; cv=none; b=LnK+xoOxgaQrpJESH84kOF2rc/Af+J8qRXctNr3ewfCW86egCtde9tjyWscRokmE14srzaJLMUtJlUepgZkecqYwhB/674oku+EQvApQHVzi3bikZLFPoOWtHXET2bWDOJ0L5cOnBnw4FFa9cPl1p5/27hTPxSJvrOCGlP0ghBs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767096878; c=relaxed/simple; bh=1r7D72KRilpBTlWLiJ3qkY80NzW4BV14zGXpKbeL9E4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qVt1eVoP7xgR5CV4jaZu5p/gTVCMlUmF3mJl7eynI7V03MX31jSLGZV5UiXdTDtVq5BaDqpc9d0xjoRmIVkoF9HnlsLkmnkYB2noalIBeHrKekcG6gxll4NP51dqqeTka9vs7XDSo9rmZfLiH2fJ8nudzAoQqi15Bbrm+Vv/7ns= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FSk8aaAU; 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="FSk8aaAU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89E27C4CEFB; Tue, 30 Dec 2025 12:14:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767096877; bh=1r7D72KRilpBTlWLiJ3qkY80NzW4BV14zGXpKbeL9E4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=FSk8aaAUBDb/KnnnyC3pJj30/AqGxoIDRqeHWBMblGDp4PGizmNZRj1GJJP7maNRd DRq0L0SYQ1lSqGWrEmuIU0Hrhx1JTl0RkvGpR++WvHwxjC8jh9sekpDzUNUHkDrU3p y/LiLnicbCkELz/s2Zt50OUY74SJ9Y1E6T1rySuE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50835: jbd2: add miss release buffer head in fc_do_one_pass() Date: Tue, 30 Dec 2025 13:13:21 +0100 Message-ID: <2025123017-CVE-2022-50835-a5ba@gregkh> X-Mailer: git-send-email 2.52.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=2128; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=X6q8qs3Xn7WsgixrNxnOdYzFfJm1qWZ1RLyIaUob/v8=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBB+9Kvaz8ZCH7f6bikwNnZ4uvu2tz6E3hxHMX5y6XS u4VOPrDviOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm4m7EME/jwxuN3tkq7j++ Sebt4fX7n//lWSLDglmb+Sc+zxF/d85kRd+O6y+MJC0sTwMA 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: jbd2: add miss release buffer head in fc_do_one_pass() In fc_do_one_pass() miss release buffer head after use which will lead to reference count leak. The Linux kernel CVE team has assigned CVE-2022-50835 to this issue. Affected and fixed versions =========================== Fixed in 5.10.150 with commit e65506ff181fc176088f32117d69b9cb1ddda777 Fixed in 5.15.75 with commit 56fcd0788f0d9243c1754bd6f80b8b327c4afeee Fixed in 5.19.17 with commit 27c7bd35135d5ab38b9138ecf186ce54a96c98d9 Fixed in 6.0.3 with commit 1f48116cbd3404898c9022892e114dd7cc3063c1 Fixed in 6.1 with commit dfff66f30f66b9524b661f311bbed8ff3d2ca49f 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-50835 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/jbd2/recovery.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/e65506ff181fc176088f32117d69b9cb1ddda777 https://git.kernel.org/stable/c/56fcd0788f0d9243c1754bd6f80b8b327c4afeee https://git.kernel.org/stable/c/27c7bd35135d5ab38b9138ecf186ce54a96c98d9 https://git.kernel.org/stable/c/1f48116cbd3404898c9022892e114dd7cc3063c1 https://git.kernel.org/stable/c/dfff66f30f66b9524b661f311bbed8ff3d2ca49f