PT-2025-51632 · Linux+3 · Linux Kernel+3

Published

2025-12-16

·

Updated

2026-05-07

·

CVE-2025-68219

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel contains a memory leak in the CIFS implementation, specifically within the smb3 fs context parse param function. The issue arises when processing Opt source mount options, where memory allocated for source strings (ctx->source and fc->source) is not properly freed in error scenarios. This leak was initially detected by syzbot and occurs when an error happens after the source strings are allocated but before the function completes. The error handler previously freed passwords but failed to free the allocated source strings, leading to a memory leak. A prior attempt to address this issue (commit e8c73eb7db0a) only resolved leaks from repeated fsconfig() calls and did not cover this specific error path. The fix involves adding proper cleanup of ctx->source and fc->source to the cifs parse mount err error handler, ensuring memory is freed on all error paths and pointers are set to NULL to prevent double-free issues.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Related Identifiers

AZL-72463
CVE-2025-68219
ECHO-7020-9AF7-C1B8
MGASA-2026-0017
MGASA-2026-0018
OESA-2026-1303
OESA-2026-1304
OESA-2026-1305
USN-8094-1
USN-8094-2
USN-8094-3
USN-8094-4
USN-8094-5
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8152-1
USN-8165-1
USN-8261-1

Affected Products

Debian
Linuxmint
Linux Kernel
Ubuntu