CVE-2025-71150: Linux kernel · ksmbd: Fix refcount leak when invalid session is found on session lookup
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 5.15.0-1112.119~20.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.15.0-1112.119~20.04.1, 5.15.0-1117.126~20.04.1, 5.15.0-1117.126~20.04.2 +76
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Jan 2026
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.
Patches and advisories
- ubuntu.com/security/notices/USN-8177-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8177-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8183-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8184-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8185-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8183-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8203-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8204-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8185-2 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linuxpkg:deb/ubuntu/linux?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: Fix refcount leak when invalid session is found on session lookup When a session is found but its state is not SMB2_SESSION_VALID, It indicates that no valid session was found, but it is missing to decrement the reference count acquired by the session lookup, which results in a reference count leak. This patch fixes the issue by explicitly calling ksmbd_user_session_put to release the reference to the session.
References
- ubuntu.com/security/CVE-2025-71150 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-71150 (opens in a new tab)
- git.kernel.org/linus/cafb57f7bdd57abba87725eb4e82bbdca4959644 (opens in a new tab)
- git.kernel.org/stable/c/02e06785e85b4bd86ef3d23b7c8d87acc76773d5 (opens in a new tab)
- git.kernel.org/stable/c/0fb87b28cafae71e9c8248432cc3a6a1fd759efc (opens in a new tab)
- git.kernel.org/stable/c/8cabcb4dd3dc85dd83a37d26efcc59a66a4074d7 (opens in a new tab)
- git.kernel.org/stable/c/cafb57f7bdd57abba87725eb4e82bbdca4959644 (opens in a new tab)
- git.kernel.org/stable/c/e54fb2a4772545701766cba08aab20de5eace8cd (opens in a new tab)
- ubuntu.com/security/notices/USN-8177-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8177-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8183-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8184-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8185-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8183-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8179-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8203-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8204-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8185-2 (opens in a new tab)