Service hang via unbalanced oplock reference count
Published Apr 16, 2025 · Updated Aug 5, 2026
Reference-count underflow in ksmbd allows remote authenticated users to hang the Linux SMB service through crafted oplock activity. handle_ksmbd_work decrements a connection's r_count even when the oplock-break path did not increment it, so teardown can wait forever for zero. A valid low-privileged SMB share session and two attacker-controlled connections are required; repeated triggers can exhaust connection resources.
Summary
What happened
Reference-count underflow in ksmbd allows remote authenticated users to hang the Linux SMB service through crafted oplock activity. handle_ksmbd_work decrements a connection's r_count even when the oplock-break path did not increment it, so teardown can wait forever for zero. A valid low-privileged SMB share session and two attacker-controlled connections are required; repeated triggers can exhaust connection resources.
The record
- CVE
- CVE-2025-22074
- Published
- Apr 16, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 16, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=09aeab68033161cb54f194da93e51a11aee6144b <4790bcb269e5d6d88200a67c54ae6d627332a3be
- Affected versionversion=3aa660c059240e0c795217182cf7df32909dd917 <c2ec33d46b4d1c8085dab5d02e00b21f4f0fb8a9
- Affected versionversion=3aa660c059240e0c795217182cf7df32909dd917 <ddb7ea36ba7129c2ed107e2186591128618864e1
- Affected versionversion=6.12.20 <6.12.23
- Affected versionversion=6.13.8 <6.13.11
- Affected versionversion=6.14
- Affected versionversion=6.6.84 <6.6.87
- Affected versionversion=a4261bbc33fbf99b99c80aa3a2c5097611802980 <457db486203c90e10c3efc87fd45cc7000b1cd36
- Affected versionversion=f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa <20378cf48359f39dee0ef9b61470ebe77bd49c0d
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo