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 BEAE033A033 for ; Mon, 15 Sep 2025 14:51:51 +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=1757947911; cv=none; b=R2Zm3r+ZQKuBdMsixjKiP5LFPk+b9FKR+yplNlu0ZiuzmBS7V+A1SKFzysGdS5SVH+1zt/wIyNW4Z7A2aXx23eqY+142aDJ3LIlr27KYm7F+77Dw4Ozr03GyVRu6CZJTwj1PDkYXHcf0umg7oWBjJnzxM56GwkYsDzvB/wWkjnk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757947911; c=relaxed/simple; bh=CMTBE8UVWCTX54w1S2fhBJYZuEJGfiO8DECzf+HyZfo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F2hy8HIllKN6mskYArEOWKMCfEVvMD7bB7rv6hjNeYVtUKo3Mjo6DhUIuT+RIOfUbGmJAEQTkbxZXxfm9LmtO8howS/xinfzgTU90QrwA9TJYfYaS00Zv8Y+B0dU90sm/Rza+JRI+C/Yl1Xg34IFLOPCWfLJSj3dL6joSBAX6i4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jJDdbsi3; 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="jJDdbsi3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F1B46C4CEF5; Mon, 15 Sep 2025 14:51:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757947911; bh=CMTBE8UVWCTX54w1S2fhBJYZuEJGfiO8DECzf+HyZfo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=jJDdbsi3Sbpkwmmr+EZKN99RcBWfqCxTy521oLTJfki9VFconojCvTfAd9sAnFc/e koym2DhLysHDqQXVYHoUh0JxKmxPtT2eNq3nlyahoSpjxfF3tEpDKejoVB7aVyp0wx a09aShYlckeYWBmkyDZ7rXhiONs71wj092Bu4L1w= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50333: fs: jfs: fix shift-out-of-bounds in dbDiscardAG Date: Mon, 15 Sep 2025 16:49:10 +0200 Message-ID: <2025091555-CVE-2022-50333-d81f@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=2759; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VlLJdsgQBx3kMOGXHP1Te90sb7+Md99p+bkk9CDYdTY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkn1MOLdl9ztlltVuV1uy76ef1nedUXe4InP45LOpGzf p10wP9bHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRjdwMc8VrLJx2sFxq/Nrz YFa0uMct7jPL3zEs6FDbx25pLR+Unsa6r+Vo3+OYwJcqAA== 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: fs: jfs: fix shift-out-of-bounds in dbDiscardAG This should be applied to most URSAN bugs found recently by syzbot, by guarding the dbMount. As syzbot feeding rubbish into the bmap descriptor. The Linux kernel CVE team has assigned CVE-2022-50333 to this issue. Affected and fixed versions =========================== Fixed in 4.9.337 with commit f8d4d0bac603616e2fa4a3907e81ed13f8f3c380 Fixed in 4.14.303 with commit 0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb Fixed in 4.19.270 with commit 624843f1bac448150f6859999c72c4841c14a2e3 Fixed in 5.4.229 with commit 50163a115831ef4e6402db5a7ef487d1989d7249 Fixed in 5.10.163 with commit 911999b193735cd378517b6cd5fe585ee345d49c Fixed in 5.15.86 with commit 10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92 Fixed in 6.0.16 with commit ab5cd3d62c2493eca3337e7d0178cc7bd819ca64 Fixed in 6.1.2 with commit 3d340b684dcec5e34efc470227cd1c7d2df121ad Fixed in 6.2 with commit 25e70c6162f207828dd405b432d8f2a98dbf7082 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-50333 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/jfs/jfs_dmap.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/f8d4d0bac603616e2fa4a3907e81ed13f8f3c380 https://git.kernel.org/stable/c/0183c8f46ab5bcd0740f41c87f5141c6ca2bf1bb https://git.kernel.org/stable/c/624843f1bac448150f6859999c72c4841c14a2e3 https://git.kernel.org/stable/c/50163a115831ef4e6402db5a7ef487d1989d7249 https://git.kernel.org/stable/c/911999b193735cd378517b6cd5fe585ee345d49c https://git.kernel.org/stable/c/10b87da8fae79c7daf5eda6a9e4f1d31b85b4d92 https://git.kernel.org/stable/c/ab5cd3d62c2493eca3337e7d0178cc7bd819ca64 https://git.kernel.org/stable/c/3d340b684dcec5e34efc470227cd1c7d2df121ad https://git.kernel.org/stable/c/25e70c6162f207828dd405b432d8f2a98dbf7082