{"id":"CVE-2026-98452","aliases":["CVE-2026-98452"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: clean up failed cached directory opens","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-18T15:15:02.436Z","modified":"2026-11-23T08:17:26.383Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b0f6df737a1c5d9d5ff90cc946205d8af46cc067","fixed":"e747942c2441ea06d83ce134f5d56a34985ef80c","status":"affected"},{"type":"git","introduced":"b0f6df737a1c5d9d5ff90cc946205d8af46cc067","fixed":"cc7e622340b8fa678ac4edbc4b4459b946d07d2c","status":"affected"},{"type":"git","introduced":"b0f6df737a1c5d9d5ff90cc946205d8af46cc067","fixed":"48958ddda3d7eee3600261e2d90671f63e055dc4","status":"affected"},{"type":"git","introduced":"b0f6df737a1c5d9d5ff90cc946205d8af46cc067","fixed":"abab661eed00fa102d3c35ddf1cce4f687e718c1","status":"affected"},{"type":"git","introduced":"b0f6df737a1c5d9d5ff90cc946205d8af46cc067","fixed":"7c1509598a4fdfb54cb09ce33e4405bd6dbd8295","status":"affected"},{"type":"git","introduced":"b0f6df737a1c5d9d5ff90cc946205d8af46cc067","fixed":"d2ff5fb93ea83034025850266b5eed391f96b825","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.1","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.55","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/e747942c2441ea06d83ce134f5d56a34985ef80c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cc7e622340b8fa678ac4edbc4b4459b946d07d2c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48958ddda3d7eee3600261e2d90671f63e055dc4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/abab661eed00fa102d3c35ddf1cce4f687e718c1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c1509598a4fdfb54cb09ce33e4405bd6dbd8295","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2ff5fb93ea83034025850266b5eed391f96b825","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98452","url":"https://www.cve.org/CVERecord?id=CVE-2026-98452","licence":"CVE Terms of Use","modified":"2026-11-23T07:59:54.201Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98452","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98452","licence":"Public domain","modified":"2026-11-23T08:17:26.383Z"}],"updatedAt":"2026-11-25T22:59:45.186Z","epss":{"score":0.00187,"percentile":0.08706,"date":"2026-12-01T12:00:22.000Z"}}