CVE-2025-22074 json
ksmbd: fix r_count dec/increment mismatch
published 2025-04-16 18 mo ago modified 2026-10-30 10 d ago also EUVD-2025-11217
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix r_count dec/increment mismatch
r_count is only increased when there is an oplock break wait, so r_count inc/decrement are not paired. This can cause r_count to become negative, which can lead to a problem where the ksmbd thread does not terminate.
Patch / fix
- Linux Linux 6.6.87, 6.12.23, 6.13.11, 6.14.2, 6.15
- linux Debian 14, Debian 13 6.12.25-1
debian advisories DEBIAN-CVE-2025-22074
- git.kernel.org/stable/c/8829849da3f68697b830a5b36047b0d8a50ae3ed commit
- git.kernel.org/stable/c/4790bcb269e5d6d88200a67c54ae6d627332a3be commit
- git.kernel.org/stable/c/457db486203c90e10c3efc87fd45cc7000b1cd36 commit
- git.kernel.org/stable/c/20378cf48359f39dee0ef9b61470ebe77bd49c0d commit
- git.kernel.org/stable/c/c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9 commit
- git.kernel.org/stable/c/ddb7ea36ba7129c2ed107e2186591128618864e1 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-22074 updated
kernel: ksmbd: fix r_count dec/increment mismatch
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/8829849da3f68697b830a5b36047b0d8a50ae3ed
-
git.kernel.org
/stable/c/4790bcb269e5d6d88200a67c54ae6d627332a3be
patch
-
git.kernel.org
/stable/c/457db486203c90e10c3efc87fd45cc7000b1cd36
patch
-
git.kernel.org
/stable/c/20378cf48359f39dee0ef9b61470ebe77bd49c0d
patch
-
git.kernel.org
/stable/c/c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9
patch
-
git.kernel.org
/stable/c/ddb7ea36ba7129c2ed107e2186591128618864e1
patch
Sources
- CVE List CVE-2025-22074
- NVD CVE-2025-22074
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.