Lucene search

K
cvelistLinuxCVELIST:CVE-2024-46736
HistorySep 18, 2024 - 7:11 a.m.

CVE-2024-46736 smb: client: fix double put of @cfile in smb2_rename_path()

2024-09-1807:11:58
Linux
www.cve.org
linux kernel
smb
client
cve-2024-46736
vulnerability fix

EPSS

0

Percentile

16.4%

In the Linux kernel, the following vulnerability has been resolved:

smb: client: fix double put of @cfile in smb2_rename_path()

If smb2_set_path_attr() is called with a valid @cfile and returned
-EINVAL, we need to call cifs_get_writable_path() again as the
reference of @cfile was already dropped by previous smb2_compound_op()
call.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/smb/client/smb2inode.c"
    ],
    "versions": [
      {
        "version": "1e60bc0e9543",
        "lessThan": "b27ea9c96efd",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "71f15c90e785",
        "lessThan": "1a46c7f6546b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "71f15c90e785",
        "lessThan": "3523a3df03c6",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/smb/client/smb2inode.c"
    ],
    "versions": [
      {
        "version": "6.9",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.9",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.51",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.10",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

16.4%

Related for CVELIST:CVE-2024-46736