CVSS 3.1
8.8 highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (8.8) in linux linux. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Linux | from 6.17.8 before 6.17.10 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 14 | linux | 6.17.10-1 | DEBIAN-CVE-2025-68226 |
| Ubuntu | 16.04:LTS | linux-hwe-edge | no fix listed | UBUNTU-CVE-2025-68226 |
| Ubuntu | 18.04:LTS | linux-gcp, linux-hwe, linux-oem and 12 more | no fix listed | UBUNTU-CVE-2025-68226 |
| Ubuntu | 20.04:LTS | linux-gke, linux-gkeop, linux-riscv and 26 more | no fix listed | UBUNTU-CVE-2025-68226 |
| Ubuntu | 22.04:LTS | linux-riscv, linux-aws-6.2, linux-aws-6.5 and 30 more | no fix listed | UBUNTU-CVE-2025-68226 |
| Ubuntu | 24.04:LTS | linux-riscv, linux-oem-6.8, linux-gcp-6.11 and 8 more | no fix listed | UBUNTU-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 rates this Moderate.
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.
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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Fix deferred | |
| Red Hat Enterprise Linux 6 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel | Not affected | |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 8 | kernel | Not affected | |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | |
| Red Hat Enterprise Linux 9 | kernel | Fix deferred | |
| Red Hat Enterprise Linux 9 | kernel-rt | Fix 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.