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 5BDA148F822 for ; Fri, 25 Sep 2026 10:24:26 +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=1790331867; cv=none; b=aR1fdeT4/kYRT5QpR0SFlLu9xwSlUJtEYqlKyt+tT12xVu64RiWX3g6r8ofNc/eqP6GOmLuL66KPZjoSHnkGCiPoJpVL07BvokhbiCjrvQ+GLSg+vxya8f3w6FpIsvpYyaA0UE8DuCHxo/qYezU6trQRMNiciR4Bf9JKFctEx/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790331867; c=relaxed/simple; bh=gSH/ENIsAW3/GeKkqcIXj4E1A0eRDev4yY6BkOJbAz0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Hiob1ASr0ZuJ88lJHYP+MQMYJj1t79Nq460ufEXmvTGy/6pU1fB4nW44g7c7396XidEZIdgrnY3PorzQluUmzbTE1Ml74pcZT3L1Pel2JIMr6cJLCU0swVYygZZgBqWmhHske/YqGkM2R7KeWR2veI8eEJ+7PAkWxggrteR/3eg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oO4z4vSw; 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="oO4z4vSw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64E021F000FF; Fri, 25 Sep 2026 10:24:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790331865; bh=TwtDo8S0YLu3T8gaXkhiNB+WnSUL/1drbPRMNhltwMQ=; h=From:To:Cc:Subject:Date:Reply-To; b=oO4z4vSwGhaZIw2CcDKM3m/Me+PZX+iTxizAHbzhAsEDi7Orq65M4bG7+FXUwqb8y 3MZGJm8pFrNEonaXx385Q9T5KNDSLiuBDbFwrVjFimfakykN4Re3dnNTTx2AQRcJTq BvgSAajVHBn//rs3uCVtXz5/zXVFrPDeAdIVCRBw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-97560: smb: client: fix one-byte OOB read in smb2_parse_native_symlink() Date: Fri, 25 Sep 2026 12:22:20 +0200 Message-ID: <2026092552-CVE-2026-97560-85c3@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=3700; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Wd/cJ51xnpBsOI4Arf0T8n6lMzE0K/Kst1VT/YlJliM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvB3YNLdlVahPk6oK//QzMDmes22WY8Hnl4x2L/N1m kp93Y52xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwERq9jDMTwovr522Ofnkl3f/ nz8r/Crm/sX3NMOC0/oLNjQEvjn9bnGs5ZdSo4K1D+V/AwA= 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: smb: client: fix one-byte OOB read in smb2_parse_native_symlink() When parsing a share-root relative native symlink, memcpy copies smb_target+1 (skipping the leading separator) but uses strlen(smb_target)+1 as the length, reading one byte past the allocated buffer. This fixes the following KASAN splat when accessing an SMB symlink with a target of '\a\b': BUG: KASAN: slab-out-of-bounds in smb2_parse_native_symlink+0x4f5/0xca0 Read of size 5 at addr ffff88800878fe21 by task netfsfuzz-execu/1 CPU: 1 UID: 0 PID: 1 Comm: netfsfuzz-execu Tainted: G N 7.2.0-11943-g2709dd5ae32f-dirty #1 PREEMPT(lazy) Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996) Call Trace: dump_stack_lvl+0x7b/0xa0 print_report+0xd0/0x630 kasan_report+0xe5/0x120 kasan_check_range+0x105/0x1b0 __asan_memcpy+0x23/0x60 smb2_parse_native_symlink+0x4f5/0xca0 parse_reparse_point+0x68a/0x1530 reparse_info_to_fattr+0x752/0xa20 cifs_get_fattr+0x873/0x15b0 cifs_get_inode_info+0xc0/0x310 cifs_lookup+0x308/0xa70 __lookup_slow+0x122/0x2b0 lookup_slow+0x50/0x70 path_lookupat+0x525/0xaf0 filename_lookup+0x1f2/0x550 vfs_statx+0xd1/0x1a0 vfs_fstatat+0x65/0xc0 __do_sys_newfstatat+0x9a/0x120 do_syscall_64+0xdd/0x4a0 entry_SYSCALL_64_after_hwframe+0x77/0x7f The Linux kernel CVE team has assigned CVE-2026-97560 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12.2 with commit fc5a409552be479715b147748f2f61b41b512976 and fixed in 6.12.111 with commit 22a9d0a9ba0c89be57558c1aa80dc60a571dd89c Issue introduced in 6.13 with commit 723f4ef90452aa629f3d923e92e0449d69362b1d and fixed in 6.18.53 with commit d1f173d28e964ba2c3c4ebe7491d594dc8c77a40 Issue introduced in 6.13 with commit 723f4ef90452aa629f3d923e92e0449d69362b1d and fixed in 7.2.7 with commit 2a302fdbaf7dd00d285303c94af8f48321c22993 Issue introduced in 6.13 with commit 723f4ef90452aa629f3d923e92e0449d69362b1d and fixed in 7.3-rc3 with commit cb26524ef4ac28fcfa554c0656e8dc412c38a8ff Issue introduced in 6.6.64 with commit 430afd3edabf942a908570e5a41414bb455f15f8 Issue introduced in 6.11.11 with commit c9280c017ea13ff8678ef4f1ea78a4b683292e8b 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-97560 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/smb/client/reparse.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/22a9d0a9ba0c89be57558c1aa80dc60a571dd89c https://git.kernel.org/stable/c/d1f173d28e964ba2c3c4ebe7491d594dc8c77a40 https://git.kernel.org/stable/c/2a302fdbaf7dd00d285303c94af8f48321c22993 https://git.kernel.org/stable/c/cb26524ef4ac28fcfa554c0656e8dc412c38a8ff