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 90A4E6D1D2 for ; Tue, 21 May 2024 14:38:52 +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=1716302332; cv=none; b=HULxk4XW2n0meeFNcliOsVUZcA4PN19snhO6h8bNILCZMjJwfEKADLR8enlXneQVDoGuyXocUegVAvD3hLGYM7TFqN/jii7nieNAv4C2isWp+01BuWfApnH3rXtjmK9S6f2H5kQqWD41yuNJkrwHBuEmLkXxloZ0OO69DUe+LF0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716302332; c=relaxed/simple; bh=aQOVGtQPzpE4NYA1ok2B/fa6ukeUTORf/wGkDVGNoH8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N5BMiAWayAq/jSyTx3jHhcLOMMRczCJHUsxzef/4FNUuCz8vNYVVuaCRZTJ+dypYFlSTwyheFdxplnEbEWTAKWAzWal8cMbsHcizC/gTJQSB55lKm2v9P1+72BDae2l+8b7+SJMWaWOYNvFhzBUHUgYiFHacYhq017YSee3K8os= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rxHRTHAl; 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="rxHRTHAl" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1AC6AC2BD11; Tue, 21 May 2024 14:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716302332; bh=aQOVGtQPzpE4NYA1ok2B/fa6ukeUTORf/wGkDVGNoH8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rxHRTHAl9WkxjAiUTE9/V8XLjwr+C8zpEitdUan8cKBZHMViqYCQiTOKUlObrdGpP ooSZIen5EAekas2ckQwMDrdYHYhOkSGdA3Yg3V1YKejfcnixWzAeTSMwm+VieXu4Dv EDXxjIr+PqW7ulDtBGl4v6bNDz7AvFwM8lLSZwCY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47319: virtio-blk: Fix memory leak among suspend/resume procedure Date: Tue, 21 May 2024 16:35:53 +0200 Message-ID: <2024052131-CVE-2021-47319-9548@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=2461; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aQOVGtQPzpE4NYA1ok2B/fa6ukeUTORf/wGkDVGNoH8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+G41TbWJLEkJyfzYcXcs4rezGkz6Vpx5lLzcJTze9J KBg8f5vRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExk2lqGeTb3ee3zfNebl9qe 9xOovWLcPfFRB8M8rR859ZZLWW1CZnKfTrQ+O9M82ekUAA== 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: virtio-blk: Fix memory leak among suspend/resume procedure The vblk->vqs should be freed before we call init_vqs() in virtblk_restore(). The Linux kernel CVE team has assigned CVE-2021-47319 to this issue. Affected and fixed versions =========================== Fixed in 4.4.276 with commit 381bde79d11e Fixed in 4.9.276 with commit 102d6bc6475a Fixed in 4.14.240 with commit 863da837964c Fixed in 4.19.198 with commit 600942d2fd49 Fixed in 5.4.134 with commit 04c6e60b884c Fixed in 5.10.52 with commit cd24da0db9f7 Fixed in 5.12.19 with commit ca2b8ae93a6d Fixed in 5.13.4 with commit 29a2f4a3214a Fixed in 5.14 with commit b71ba22e7c6c 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-47319 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/virtio_blk.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/381bde79d11e596002edfd914e6714291826967a https://git.kernel.org/stable/c/102d6bc6475ab09bab579c18704e6cf8d898e93c https://git.kernel.org/stable/c/863da837964c80c72e368a4f748c30d25daa1815 https://git.kernel.org/stable/c/600942d2fd49b90e44857d20c774b20d16f3130f https://git.kernel.org/stable/c/04c6e60b884cb5e94ff32af46867fb41d5848358 https://git.kernel.org/stable/c/cd24da0db9f75ca11eaf6060f0ccb90e2f3be3b0 https://git.kernel.org/stable/c/ca2b8ae93a6da9839dc7f9eb9199b18aa03c3dae https://git.kernel.org/stable/c/29a2f4a3214aa14d61cc9737c9f886dae9dbb710 https://git.kernel.org/stable/c/b71ba22e7c6c6b279c66f53ee7818709774efa1f