{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40268","published":"2025-12-06T22:15:54.327000Z","last_modified":"2026-10-30T13:18:14.560000Z","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-40268/","html_en":"/en/cve/CVE-2025-40268/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40268","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40268"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: client: fix memory leak in smb3_fs_context_parse_param\n\nThe user calls fsconfig twice, but when the program exits, free() only\nfrees ctx->source for the second fsconfig, not the first.\nRegarding fc->source, there is no code in the fs context related to its\nmemory reclamation.\n\nTo fix this memory leak, release the source memory corresponding to ctx\nor fc before each parsing.\n\nsyzbot reported:\nBUG: memory leak\nunreferenced object 0xffff888128afa360 (size 96):\n  backtrace (crc 79c9c7ba):\n    kstrdup+0x3c/0x80 mm/util.c:84\n    smb3_fs_context_parse_param+0x229b/0x36c0 fs/smb/client/fs_context.c:1444\n\nBUG: memory leak\nunreferenced object 0xffff888112c7d900 (size 96):\n  backtrace (crc 79c9c7ba):\n    smb3_fs_context_fullpath+0x70/0x1b0 fs/smb/client/fs_context.c:629\n    smb3_fs_context_parse_param+0x2266/0x36c0 fs/smb/client/fs_context.c:1438","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/299bc05e1475a4aa1eb985ade8f39e68c1bba9b9","tags":[]},{"url":"https://git.kernel.org/stable/c/4515743cc7a42e1d67468402a6420c195532a6fa","tags":[]},{"url":"https://git.kernel.org/stable/c/48c17341577e25a22feb13d694374b61d974edbc","tags":[]},{"url":"https://git.kernel.org/stable/c/868fc62811d3fabcf5685e14f36377a855d5412d","tags":[]},{"url":"https://git.kernel.org/stable/c/e8c73eb7db0a498cd4b22d2819e6ab1a6f506bd6","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:20845-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620845-1/","published":"2026-03-24T16:48:38+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:20876-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620876-1/","published":"2026-03-24T16:48:29+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:20477-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620477-1/","published":"2026-02-24T10:42:46+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}