Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-35869
HistoryMay 19, 2024 - 8:34 a.m.

CVE-2024-35869 smb: client: guarantee refcounted children from parent session

2024-05-1908:34:27
Linux
github.com
1
linux kernel
vulnerability resolved
smb
client
use-after-free bugs
dfs referrals
mounting
dfs failover
refcounted children
tcon
ses
dfs_ses_list

7.1 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

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

smb: client: guarantee refcounted children from parent session

Avoid potential use-after-free bugs when walking DFS referrals,
mounting and performing DFS failover by ensuring that all children
from parent @tcon->ses are also refcounted. They’re all needed across
the entire DFS mount. Get rid of @tcon->dfs_ses_list while we’re at
it, too.

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/cifsglob.h",
      "fs/smb/client/cifsproto.h",
      "fs/smb/client/connect.c",
      "fs/smb/client/dfs.c",
      "fs/smb/client/dfs.h",
      "fs/smb/client/dfs_cache.c",
      "fs/smb/client/misc.c"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "645f332c6b63",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "e1db9ae87b71",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "062a7f0ff46e",
        "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/cifsglob.h",
      "fs/smb/client/cifsproto.h",
      "fs/smb/client/connect.c",
      "fs/smb/client/dfs.c",
      "fs/smb/client/dfs.h",
      "fs/smb/client/dfs_cache.c",
      "fs/smb/client/misc.c"
    ],
    "versions": [
      {
        "version": "6.6.29",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.5",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

7.1 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

Related for VULNRICHMENT:CVE-2024-35869