PT-2025-16717

CVE-2025-22077

·

Published

2025-04-02

·

Updated

2026-10-15

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A vulnerability in the Linux kernel has been identified, related to the SMB client. The issue arises from an imbalance in the netns reference count, leading to potential leaks and use-after-free problems. This occurs due to gaps in the get net()/put net() balancing, resulting in two main issues: netns refcount leaks and potential use-after-free. The problem is triggered by the cifs reconnect() function, which releases the server->ssocket without a corresponding put net() call, and by unbalanced get net() and put net() calls in the exception handling process.
Recommendations To address the issues, apply the patch that ties the netns reference count to the server->ssocket, ensuring proper balancing of get net() and put net() calls. As a temporary workaround, consider restricting the use of the SMB client until a patch is available. Avoid using the cifs reconnect() function until the issue is resolved. Restrict access to the vulnerable cifs mount() function to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
MGASA-2025-0142
MGASA-2025-0146
OESA-2026-2417
OESA-2026-2418
OESA-2026-2496
OPENSUSE-SU-2025:20081-1
SUSE-SU-2025:21074-1
SUSE-SU-2025:21139-1
SUSE-SU-2025:21179-1
SUSE-SU-2026:20560-1
Found an issue in the description? Have something to add? Feel free to write us 👾