CVE-2025-22074: ksmbd: fix r_count dec/increment mismatch
Vulnerability summary
CVE-2025-22074 is a high (CVSS 8.8) vulnerability in linux. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 44.7% of scored vulnerabilities.
Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 3Timeline
- 16-04-2025PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.53%
Chance of exploitation in the next 30 days
Percentile
45%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 0.49% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu77 products
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
- linux-aws-5.13All versions (No fix recorded)
- linux-aws-5.19All versions (No fix recorded)
Linux2 products
- linux≥ 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 | 6.14
- linux_kernelEOL≥ 6.6.84, < 6.6.87 | ≥ 6.12.20, < 6.12.23 | ≥ 6.13.8, < 6.13.11 | 6.14 | 6.14:rc7 | 6.14.1
Debian1 product
- linux< 6.12.25-1
3 vendors · 80 products