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 C6117174EF0 for ; Thu, 1 May 2025 13:09:30 +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=1746104970; cv=none; b=LhQkdEo1t477GPkpgoHr11g2FrC/uNjKQWx3uhzLQ1q6Rk9bqfMHovQwxlYTTfuaSgVZhku+kWDyr6SZI9te/e+RObXAFYF9u/wEz1hdjbYjo7xAIPcn3XPBxRGdWvQmc8U61oWKZrynSQ6PbEItJRVOCid6CF858aF0ZbY0r+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104970; c=relaxed/simple; bh=J5Wu6PM5TNqIcgoaX5dBJwJIM3shL4ixEL6n3N6BP0U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ieYMjCfnQn+vn9rjqaJDtdarROKrSVU4Clz4L5mrHbRlLP6/ZwgyuJLl7oXIDjhRhBoDMHOH/DetJzB6FX6Ltsx0Y05ZimpyrTteJonmKLHnmVhaZYiZwvCJzj1ZVl7GjuXNQBFbz4FoQ9M3YYMGkQAEQ4qfxAD10dhQhiOBK60= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AZ4PmYHr; 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="AZ4PmYHr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD8CCC4CEE4; Thu, 1 May 2025 13:09:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104970; bh=J5Wu6PM5TNqIcgoaX5dBJwJIM3shL4ixEL6n3N6BP0U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=AZ4PmYHrrME/f5qzseKmy6zcTfJpXj3PFt5KQ1T8BJ05P52bpcIoHoqwfYJPdQr5I JzIp15JCTG6WvCg6cGWRx0UqOBfZ/Rjuk/PegQqTSpK0J1g4nALlq31vikAcopXpgN rfQHux5rukNCaxqvprVrdujGnvupD2URUG7sq5mQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37773: virtiofs: add filesystem context source name check Date: Thu, 1 May 2025 15:07:21 +0200 Message-ID: <2025050114-CVE-2025-37773-4727@gregkh> X-Mailer: git-send-email 2.49.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=2623; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bsO3nAUGb8pfMi2VYs0TUk8r0bGCw1WpjIO+HCzEw1k=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCRUxsJQkfl3NlfvzVu0W0ITeb1e8mx8pN3Y6p0XNiZ 1mZiel0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETkJzLM4Vq0a75cr+EsvpSX 6zyOyV01ODD/OcOCA4J6nKXrpDibF73Mvd6zR1Z6unwqAA== 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: virtiofs: add filesystem context source name check In certain scenarios, for example, during fuzz testing, the source name may be NULL, which could lead to a kernel panic. Therefore, an extra check for the source name should be added. The Linux kernel CVE team has assigned CVE-2025-37773 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit a62a8ef9d97da23762a588592c8b8eb50a8deb6a and fixed in 6.1.135 with commit 599d1e2a6aecc44acf22fe7ea6f5e84a7e526abe Issue introduced in 5.4 with commit a62a8ef9d97da23762a588592c8b8eb50a8deb6a and fixed in 6.6.88 with commit f6ec52710dc5e156b774cbef5d0f5c99b1c53a80 Issue introduced in 5.4 with commit a62a8ef9d97da23762a588592c8b8eb50a8deb6a and fixed in 6.12.25 with commit c3e31d613951c299487844c4d1686a933e8ee291 Issue introduced in 5.4 with commit a62a8ef9d97da23762a588592c8b8eb50a8deb6a and fixed in 6.14.4 with commit a648d80f8d9b208beee03a2d9aa690cfacf1d41e Issue introduced in 5.4 with commit a62a8ef9d97da23762a588592c8b8eb50a8deb6a and fixed in 6.15-rc3 with commit a94fd938df2b1628da66b498aa0eeb89593bc7a2 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-2025-37773 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/fuse/virtio_fs.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/599d1e2a6aecc44acf22fe7ea6f5e84a7e526abe https://git.kernel.org/stable/c/f6ec52710dc5e156b774cbef5d0f5c99b1c53a80 https://git.kernel.org/stable/c/c3e31d613951c299487844c4d1686a933e8ee291 https://git.kernel.org/stable/c/a648d80f8d9b208beee03a2d9aa690cfacf1d41e https://git.kernel.org/stable/c/a94fd938df2b1628da66b498aa0eeb89593bc7a2