CVE-2025-22074

published 16 Apr 2025 · updated 17 Nov 2026

ksmbd: fix r_count dec/increment mismatch

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in Kernel 20378cf48359f39dee0ef9b61470ebe77bd49c0d, Kernel 6.13.11, Kernel 6.6.87 and 7 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa <20378cf48359f39dee0ef9b61470ebe77bd49c0d, >=6.13.8 <6.13.11, >=6.6.84 <6.6.87, >=8e6508c7ecb1802909f294827eff38f301d0c937 <8829849da3f68697b830a5b36047b0d8a50ae3ed, >=a4261bbc33fbf99b99c80aa3a2c5097611802980 <457db486203c90e10c3efc87fd45cc7000b1cd36, =6.14, >=09aeab68033161cb54f194da93e51a11aee6144b <4790bcb269e5d6d88200a67c54ae6d627332a3be, >=3aa660c059240e0c795217182cf7df32909dd917 <c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9, >=3aa660c059240e0c795217182cf7df32909dd917 <ddb7ea36ba7129c2ed107e2186591128618864e1, >=6.12.20 <6.12.2320378cf48359f39dee0ef9b61470ebe77bd49c0d, 6.13.11, 6.6.87, 8829849da3f68697b830a5b36047b0d8a50ae3ed, 457db486203c90e10c3efc87fd45cc7000b1cd36, 4790bcb269e5d6d88200a67c54ae6d627332a3be, c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9, ddb7ea36ba7129c2ed107e2186591128618864e1, 6.12.23
linux-kernel: Kernel>=6.13.8 <6.13.11, >=6.14.0 <6.14.2, >=6.6.84 <6.6.87, >=6.12.20 <6.12.236.13.11, 6.14.2, 6.6.87, 6.12.23

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-22074 severity on Zeptric[![CVE-2025-22074](https://zeptric.io/badge/cve/CVE-2025-22074.svg)](https://zeptric.io/cve/CVE-2025-22074)