CVE-2025-22074: ksmbd: fix r_count dec/increment mismatch
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix rcount dec/increment mismatch
rcount is only increased when there is an oplock break wait, so rcount inc/decrement are not paired. This can cause rcount to become negative, which can lead to a problem where the ksmbd thread does not terminate.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-22074?
CVE-2025-22074 has been classified as a moderate severity vulnerability in the Linux kernel.
What causes CVE-2025-22074?
CVE-2025-22074 is caused by a r_count increment and decrement mismatch during oplock break waits in the ksmbd module.
How do I fix CVE-2025-22074?
To fix CVE-2025-22074, update to the latest version of the Linux kernel where this vulnerability has been patched.
Which versions of the Linux kernel are affected by CVE-2025-22074?
CVE-2025-22074 affects certain versions of the Linux kernel that utilize the ksmbd module.
Is CVE-2025-22074 exploitable remotely?
Yes, CVE-2025-22074 may be exploited remotely under certain conditions related to shared SMB file access.