{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "b0f6df737a1c5d9d5ff90cc946205d8af46cc067"
            },
            {
              "fixed": "48958ddda3d7eee3600261e2d90671f63e055dc4"
            },
            {
              "fixed": "abab661eed00fa102d3c35ddf1cce4f687e718c1"
            },
            {
              "fixed": "7c1509598a4fdfb54cb09ce33e4405bd6dbd8295"
            },
            {
              "fixed": "d2ff5fb93ea83034025850266b5eed391f96b825"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.1.0"
            },
            {
              "fixed": "6.12.112"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.55"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98452.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: clean up failed cached directory opens\n\nopen_cached_dir() sends CREATE and QUERY_INFO as a compound request. If\nthe CREATE succeeds but a later command returns an error, the function\nmust retain the CREATE FID so common cleanup can issue SMB2_close(). It\nalso must not treat a response error as a valid CREATE.\n\nValidate the CREATE response before using its fields, record the FIDs, and\nmark the handle open before handling errors from later compound commands.\nMove the -EREMCHG reconnect handling before response validation so a\nmissing response does not hide the reconnect request. Count the handle\nwhen it is marked open; confirmed close responses decrement the counter,\nwhile existing close retry behavior remains best effort on transport\nfailures.",
  "id": "CVE-2026-98452",
  "modified": "2026-10-20T02:31:00.431799060Z",
  "published": "2026-10-18T15:15:02.436Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/48958ddda3d7eee3600261e2d90671f63e055dc4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7c1509598a4fdfb54cb09ce33e4405bd6dbd8295"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/abab661eed00fa102d3c35ddf1cce4f687e718c1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d2ff5fb93ea83034025850266b5eed391f96b825"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98452.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98452"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "smb: client: clean up failed cached directory opens"
}