{"id":"CVE-2026-97560","aliases":["CVE-2026-97560"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: fix one-byte OOB read in smb2_parse_native_symlink()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix one-byte OOB read in smb2_parse_native_symlink()\n\nWhen parsing a share-root relative native symlink, memcpy copies\nsmb_target+1 (skipping the leading separator) but uses\nstrlen(smb_target)+1 as the length, reading one byte past the\nallocated buffer.\n\nThis fixes the following KASAN splat when accessing an SMB symlink\nwith a target of '\\a\\b':\n\n  BUG: KASAN: slab-out-of-bounds in smb2_parse_native_symlink+0x4f5/0xca0\n  Read of size 5 at addr ffff88800878fe21 by task netfsfuzz-execu/1\n  CPU: 1 UID: 0 PID: 1 Comm: netfsfuzz-execu Tainted: G N\n  7.2.0-11943-g2709dd5ae32f-dirty #1 PREEMPT(lazy)\n  Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix,\n  1996)\n  Call Trace:\n   <TASK>\n   dump_stack_lvl+0x7b/0xa0\n   print_report+0xd0/0x630\n   kasan_report+0xe5/0x120\n   kasan_check_range+0x105/0x1b0\n   __asan_memcpy+0x23/0x60\n   smb2_parse_native_symlink+0x4f5/0xca0\n   parse_reparse_point+0x68a/0x1530\n   reparse_info_to_fattr+0x752/0xa20\n   cifs_get_fattr+0x873/0x15b0\n   cifs_get_inode_info+0xc0/0x310\n   cifs_lookup+0x308/0xa70\n   __lookup_slow+0x122/0x2b0\n   lookup_slow+0x50/0x70\n   path_lookupat+0x525/0xaf0\n   filename_lookup+0x1f2/0x550\n   vfs_statx+0xd1/0x1a0\n   vfs_fstatat+0x65/0xc0\n   __do_sys_newfstatat+0x9a/0x120\n   do_syscall_64+0xdd/0x4a0\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix one-byte OOB read in smb2_parse_native_symlink()\n\nWhen parsing a share-root relative native symlink, memcpy copies\nsmb_target+1 (skipping the leading separator) but uses\nstrlen(smb_target)+1 as the length, reading one byte past the\nallocated buffer.\n\nThis fixes the following KASAN splat when accessing an SMB symlink\nwith a target of '\\a\\b':\n\n  BUG: KASAN: slab-out-of-bounds in smb2_parse_native_symlink+0x4f5/0xca0\n  Read of size 5 at addr ffff88800878fe21 by task netfsfuzz-execu/1\n  CPU: 1 UID: 0 PID: 1 Comm: netfsfuzz-execu Tainted: G N\n  7.2.0-11943-g2709dd5ae32f-dirty #1 PREEMPT(lazy)\n  Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix,\n  1996)\n  Call Trace:\n   <TASK>\n   dump_stack_lvl+0x7b/0xa0\n   print_report+0xd0/0x630\n   kasan_report+0xe5/0x120\n   kasan_check_range+0x105/0x1b0\n   __asan_memcpy+0x23/0x60\n   smb2_parse_native_symlink+0x4f5/0xca0\n   parse_reparse_point+0x68a/0x1530\n   reparse_info_to_fattr+0x752/0xa20\n   cifs_get_fattr+0x873/0x15b0\n   cifs_get_inode_info+0xc0/0x310\n   cifs_lookup+0x308/0xa70\n   __lookup_slow+0x122/0x2b0\n   lookup_slow+0x50/0x70\n   path_lookupat+0x525/0xaf0\n   filename_lookup+0x1f2/0x550\n   vfs_statx+0xd1/0x1a0\n   vfs_fstatat+0x65/0xc0\n   __do_sys_newfstatat+0x9a/0x120\n   do_syscall_64+0xdd/0x4a0\n   entry_SYSCALL_64_after_hwframe+0x77/0x7f","source":"cvelist"}],"published":"2026-09-25T10:21:49.462Z","modified":"2026-10-19T10:17:25.073Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"430afd3edabf942a908570e5a41414bb455f15f8","fixed":"ff411fcbfc55eec1d66ea82483d254319dc8e973","status":"affected"},{"type":"git","introduced":"fc5a409552be479715b147748f2f61b41b512976","fixed":"22a9d0a9ba0c89be57558c1aa80dc60a571dd89c","status":"affected"},{"type":"git","introduced":"723f4ef90452aa629f3d923e92e0449d69362b1d","fixed":"d1f173d28e964ba2c3c4ebe7491d594dc8c77a40","status":"affected"},{"type":"git","introduced":"723f4ef90452aa629f3d923e92e0449d69362b1d","fixed":"2a302fdbaf7dd00d285303c94af8f48321c22993","status":"affected"},{"type":"git","introduced":"723f4ef90452aa629f3d923e92e0449d69362b1d","fixed":"cb26524ef4ac28fcfa554c0656e8dc412c38a8ff","status":"affected"},{"type":"git","version":"c9280c017ea13ff8678ef4f1ea78a4b683292e8b","status":"affected"},{"type":"semver","introduced":"6.6.64","fixed":"6.6.158","status":"affected"},{"type":"semver","introduced":"6.12.2","fixed":"6.12.111","status":"affected"},{"type":"semver","introduced":"6.11.11","fixed":"6.12","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ff411fcbfc55eec1d66ea82483d254319dc8e973","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/22a9d0a9ba0c89be57558c1aa80dc60a571dd89c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1f173d28e964ba2c3c4ebe7491d594dc8c77a40","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a302fdbaf7dd00d285303c94af8f48321c22993","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cb26524ef4ac28fcfa554c0656e8dc412c38a8ff","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97560","url":"https://www.cve.org/CVERecord?id=CVE-2026-97560","licence":"CVE Terms of Use","modified":"2026-10-19T09:09:23.264Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97560","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97560","licence":"Public domain","modified":"2026-10-19T10:17:25.073Z"}],"updatedAt":"2026-11-25T22:59:40.957Z","epss":{"score":0.002,"percentile":0.10395,"date":"2026-12-01T12:00:22.000Z"}}