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 1D6BA218E8B for ; Wed, 26 Feb 2025 02:15:27 +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=1740536127; cv=none; b=b/rlWoJaHhX3yaXE3s2Ir1bKkc5RLO1Qe0QiF+WVjhaTz5PmuMomBjZ4lHvazfA/PmHY2pxs1iWuQjJY3aEhTNWvxH634QsEu0T7MGlZk9efHH2DzHT5RD7KUkySJ8m8zbdjBAlbPeWDbwIs85hODhtCuzg5qr4FJl8eHdEafO8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536127; c=relaxed/simple; bh=MNVKkfUPM8KZe0w3zA+cOqExYrSTIyxziPOqxN04s9E=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kvp0tgQ1I5LEjJwOchl5UU8EQdsCs4ZrX+HBcueMXbDQywV+83wEONqXTJvf3U4dgktkyxkZO0yk304M+1BykjfRMTX/CzotD55p4V+qFFPnj4FOpqr1VL0DzpG+k2gZzbitTyq8KmINldqd7bCEC6tTMlLkSDBB3qMRVj6zDx4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xAPg8UOq; 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="xAPg8UOq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E7352C4CEE6; Wed, 26 Feb 2025 02:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536127; bh=MNVKkfUPM8KZe0w3zA+cOqExYrSTIyxziPOqxN04s9E=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xAPg8UOqS/AZNuUnaZ3IZhoDc+MkYT2bi52ZtP+RKB6FAxICj1xzdtZNLAdW8yB0c g/Ekma+NMDN7v+C1gqdmwIlmtk700+Qxm8BuJqaWST+Uk2I3r+YIAnTVmRhaP+IVA3 yuqwrxUU+vcoc4SRIeLZe/E/ZOxmBDq44RKZXa1k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49531: loop: implement ->free_disk Date: Wed, 26 Feb 2025 03:13:25 +0100 Message-ID: <2025022612-CVE-2022-49531-573a@gregkh> X-Mailer: git-send-email 2.48.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=1853; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MNVKkfUPM8KZe0w3zA+cOqExYrSTIyxziPOqxN04s9E=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Klg4rf7c6b6rntOQ9jXVdVt3w23nuMo5Iaz7de692 naOZ0FcRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkppBhfux0Fin3rZIPrS4a Mx+0uMOwjv2VP8OCCdP50gQfXdnM8cx04mwv9bkMJU7dAA== 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: loop: implement ->free_disk Ensure that the lo_device which is stored in the gendisk private data is valid until the gendisk is freed. Currently the loop driver uses a lot of effort to make sure a device is not freed when it is still in use, but to to fix a potential deadlock this will be relaxed a bit soon. The Linux kernel CVE team has assigned CVE-2022-49531 to this issue. Affected and fixed versions =========================== Fixed in 5.18.3 with commit aadd1443aae7fe8956e3b11157827067f034406a Fixed in 5.19 with commit d2c7f56f8b5256d57f9e3fc7794c31361d43bdd9 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-49531 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: drivers/block/loop.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/aadd1443aae7fe8956e3b11157827067f034406a https://git.kernel.org/stable/c/d2c7f56f8b5256d57f9e3fc7794c31361d43bdd9