From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 83CB535E937 for ; Fri, 11 Sep 2026 19:48:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156117; cv=none; b=qKLOJLKKh9ZBK4iI1C0WoikVOG77YsXu6RjDizrnpHkkGvsA+rlqvAinF7Iilm4fidJ9/F0GEWm4DZ4t09SMi017AqlyIZrk2HBkP6o3NdpqjWUctYCVGBfM1KxI6o+mdb1kzkaBmKHBD+ntZILWVBBsnjgAFwq1wIfSvvCtty4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156117; c=relaxed/simple; bh=slkXHGOLUoDpWnggP9x6Lxdj2xTQnJQvyD6s/Y6HBb4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fEcDHEOI0FmBgjE1Y5wcJmZ7z24Pb0ptNUe+dmo8Xn8gydvsf7n6ffHZJ4XxQ38lWiIhSzUQRl9qfgOE8z6fOKrLRKd88UCKm9E6XMpR2MdZTTXdjWODq2CJ5B8Ad3Lmr3qY5qufDv4EoOZJ6DtE8Ejj5l6o+MnRoxlbJ6Seihw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TFcT//LE; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="TFcT//LE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 433CF1F0089D; Fri, 11 Sep 2026 19:48:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156099; bh=wupuJJ5fAhRjjRyKpUtsAp6kYc5Z4i0x5h83Sl07uqA=; h=From:To:Cc:Subject:Date:Reply-To; b=TFcT//LE1w8Pe3InkBNWKYW5zMpYEYS54RlGPvBnjjiskwN5aAhyt9Mufj/oNSjyB 7MFYiGMvFK1Sp8c5WjCsr4J8TXNKdz5yZJF7CWUdDme1dtWa+k7WqvAvEzAHSHF4Sg 0b1wHLId3Q4yeG9J5wHFtb+DfT9GVqTcAAF2D9cU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80958: dm-pcache: clamp the tail kset read to the segment data region Date: Fri, 11 Sep 2026 21:41:04 +0200 Message-ID: <2026091141-CVE-2026-80958-e091@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2408; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=G02zeMYXA+bdzNApdEOSqwQixhQETBL9h1WeECWwutk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIi0PmdYc3pK9STNEs0GvdTXXn9NqCglFHwzvqhbHs 8w68lW9I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYSZ8KwYG/56ohtU9ZPyxN8 nBSWWGDY8WW3PVD00/0X2z/sVv9XIOrqLzLLxDL1xkcA 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: dm-pcache: clamp the tail kset read to the segment data region The tail-kset read in cache_replay(), the writeback worker and the GC worker bounds its length by PCACHE_SEG_SIZE - seg_off, the raw segment size rather than the data region. A tail near the segment end reads past the segment data into the following control area. Clamp the read to cache_seg_remain(), the data region. The Linux kernel CVE team has assigned CVE-2026-80958 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 and fixed in 6.18.50 with commit 2cd9776fe3f2d88ec22c36d3c8ba09fbf9d5500c Issue introduced in 6.18 with commit 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 and fixed in 7.2.4 with commit 1ab55354368d071ebaee4d8c82313955eab65a04 Issue introduced in 6.18 with commit 1d57628ff95b32d5cfa8d8f50e07690c161e9cf0 and fixed in 7.3-rc1 with commit becf07e2b0053027495ecd671b1f82fb2e615f68 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-2026-80958 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/md/dm-pcache/cache_gc.c drivers/md/dm-pcache/cache_key.c drivers/md/dm-pcache/cache_writeback.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/2cd9776fe3f2d88ec22c36d3c8ba09fbf9d5500c https://git.kernel.org/stable/c/1ab55354368d071ebaee4d8c82313955eab65a04 https://git.kernel.org/stable/c/becf07e2b0053027495ecd671b1f82fb2e615f68