CVE-2025-39819: Linux kernel · fs/smb: Fix inconsistent refcnt update
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1050.53~22.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.8.0-1050.53~22.04.1, 6.8.0-1051.57~22.04.1, 6.8.0-1052.55~22.04.1 +26
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde@6.17.0-1017.17?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux@6.8.0-106.106?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws@6.8.0-1050.53?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-aws-6.14pkg:deb/ubuntu/linux-aws-6.14@6.14.0-1018.18~24.04.1?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure@6.8.0-1051.57?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11@6.11.0-1018.18~24.04.1?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
An official patch is available and should be applied to affected Linux kernel versions to resolve the inconsistent reference count update issue. The vendor advisory from Ubuntu confirms that this vulnerability is fixed in updated kernel packages. Users should update their Linux kernel to the fixed versions provided by their distribution. No additional mitigation steps are required beyond applying the patch.
Description
A vulnerability in the Linux kernel's SMB filesystem implementation was fixed to address inconsistent reference count updates in the function smb2_compound_op. This flaw could lead to resource leaks due to improper cleanup when memory allocation fails. The issue was resolved by ensuring the cleanup logic is always executed regardless of error conditions. The vulnerability affects specific Linux kernel versions and has a medium severity rating with a CVSS score of 5.5. A patch is available to correct this issue.
References
- ubuntu.com/security/CVE-2025-39819 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-39819 (opens in a new tab)
- git.kernel.org/linus/ab529e6ca1f67bcf31f3ea80c72bffde2e9e053e (opens in a new tab)
- git.kernel.org/stable/c/3fc11ff13fbc2749871d6ac2141685cf54699997 (opens in a new tab)
- git.kernel.org/stable/c/4191ea1f0bb3e27d65c5dcde7bd00e709ec67141 (opens in a new tab)
- git.kernel.org/stable/c/4735f5991f51468b85affb8366b7067248457a71 (opens in a new tab)
- git.kernel.org/stable/c/ab529e6ca1f67bcf31f3ea80c72bffde2e9e053e (opens in a new tab)
- git.kernel.org/stable/c/cc82c6dff548f0066a51a6e577c7454e7d26a968 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8100-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8125-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8126-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-8165-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8261-1 (opens in a new tab)