# fs/smb: Fix inconsistent refcnt update

CVE record · `CVE-2025-39819`

- **Identifiers:** `CVE-2025-39819`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 16 Sept 2025
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 16 Sept 2025, 13:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `a7d5c294628088781da9e91cbb034d61c3a71f71 to before 3fc11ff13fbc2749871d6ac2141685cf54699997` (git)
  - affected: `a7d5c294628088781da9e91cbb034d61c3a71f71 to before 4191ea1f0bb3e27d65c5dcde7bd00e709ec67141` (git)
  - affected: `a7d5c294628088781da9e91cbb034d61c3a71f71 to before 4735f5991f51468b85affb8366b7067248457a71` (git)
  - affected: `a7d5c294628088781da9e91cbb034d61c3a71f71 to before cc82c6dff548f0066a51a6e577c7454e7d26a968` (git)
  - affected: `a7d5c294628088781da9e91cbb034d61c3a71f71 to before ab529e6ca1f67bcf31f3ea80c72bffde2e9e053e` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.8`
  - unaffected: `before 5.8` (semver)
  - unaffected: `6.1.150 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.104 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.45 to 6.12.*, inclusive` (semver)
  - unaffected: `6.16.5 to 6.16.*, inclusive` (semver)
  - unaffected: `6.17 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel SMB client (fs/smb) is affected from 5.8 until fixed in 6.1.150, 6.6.104, 6.12.45 and 6.16.5. A reference count is updated inconsistently when a memory allocation fails, which can cause resource leaks. The source does not describe attacker requirements. Upgrade to a fixed kernel version for your branch.

Written 16 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0016, the 4th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 16 Sept 2025, 13:00 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-39819)
- 16 Sept 2025, 13:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-39819)

## Sources

- [CVE List: CVE-2025-39819](https://www.cve.org/CVERecord?id=CVE-2025-39819)
- [NVD: CVE-2025-39819](https://nvd.nist.gov/vuln/detail/CVE-2025-39819)

### References from the CNA

- <https://git.kernel.org/stable/c/3fc11ff13fbc2749871d6ac2141685cf54699997>
- <https://git.kernel.org/stable/c/4191ea1f0bb3e27d65c5dcde7bd00e709ec67141>
- <https://git.kernel.org/stable/c/4735f5991f51468b85affb8366b7067248457a71>
- <https://git.kernel.org/stable/c/cc82c6dff548f0066a51a6e577c7454e7d26a968>
- <https://git.kernel.org/stable/c/ab529e6ca1f67bcf31f3ea80c72bffde2e9e053e>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-39819>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-39819/>. Everything for agents: <https://agentprime.io/llms.txt>.
