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 8FB5F435EE9 for ; Fri, 25 Sep 2026 10:40:17 +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=1790332818; cv=none; b=WRcbdya2VlwgpmpGKXo15YYs3Hln/U1MUYuypQK+5iZYqxhcSur+D9KYmV/AH5nm58OOVzyaslAAy4u2XyAXuCePoAcKrI/SPWGXDf9heGMEf8DLfIwFy9p/iP8v57Po3HrOnids7C7rQOsG58xMIhW7JjPeHdI0c2lLsCaEZrI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332818; c=relaxed/simple; bh=fHlzRQjRCihYB71ZQdschYFRfdoLRp3v0ElXWDlj8Xw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tZviSzI2ppvtZA/iYIMNiMu0cTUXrJDAeP2gLwvD+3c+7hI2szbW3AfdRRFaXiQ7JYQdXEvHwv6bn9PwneYMBWcJpTwSCaKHbnSEOs8dhAdGjPt3kn+7r0kC+p+BOsCNEaxmIKwPj75Vq1QAvr7SvQj+4ipMcFqaGhje5WMg018= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=T60QVGT5; 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="T60QVGT5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA49E1F000FF; Fri, 25 Sep 2026 10:40:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332817; bh=P0L1Q84T8terf6uSbxaiZBO6Tf/Cn+Cf5wix+qL1CYU=; h=From:To:Cc:Subject:Date:Reply-To; b=T60QVGT5bthp4zkKmg6ZtMvYDhLb14D3f8Rc/ve35/09Uvl3NVpkWGmeffCUamkwo uroagYmr4PcYnvU4w8AMNbJ5Jup4L1mXDqKBwRpo4rhMjA8TxlyPIQIpxoVtN7cJ6x XZ5AfgokoplFh+MmAGXoSRkz3PjQ69xF0rX8x05U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98117: cachefiles: Fix potential UAF/KASAN warning Date: Fri, 25 Sep 2026 12:39:24 +0200 Message-ID: <2026092512-CVE-2026-98117-3425@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=2666; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=f8n9tg3PjlvSTkOQenB07DW3ngMn103UgO8gypTUxAY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnb/AO/9F5lrdd8+CrlV2boAeEaueopHXN9tFZbnne8Z Rr17OahjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgIzwOGBUuWspgaCT15tOXj zZ/7hezMD1089YZhQc/2O54/D8uWKN5/IdezSbpM9dyezwA= 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: cachefiles: Fix potential UAF/KASAN warning Currently, trace_cachefiles_coherency() is being passed a pointer to a __be64 lain over the coherency data in struct cachefiles_xattr so that it can display the first 8 bytes. However, the data is of variable length and could even be 0 bytes. This could lead to a UAF or KASAN warning. Fix this by making sure the buffer has room for at least 8 bytes and that those 8 bytes are pre-cleared. Further, those bytes are not 8-byte aligned, so fix the tracepoint to extract the data as four 2-byte words (they are 2-byte aligned) and reassemble the __be64. The compiler will convert this into a single 8-byte load where the CPU supports it. The Linux kernel CVE team has assigned CVE-2026-98117 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 229105e5cfd9832a9ef1368c96e0098ec3a5fbf0 and fixed in 6.18.53 with commit 68d459e6e609c31f96a203dd6eec60c634f155e1 Issue introduced in 6.14 with commit 229105e5cfd9832a9ef1368c96e0098ec3a5fbf0 and fixed in 7.2.7 with commit 93488ea378b4427598cace558236c110515d743b Issue introduced in 6.14 with commit 229105e5cfd9832a9ef1368c96e0098ec3a5fbf0 and fixed in 7.3-rc3 with commit a67632c8c2688d6e0091529bcefe54bc5ee80e9b 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-98117 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/cachefiles/xattr.c include/trace/events/cachefiles.h 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/68d459e6e609c31f96a203dd6eec60c634f155e1 https://git.kernel.org/stable/c/93488ea378b4427598cace558236c110515d743b https://git.kernel.org/stable/c/a67632c8c2688d6e0091529bcefe54bc5ee80e9b