Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-71150

published high CVSS 3.1 · 7.5

ksmbd: Fix refcount leak when invalid session is found on session lookup

Published
23 Jan 2026, 14:15:16 UTC
Updated
05 Aug 2026, 12:12:21 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux2107ab40629aeabbec369cf34b8cf0f288c3eb1b to < 11fe566b442e3bc2774191740fd377739a87a1c0 · 37a0e2b362b3150317fb6e2139de67b1e29ae5ff to < 0fb87b28cafae71e9c8248432cc3a6a1fd759efc · 450a844c045ff0895d41b05a1cbe8febd1acfcfd to < e54fb2a4772545701766cba08aab20de5eace8cd · a39e31e22a535d47b14656a7d6a893c7f6cf758c to < 02e06785e85b4bd86ef3d23b7c8d87acc76773d5 · b95629435b84b9ecc0c765995204a4d8a913ed52 to < 8cabcb4dd3dc85dd83a37d26efcc59a66a4074d7 · b95629435b84b9ecc0c765995204a4d8a913ed52 to < cafb57f7bdd57abba87725eb4e82bbdca4959644 · 5.15.176 to < 5.15.203 · 6.1.121 to < 6.1.160 · 6.6.67 to < 6.6.120 · 6.12.6 to < 6.12.64 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 5.15.203 through 5.15.* (unaffected · semver) · 6.1.160 through 6.1.* (unaffected · semver) · 6.6.120 through 6.6.* (unaffected · semver) · 6.12.64 through 6.12.* (unaffected · semver) · 6.18.3 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux Advisory build 6.1.162-1 DSA-6127-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Debian bullseye linux-6.1 Advisory build 6.1.162-1~deb11u1 DLA-4476-1
Debian trixie linux Advisory build 6.12.69-1 DSA-6126-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1112 Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-aws-5.15-headers-5.15.0-1112 Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-aws-5.15-tools-5.15.0-1112 Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-azure-fde-5.15 Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-azure-fde-5.15-cloud-tools-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-azure-fde-5.15-headers-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-azure-fde-5.15-tools-5.15.0-1117 Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-buildinfo-5.15.0-1064-nvidia-tegra Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-buildinfo-5.15.0-1064-nvidia-tegra-rt Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-buildinfo-5.15.0-1106-ibm Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-buildinfo-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-buildinfo-5.15.0-1109-oracle Advisory build 5.15.0-1109.115~20.04.1 USN-8620-1
Ubuntu focal linux-buildinfo-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-buildinfo-5.15.0-1112-gcp Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-buildinfo-5.15.0-1117-azure Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-buildinfo-5.15.0-1117-azure-fde Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-buildinfo-5.15.0-184-lowlatency Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-buildinfo-5.15.0-184-lowlatency-64k Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-buildinfo-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-buildinfo-5.15.0-186-generic-64k Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-buildinfo-5.15.0-186-generic-lpae Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-cloud-tools-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-cloud-tools-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-cloud-tools-5.15.0-1117-azure Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-cloud-tools-5.15.0-1117-azure-fde Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-cloud-tools-5.15.0-184-lowlatency Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-cloud-tools-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1112 Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1112 Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-headers-5.15.0-1064-nvidia-tegra Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-headers-5.15.0-1064-nvidia-tegra-rt Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-headers-5.15.0-1106-ibm Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-headers-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-headers-5.15.0-1109-oracle Advisory build 5.15.0-1109.115~20.04.1 USN-8620-1
Ubuntu focal linux-headers-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-headers-5.15.0-1112-gcp Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-headers-5.15.0-1117-azure Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-headers-5.15.0-1117-azure-fde Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-headers-5.15.0-184-lowlatency Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-headers-5.15.0-184-lowlatency-64k Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-headers-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-headers-5.15.0-186-generic-64k Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-headers-5.15.0-186-generic-lpae Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-186 Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-186 Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-186 Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1106 Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1106 Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-image-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-image-5.15.0-186-generic-lpae Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-image-unsigned-5.15.0-1064-nvidia-tegra Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-image-unsigned-5.15.0-1064-nvidia-tegra-rt Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-image-unsigned-5.15.0-1106-ibm Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-image-unsigned-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-image-unsigned-5.15.0-1109-oracle Advisory build 5.15.0-1109.115~20.04.1 USN-8620-1
Ubuntu focal linux-image-unsigned-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-image-unsigned-5.15.0-1112-gcp Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-image-unsigned-5.15.0-1117-azure Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-image-unsigned-5.15.0-1117-azure-fde Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-image-unsigned-5.15.0-184-lowlatency Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-image-unsigned-5.15.0-184-lowlatency-64k Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-image-unsigned-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-image-unsigned-5.15.0-186-generic-64k Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1107 Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1107 Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1107 Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-184 Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-184 Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-184 Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-modules-5.15.0-1064-nvidia-tegra Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-modules-5.15.0-1064-nvidia-tegra-rt Advisory build 5.15.0-1064.66~20.04.1 USN-8576-1
Ubuntu focal linux-modules-5.15.0-1106-ibm Advisory build 5.15.0-1106.110~20.04.1 USN-8597-1
Ubuntu focal linux-modules-5.15.0-1107-intel-iotg Advisory build 5.15.0-1107.113~20.04.1 USN-8620-3
Ubuntu focal linux-modules-5.15.0-1109-oracle Advisory build 5.15.0-1109.115~20.04.1 USN-8620-1
Ubuntu focal linux-modules-5.15.0-1112-aws Advisory build 5.15.0-1112.119~20.04.1 USN-8575-2
Ubuntu focal linux-modules-5.15.0-1112-gcp Advisory build 5.15.0-1112.122~20.04.1 USN-8668-1
Ubuntu focal linux-modules-5.15.0-1117-azure Advisory build 5.15.0-1117.126~20.04.1 USN-8620-1
Ubuntu focal linux-modules-5.15.0-1117-azure-fde Advisory build 5.15.0-1117.126~20.04.2 USN-8620-1
Ubuntu focal linux-modules-5.15.0-184-lowlatency Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-modules-5.15.0-184-lowlatency-64k Advisory build 5.15.0-184.194~20.04.1 USN-8575-1
Ubuntu focal linux-modules-5.15.0-186-generic Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-modules-5.15.0-186-generic-64k Advisory build 5.15.0-186.196~20.04.1 USN-8575-1
Ubuntu focal linux-modules-5.15.0-186-generic-lpae Advisory build 5.15.0-186.196~20.04.1 USN-8575-1

Package entries are limited to the first 100 builds and 100 linked advisories.

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

44

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scenarios
en: AV:N - ksmbd processes attacker-controlled SMB packets over TCP, normally port 445, and the vulnerable lookup is reachable through an SMB3 transform packet. AC:L - An attacker controls the complete sequence: negotiate SMB3, create an invalid session, then submit a forged transform header containing its SessionId. No race, encryption key, or external condition is required. PR:N - SESSION_SETUP creates and publishes the session before authentication completes, and transform-header processing reaches the lookup before authentication, signing, or cryptographic verification. UI:N - Exploitation requires only attacker-generated network traffic and no action by a victim user. S:U - The resource leak and resulting denial of service affect the kernel and host managed by the same security authority as the vulnerable SMB server. C:N - The flaw retains session objects but does not expose their contents or provide an out-of-bounds read, use-after-free, or other disclosure primitive. I:N - The erroneous operation is an increment of the session's own reference count; it does not corrupt adjacent memory or provide an attacker-controlled write or code-execution primitive. A:H - An unauthenticated attacker can create unlimited invalid sessions and make each permanently unreclaimable, retaining multiple kernel allocations and session IDs. Repetition can exhaust kernel memory, render ksmbd or the host unavailable, and potentially cause OOM termination or a system crash.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 2107ab40629aeabbec369cf34b8cf0f288c3eb1b to < 11fe566b442e3bc2774191740fd377739a87a1c0 (affected · git)37a0e2b362b3150317fb6e2139de67b1e29ae5ff to < 0fb87b28cafae71e9c8248432cc3a6a1fd759efc (affected · git)450a844c045ff0895d41b05a1cbe8febd1acfcfd to < e54fb2a4772545701766cba08aab20de5eace8cd (affected · git)a39e31e22a535d47b14656a7d6a893c7f6cf758c to < 02e06785e85b4bd86ef3d23b7c8d87acc76773d5 (affected · git)b95629435b84b9ecc0c765995204a4d8a913ed52 to < 8cabcb4dd3dc85dd83a37d26efcc59a66a4074d7 (affected · git)b95629435b84b9ecc0c765995204a4d8a913ed52 to < cafb57f7bdd57abba87725eb4e82bbdca4959644 (affected · git)5.15.176 to < 5.15.203 (affected · semver)6.1.121 to < 6.1.160 (affected · semver)6.6.67 to < 6.6.120 (affected · semver)6.12.6 to < 6.12.64 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.13 (affected)0 to < 6.13 (unaffected · semver)5.15.203 through 5.15.* (unaffected · semver)6.1.160 through 6.1.* (unaffected · semver)6.6.120 through 6.6.* (unaffected · semver)6.12.64 through 6.12.* (unaffected · semver)6.18.3 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

ksmbd: Fix refcount leak when invalid session is found on session lookup

Provenance

Schema
5.2
Searchable
yes
Content hash
ab18922432ae8abc99dcc0963d4d504f58bd42a08236af3e4cf4b7790d525366
Ingested
23 Sep 2026, 08:58:12 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected