{"id":"CVE-2025-22074","published":"2025-04-16T14:12:25Z","modified":"2026-10-30T12:21:13Z","title":"ksmbd: fix r_count dec/increment mismatch","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix r_count dec/increment mismatch\n\nr_count is only increased when there is an oplock break wait,\nso r_count inc/decrement are not paired. This can cause r_count\nto become negative, which can lead to a problem where the ksmbd\nthread does not terminate.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00539,"percentile":0.4565,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8829849da3f68697b830a5b36047b0d8a50ae3ed","tags":[]},{"url":"https://git.kernel.org/stable/c/4790bcb269e5d6d88200a67c54ae6d627332a3be","tags":[]},{"url":"https://git.kernel.org/stable/c/457db486203c90e10c3efc87fd45cc7000b1cd36","tags":[]},{"url":"https://git.kernel.org/stable/c/20378cf48359f39dee0ef9b61470ebe77bd49c0d","tags":[]},{"url":"https://git.kernel.org/stable/c/c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9","tags":[]},{"url":"https://git.kernel.org/stable/c/ddb7ea36ba7129c2ed107e2186591128618864e1","tags":[]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":9.13},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8e6508c7ecb1802909f294827eff38f301d0c937, < 8829849da3f68697b830a5b36047b0d8a50ae3ed",">= 09aeab68033161cb54f194da93e51a11aee6144b, < 4790bcb269e5d6d88200a67c54ae6d627332a3be",">= a4261bbc33fbf99b99c80aa3a2c5097611802980, < 457db486203c90e10c3efc87fd45cc7000b1cd36",">= f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa, < 20378cf48359f39dee0ef9b61470ebe77bd49c0d",">= 3aa660c059240e0c795217182cf7df32909dd917, < c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9",">= 3aa660c059240e0c795217182cf7df32909dd917, < ddb7ea36ba7129c2ed107e2186591128618864e1",">= 6.6.84, < 6.6.87",">= 6.12.20, < 6.12.23",">= 6.13.8, < 6.13.11"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"euvd":{"id":"EUVD-2025-11217","exploited":false,"provenance":"source"}}