Skip to content
Heist/ feed
Back to feed
CriticalFix available

smb: client: guarantee refcounted children from parent session

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.6.29, 6.8.5
CVEs
CVE-2024-35869
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:31 UTC · Revision 1

Source evidence

smb: client: guarantee refcounted children from parent session

core-osv · Original source

Published 19 May 2024, 08:34 UTC

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.

osv:CVE-2024-35869

Kernel

Fixed versions: 6.6.29, 6.8.5

Complete source record
{
  "id": "8e5238be56ac9899fde8c146e853d13e8db4fa39bc1a971dcd71b4a68c7c3b18",
  "url": "https://osv.dev/vulnerability/CVE-2024-35869",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "smb: client: guarantee refcounted children from parent session",
    "summary": "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.",
    "evidence": "osv:CVE-2024-35869",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.29",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.8.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-35869",
      "aliases": [
        "CVE-2024-35869"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "8e3554150d6c80a84b3cb046615d1a0e943811dc"
                },
                {
                  "fixed": "645f332c6b63499cc76197f9b6bffcc659ba64cc"
                },
                {
                  "fixed": "e1db9ae87b7148c021daee1fcc4bc71b2ac58a79"
                },
                {
                  "fixed": "062a7f0ff46eb57aff526897bd2bebfdb1d3046a"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.2.15"
                },
                {
                  "fixed": "6.3"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6.3.2"
                },
                {
                  "fixed": "6.4"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f30d226bcc9f0e2d97b4a6e94c43a28148fbeab6"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c082c3be0f96e759ff2e361d929832fda0b93851"
                }
              ]
            }
          ],
          "versions": [
            "v6.2.16",
            "v6.2.15",
            "v6.3.13",
            "v6.3.12",
            "v6.3.11",
            "v6.3.10",
            "v6.3.9",
            "v6.3.8",
            "v6.3.7",
            "v6.3.6",
            "v6.3.5",
            "v6.3.4",
            "v6.3.3",
            "v6.3.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35869.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.6.29"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.8.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35869.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.683525651Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/062a7f0ff46eb57aff526897bd2bebfdb1d3046a",
        "https://git.kernel.org/stable/c/645f332c6b63499cc76197f9b6bffcc659ba64cc",
        "https://git.kernel.org/stable/c/e1db9ae87b7148c021daee1fcc4bc71b2ac58a79",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35869.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-35869",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35869.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-35869",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492211,
  "published_at": "2024-05-19T08:34:27.645+00:00"
}