CVE-2025-22074Published Apr 16, 2025 · Apr 16Updated 2d ago
ksmbd: fix r_count dec/increment mismatch
Linux
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3aa660c059240e0c795217182cf7df32909dd917 · < ddb7ea36ba7129c2ed107e2186591128618864e1| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
A mismatch in ksmbd's r_count increments and decrements can make the count negative, preventing a ksmbd thread from terminating. The input does not specify how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel with ksmbd should check their systems; affected versions were not provided.