Skip to content
Heist/ feed
Back to feed
HighFix available

smb: client: fix potential UAF in cifs_stats_proc_show()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_show() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.237, 5.15.181, 6.1.85, 6.6.26, 6.8.5
CVEs
CVE-2024-35867
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:42 UTC · Revision 1

Source evidence

smb: client: fix potential UAF in cifs_stats_proc_show()

core-osv · Original source

Published 19 May 2024, 08:34 UTC

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_show() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.

osv:CVE-2024-35867

Kernel

Fixed versions: 5.10.237, 5.15.181, 6.1.85, 6.6.26, 6.8.5

Complete source record
{
  "id": "7e24086fa696719469d160b965606ab846fbd83838aad0475b7029dd177cc088",
  "url": "https://osv.dev/vulnerability/CVE-2024-35867",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "smb: client: fix potential UAF in cifs_stats_proc_show()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF in cifs_stats_proc_show() Skip sessions that are being teared down (status == SES_EXITING) to avoid UAF.",
    "evidence": "osv:CVE-2024-35867",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.237",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.181",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.85",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.26",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.8.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-35867",
      "aliases": [
        "CVE-2024-35867"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/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": "7f48558e6489d032b1584b0cc9ac4bb11072c034"
                },
                {
                  "fixed": "838ec01ea8d3deb5d123e8ed9022e8162dc3f503"
                },
                {
                  "fixed": "bb6570085826291dc392005f9fec16ea5da3c8ad"
                },
                {
                  "fixed": "16b7d785775eb03929766819415055e367398f49"
                },
                {
                  "fixed": "c3cf8b74c57924c0985e49a1fdf02d3395111f39"
                },
                {
                  "fixed": "1e12f0d5c66f07c934041621351973a116fa13c7"
                },
                {
                  "fixed": "0865ffefea197b437ba78b5dd8d8e256253efd65"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3.12.48"
                },
                {
                  "fixed": "3.13"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a67172a013953664b1dad03c648200c70b90506c"
                }
              ]
            }
          ],
          "versions": [
            "v3.12.74",
            "v3.12.73",
            "v3.12.72",
            "v3.12.71",
            "v3.12.70",
            "v3.12.69",
            "v3.12.68",
            "v3.12.67",
            "v3.12.66",
            "v3.12.65",
            "v3.12.64",
            "v3.12.63",
            "v3.12.62",
            "v3.12.61",
            "v3.12.60",
            "v3.12.59",
            "v3.12.58",
            "v3.12.57",
            "v3.12.56",
            "v3.12.55",
            "v3.12.54",
            "v3.12.53",
            "v3.12.52",
            "v3.12.51",
            "v3.12.50",
            "v3.12.49",
            "v3.12.48"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-35867.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "3.13.0"
                },
                {
                  "fixed": "5.10.237"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.181"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.85"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.26"
                }
              ]
            },
            {
              "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-35867.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.137356143Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0865ffefea197b437ba78b5dd8d8e256253efd65",
        "https://git.kernel.org/stable/c/16b7d785775eb03929766819415055e367398f49",
        "https://git.kernel.org/stable/c/1e12f0d5c66f07c934041621351973a116fa13c7",
        "https://git.kernel.org/stable/c/838ec01ea8d3deb5d123e8ed9022e8162dc3f503",
        "https://git.kernel.org/stable/c/bb6570085826291dc392005f9fec16ea5da3c8ad",
        "https://git.kernel.org/stable/c/c3cf8b74c57924c0985e49a1fdf02d3395111f39",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35867.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-35867",
        "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-35867.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-35867",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 496931,
  "published_at": "2024-05-19T08:34:25.911+00:00"
}