CVE-2025-71150
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.
How to fix
- linux linux_kernel5.16, 6.1.160, 6.6.120, 6.12.64, 6.18.3 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 5.15.176 ≤ v < 5.16, 6.1.121 ≤ v < 6.1.160, 6.6.67 ≤ v < 6.6.120, 6.12.6 ≤ v < 6.12.64, 6.13.1 ≤ v < 6.18.3, 6.13, 6.19 | 5.16, 6.1.160, 6.6.120, 6.12.64, 6.18.3 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.