Vulnerabilities · 2025 · Linux
CVE-2025-22074
Linux Kernel vulnerability
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 products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/20378cf48359f39dee0ef9b61470ebe77bd49c0d · Patch
- git.kernel.org/stable/c/457db486203c90e10c3efc87fd45cc7000b1cd36 · Patch
- git.kernel.org/stable/c/4790bcb269e5d6d88200a67c54ae6d627332a3be · Patch
- git.kernel.org/stable/c/c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9 · Patch
- git.kernel.org/stable/c/ddb7ea36ba7129c2ed107e2186591128618864e1 · Patch
- git.kernel.org/stable/c/8829849da3f68697b830a5b36047b0d8a50ae3ed
- nvd.nist.gov/vuln/detail/CVE-2025-22074
- cve.org/CVERecord?id=CVE-2025-22074
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.