cve.bz

CVE-2025-68226 linux linux

8.8 highEPSS 0.4%

High (8.8) in linux linux. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix incomplete backport in cfids_invalidation_worker() The previous commit bdb596ceb4b7 ("smb: client: fix potential UAF in smb2_close_cached_fid()") was an incomplete backport and missed one kref_put() call in cfids_invalidation_worker() that should have been converted to close_cached_dir().

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-68226 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-68226?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-68226?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-68226 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-68226

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-68226](https://cve.bz/cve/badge/CVE-2025-68226.svg)](https://cve.bz/cve/CVE-2025-68226)

HTML:

<a href="https://cve.bz/cve/CVE-2025-68226"><img src="https://cve.bz/cve/badge/CVE-2025-68226.svg" alt="CVE-2025-68226"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 6.17.8 before 6.17.10

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14linux6.17.10-1DEBIAN-CVE-2025-68226
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2025-68226
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2025-68226
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2025-68226
Ubuntu22.04:LTSlinux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 moreno fix listedUBUNTU-CVE-2025-68226
Ubuntu24.04:LTSlinux-riscv, linux-oem-6.8, linux-gcp-6.11 and 8 moreno fix listedUBUNTU-CVE-2025-68226

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A use-after-free flaw was found in the Linux kernel SMB client implementation (fs/smb/client/cached_dir.c). An earlier commit intended to fix a potential use-after-free in smb2_close_cached_fid() was incompletely backported, leaving a kref_put() call in cfids_invalidation_worker() that should have been converted to close_cached_dir(). Under certain conditions, this can lead to a use-after-free of a reference-counted object, potentially causing kernel instability or a denial of service.

Red Hat Product Security has rated this issue as Moderate (CVSS:3.1 5.5, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H), since exploitation requires local access and privileges and the impact is limited to availability. The upstream CVE record carries a higher score (CVSS 8.8, network attack vector with high confidentiality and integrity impact), which does not match the technical nature of this flaw as established by the upstream fix commit.

This issue affects the kernel and kernel-rt components in Red Hat Enterprise Linux 9 and Red Hat Enterprise Linux 10, where the fix is deferred to a future update given the moderate, local, availability-only impact of the flaw. The vulnerable code is not present in Red Hat Enterprise Linux 6, 7, or 8, or in Red Hat In-Vehicle OS 1.1, so those products are not affected. The residual risk of the deferral is that a local user could trigger a use-after-free during invalidation of cached SMB directory handles, potentially crashing the kernel.

Red Hat's mitigation

To mitigate this issue, prevent the `cifs` kernel module from loading. This can be achieved by creating a blacklist file.

1. Create a file named `/etc/modprobe.d/blacklist-cifs.conf` with the following content:

```

blacklist cifs

install cifs /bin/true

```

2. Regenerate the initramfs:

```bash

dracut -f -v

```

3. Reboot the system for the changes to take effect.

Note that blacklisting the `cifs` module will disable SMB client functionality, which may impact systems relying on it for network file sharing.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10kernelFix deferred
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-68226.

References

Check your stackJSON