Skip to main content
← All vulnerabilities
CVE-2025-22074

ksmbd: fix r_count dec/increment mismatch

Published
Last modified
published
Not listed in CISA KEV
Specific setups only
Fix
Fixed in 6.6.87, 6.12.23, 6.13.11, 6.14.2
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.6.84 · fixed in 6.6.87; From 6.12.20 · fixed in 6.12.23; From 6.13.8 · fixed in 6.13.11

  • Linux Linux

    6.14

  • KernelLinux

    fixed in 6.6.87; From 6.7.0 · fixed in 6.12.23; From 6.13.0 · fixed in 6.13.11; From 6.14.0 · fixed in 6.14.2

References 6

git.kernel.org