Skip to content
Heist/ feed
Back to feed
CriticalFix available

smb: client: fix missed ses refcounting

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix missed ses refcounting Use new cifs_smb_ses_inc_refcount() helper to get an active reference of @ses and @ses->dfs_root_ses (if set). This will prevent @ses->dfs_root_ses of being put in the next call to cifs_put_smb_ses() and thus potentially causing an use-after-free bug.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.4.7
CVEs
CVE-2023-54076
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:57 UTC · Revision 1

Source evidence

smb: client: fix missed ses refcounting

core-osv · Original source

Published 24 Dec 2025, 12:23 UTC

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix missed ses refcounting Use new cifs_smb_ses_inc_refcount() helper to get an active reference of @ses and @ses->dfs_root_ses (if set). This will prevent @ses->dfs_root_ses of being put in the next call to cifs_put_smb_ses() and thus potentially causing an use-after-free bug.

osv:CVE-2023-54076

Kernel

Fixed versions: 6.4.7

Complete source record
{
  "id": "d11543dcede946ccb6200e213baf29b795fede77d6c3320a6a2c2fb32e6741ce",
  "url": "https://osv.dev/vulnerability/CVE-2023-54076",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "smb: client: fix missed ses refcounting",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: smb: client: fix missed ses refcounting Use new cifs_smb_ses_inc_refcount() helper to get an active reference of @ses and @ses->dfs_root_ses (if set). This will prevent @ses->dfs_root_ses of being put in the next call to cifs_put_smb_ses() and thus potentially causing an use-after-free bug.",
    "evidence": "osv:CVE-2023-54076",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.4.7",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2023-54076",
      "aliases": [
        "CVE-2023-54076"
      ],
      "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": "eb382196e6f6e05cfafdab797840e5a96c6e7bf0"
                },
                {
                  "fixed": "bf99f6be2d20146942bce6f9e90a0ceef12cbc1e"
                }
              ]
            },
            {
              "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-2023-54076.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.4.7"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54076.json"
          }
        }
      ],
      "modified": "2026-10-08T02:48:35.658089951Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/bf99f6be2d20146942bce6f9e90a0ceef12cbc1e",
        "https://git.kernel.org/stable/c/eb382196e6f6e05cfafdab797840e5a96c6e7bf0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54076.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-54076",
        "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/2023/54xxx/CVE-2023-54076.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-54076",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 98287,
  "published_at": "2025-12-24T12:23:18.33+00:00"
}