Skip to content
Heist/ feed
Unrated

smb: client: fix one-byte OOB read in smb2_parse_native_symlink()

Type: advisorySource: Official CVE List1 source record

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

Announced Group revision 1
Original source ↗

CVE-2026-97560

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-97560

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "430afd3edabf942a908570e5a41414bb455f15f8",
        "lessThan": "ff411fcbfc55eec1d66ea82483d254319dc8e973",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "fc5a409552be479715b147748f2f61b41b512976",
        "lessThan": "22a9d0a9ba0c89be57558c1aa80dc60a571dd89c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "723f4ef90452aa629f3d923e92e0449d69362b1d",
        "lessThan": "d1f173d28e964ba2c3c4ebe7491d594dc8c77a40",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "723f4ef90452aa629f3d923e92e0449d69362b1d",
        "lessThan": "2a302fdbaf7dd00d285303c94af8f48321c22993",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "723f4ef90452aa629f3d923e92e0449d69362b1d",
        "lessThan": "cb26524ef4ac28fcfa554c0656e8dc412c38a8ff",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c9280c017ea13ff8678ef4f1ea78a4b683292e8b",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "6.6.64",
        "lessThan": "6.6.158",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.12.2",
        "lessThan": "6.12.111",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "6.11.11",
        "lessThan": "6.12",
        "versionType": "semver"
      }
    ],
    "programFiles": [
      "fs/smb/client/reparse.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "6.13"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "6.13",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "fs/smb/client/reparse.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-97560

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38006 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement