{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-68219","published":"2025-12-16T14:15:55.013000Z","last_modified":"2026-10-30T13:18:19.167000Z","status":"Deferred","cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"none","priority_score":0,"links":{"html_es":"/es/cve/CVE-2025-68219/","html_en":"/en/cve/CVE-2025-68219/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-68219","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-68219"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: fix memory leak in smb3_fs_context_parse_param error path\n\nAdd proper cleanup of ctx->source and fc->source to the\ncifs_parse_mount_err error handler. This ensures that memory allocated\nfor the source strings is correctly freed on all error paths, matching\nthe cleanup already performed in the success path by\nsmb3_cleanup_fs_context_contents().\nPointers are also set to NULL after freeing to prevent potential\ndouble-free issues.\n\nThis change fixes a memory leak originally detected by syzbot. The\nleak occurred when processing Opt_source mount options if an error\nhappened after ctx->source and fc->source were successfully\nallocated but before the function completed.\n\nThe specific leak sequence was:\n1. ctx->source = smb3_fs_context_fullpath(ctx, '/') allocates memory\n2. fc->source = kstrdup(ctx->source, GFP_KERNEL) allocates more memory\n3. A subsequent error jumps to cifs_parse_mount_err\n4. The old error handler freed passwords but not the source strings,\ncausing the memory to leak.\n\nThis issue was not addressed by commit e8c73eb7db0a (\"cifs: client:\nfix memory leak in smb3_fs_context_parse_param\"), which only fixed\nleaks from repeated fsconfig() calls but not this error path.\n\nPatch updated with minor change suggested by kernel test robot","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/37010021d7e0341bb241ca00bcbae31f2c50b23f","tags":[]},{"url":"https://git.kernel.org/stable/c/48d69290270891f988e72edddd9688c20515421d","tags":[]},{"url":"https://git.kernel.org/stable/c/7627864dc3121f39e220f5253a227edf472de59e","tags":[]},{"url":"https://git.kernel.org/stable/c/7e4d9120cfa413dd34f4f434befc5dbe6c38b2e5","tags":[]},{"url":"https://git.kernel.org/stable/c/a8071fd69df335362be5ecf5df5a167fd1eb5853","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:5369-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20265369-1/","published":"2026-11-18T15:46:50+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:5352-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20265352-1/","published":"2026-11-18T09:12:39+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:24781-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202624781-1/","published":"2026-11-17T14:42:46+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}