CVE-2025-71150: ksmbd: Fix refcount leak when invalid session is found on session lookup

Published Jan 23, 2026
·
Updated

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 SMB2SESSIONVALID, 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 ksmbdusersessionput to release the reference to the session.

Affected Software

14 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=5.15.176<5.16
Linux Linux kernel>=6.1.121<6.1.160
Linux Linux kernel>=6.6.67<6.6.120
Linux Linux kernel>=6.12.6<6.12.64
Linux Linux kernel>=6.13.1<6.18.3
Linux Linux kernel=6.13
Linux Linux kernel=6.13-rc3
Linux Linux kernel=6.13-rc4
Linux Linux kernel=6.13-rc5
Linux Linux kernel=6.13-rc6
Linux Linux kernel=6.13-rc7
Linux Linux kernel=6.19-rc1
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1

Event History

Jan 23, 2026
CVE Published
via MITRE·02:15 PM
Data Sourced
via MITRE·02:15 PM
DescriptionSeverity
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityAffected Software
Feb 28, 2026
Data Sourced
via Microsoft·09:02 AM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-71150?

CVE-2025-71150 is classified as a medium severity vulnerability.

2

How do I fix CVE-2025-71150?

To address CVE-2025-71150, you should update to the latest version of the Linux kernel that resolves this refcount leak issue.

3

What systems are affected by CVE-2025-71150?

CVE-2025-71150 affects the Linux kernel, particularly those utilizing the ksmbd SMB file server implementation.

4

What does CVE-2025-71150 exploit?

CVE-2025-71150 exploits a refcount leak that occurs when an invalid session is found during session lookup.

5

Is CVE-2025-71150 a remote or local vulnerability?

CVE-2025-71150 is considered a local vulnerability as it typically requires access to the system to exploit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203