CVE-2025-22074: Linux kernel · ksmbd: fix r_count dec/increment mismatch
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 8.8 High.
Data as of 30 Oct 2026, 13:34 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 8.8 |
|---|
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux | Affected
| Fixed in– |
Description
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.
References
- git.kernel.org/stable/c/8829849da3f68697b830a5b36047b0d8a50ae3ed (opens in a new tab)
- git.kernel.org/stable/c/4790bcb269e5d6d88200a67c54ae6d627332a3be (opens in a new tab)
- git.kernel.org/stable/c/457db486203c90e10c3efc87fd45cc7000b1cd36 (opens in a new tab)
- git.kernel.org/stable/c/20378cf48359f39dee0ef9b61470ebe77bd49c0d (opens in a new tab)
- git.kernel.org/stable/c/c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9 (opens in a new tab)
- git.kernel.org/stable/c/ddb7ea36ba7129c2ed107e2186591128618864e1 (opens in a new tab)