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 521817F7D1 for ; Wed, 22 May 2024 08:20:44 +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=1716366044; cv=none; b=WR3+8k7DOvxcdSyIQBD73BitQSZmnrsVq+AL1nfXRYymZHwDNXnzEIRPdtvspA4zN8EprFculkPB90uZ4k6zwQoANw17V5Aos5KnaY2eXeghEeJwBivctJDR8ATYYI5FvgGydyTM8ePEoB2GSNZ9MO1Husq5U1xP8yUCUcSFkAg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716366044; c=relaxed/simple; bh=nC7fOUb6pJXKqtzH/SuWoL/rXtO0S07vvkNruQ0pB2g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HtF68UvcaEi/72oMbjE1hJMENCUFs7nMo4SstGB5AlkmDVJEaIRKcPl/jsV1Rg11OKRUrabA9jsL2azmPR4T+VsatqEUYORSKGY4Afc08TwjdYUJnPTeLP3r3PSJ6PKQTeF4oi8Iy30tkWvahuK5MNd8XZOEee21LV/b7+gEBUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qxf651r4; 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="qxf651r4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C434FC4AF07; Wed, 22 May 2024 08:20:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716366044; bh=nC7fOUb6pJXKqtzH/SuWoL/rXtO0S07vvkNruQ0pB2g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qxf651r4YkBIQk8+UvNIrinCuiG1TmwhGn4KQUcocSg96HARyuKeSMG4aklTSWMaF +35wiXFW0Xn++QqgG0JQjOxFebS1lyW3VnyQSSN+M801WBGIvuRJ3E44DlbhyElgS5 +o892HbD+k30YMvjRjJgyyiVN4PjqVu2rwVJugcU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47478: isofs: Fix out of bound access for corrupted isofs image Date: Wed, 22 May 2024 10:19:38 +0200 Message-ID: <2024052237-CVE-2021-47478-c124@gregkh> X-Mailer: git-send-email 2.45.1 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=2527; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nC7fOUb6pJXKqtzH/SuWoL/rXtO0S07vvkNruQ0pB2g=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm+q2ZKRvh/zuLwXihckN0wq+fTipyiSNO+F9MPpkurN LDuTpXviGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlESjAs2PYiK0if/cFmhbJM 7mVs8bumvapfzzA/7bS7CMv5t6EHDk/1qZur8W5nQ8RmAA== 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: isofs: Fix out of bound access for corrupted isofs image When isofs image is suitably corrupted isofs_read_inode() can read data beyond the end of buffer. Sanity-check the directory entry length before using it. The Linux kernel CVE team has assigned CVE-2021-47478 to this issue. Affected and fixed versions =========================== Fixed in 4.4.292 with commit 156ce5bb6cc4 Fixed in 4.9.290 with commit 9ec33a9b8790 Fixed in 4.14.255 with commit afbd40f42522 Fixed in 4.19.217 with commit b0ddff8d68f2 Fixed in 5.4.159 with commit 6e80e9314f8b Fixed in 5.10.79 with commit 86d4aedcbc69 Fixed in 5.14.18 with commit b2fa1f52d22c Fixed in 5.15.2 with commit e7fb722586a2 Fixed in 5.16 with commit e96a1866b405 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-2021-47478 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/isofs/inode.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/156ce5bb6cc43a80a743810199defb1dc3f55b7f https://git.kernel.org/stable/c/9ec33a9b8790c212cc926a88c5e2105f97f3f57e https://git.kernel.org/stable/c/afbd40f425227e661d991757e11cc4db024e761f https://git.kernel.org/stable/c/b0ddff8d68f2e43857a84dce54c3deab181c8ae1 https://git.kernel.org/stable/c/6e80e9314f8bb52d9eabe1907698718ff01120f5 https://git.kernel.org/stable/c/86d4aedcbc69c0f84551fb70f953c24e396de2d7 https://git.kernel.org/stable/c/b2fa1f52d22c5455217b294629346ad23a744945 https://git.kernel.org/stable/c/e7fb722586a2936b37bdff096c095c30ca06404d https://git.kernel.org/stable/c/e96a1866b40570b5950cda8602c2819189c62a48