{"id":"CVE-2025-22074","aliases":["CVE-2025-22074"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: fix r_count dec/increment mismatch","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: se corrige la discrepancia entre r_count decrement y decrement. r_count solo aumenta cuando hay una espera de interrupción de oplock, por lo que r_count inc/decrement no se empareja. Esto puede provocar que r_count sea negativo, lo que puede provocar un problema donde el subproceso ksmbd no termina.","source":"nvd"}],"published":"2025-04-16T14:12:25.921Z","modified":"2026-10-30T13:17:56.687Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8e6508c7ecb1802909f294827eff38f301d0c937","fixed":"8829849da3f68697b830a5b36047b0d8a50ae3ed","status":"affected"},{"type":"git","introduced":"09aeab68033161cb54f194da93e51a11aee6144b","fixed":"4790bcb269e5d6d88200a67c54ae6d627332a3be","status":"affected"},{"type":"git","introduced":"a4261bbc33fbf99b99c80aa3a2c5097611802980","fixed":"457db486203c90e10c3efc87fd45cc7000b1cd36","status":"affected"},{"type":"git","introduced":"f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa","fixed":"20378cf48359f39dee0ef9b61470ebe77bd49c0d","status":"affected"},{"type":"git","introduced":"3aa660c059240e0c795217182cf7df32909dd917","fixed":"c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9","status":"affected"},{"type":"git","introduced":"3aa660c059240e0c795217182cf7df32909dd917","fixed":"ddb7ea36ba7129c2ed107e2186591128618864e1","status":"affected"},{"type":"semver","introduced":"6.6.84","fixed":"6.6.87","status":"affected"},{"type":"semver","introduced":"6.12.20","fixed":"6.12.23","status":"affected"},{"type":"semver","introduced":"6.13.8","fixed":"6.13.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.6.87","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.23","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.11","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.2","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6.84","fixed":"6.6.87"},{"status":"affected","introduced":"6.12.20","fixed":"6.12.23"},{"status":"affected","introduced":"6.13.8","fixed":"6.13.11"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8829849da3f68697b830a5b36047b0d8a50ae3ed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4790bcb269e5d6d88200a67c54ae6d627332a3be","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/457db486203c90e10c3efc87fd45cc7000b1cd36","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20378cf48359f39dee0ef9b61470ebe77bd49c0d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ddb7ea36ba7129c2ed107e2186591128618864e1","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-22074","url":"https://www.cve.org/CVERecord?id=CVE-2025-22074","licence":"CVE Terms of Use","modified":"2026-10-30T12:21:13.575Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-22074","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22074","licence":"Public domain","modified":"2026-10-30T13:17:56.687Z"}],"updatedAt":"2026-11-25T22:58:56.596Z","epss":{"score":0.00539,"percentile":0.46814,"date":"2026-12-01T12:00:22.000Z"}}