{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-99385","published":"2026-11-19T15:17:50.713000Z","last_modified":"2026-11-23T08:17:43.107000Z","status":"Received","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","primary":false},"auth":false,"cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":78,"links":{"html_es":"/es/cve/CVE-2026-99385/","html_en":"/en/cve/CVE-2026-99385/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99385","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99385"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix buffer overflow in SMB2_tcon()\n\nIn SMB2_tcon(), unc_path is allocated with a fixed buffer size of\nMAX_SHARENAME_LENGTH * 2 bytes (672 bytes). However, the user-controlled\nUNC path (tree) length is passed to cifs_strtoUTF16(), which assumes the\ndestination buffer is large enough and writes strlen(tree) + 1 UTF-16 code\nunits.\n\nCommit 62a1a439e0fd (\"cifs: clean up handling of unc= option\") removed the\nlength check on UNC mount options, allowing mount paths to exceed\nMAX_SHARENAME_LENGTH while retaining the fixed-size buffer allocation in\nSMB2_tcon(). Consequently, an oversized UNC string causes cifs_strtoUTF16()\nto write past the end of the heap object, resulting in a slab-out-of-bounds\nwrite. Furthermore, if a tree exceeds MAX_TREE_SIZE characters, strscpy()\ntruncates it in cifs_tcon::tree_name, causing subsequent reconnects or\nfailovers to fail.\n\nFix this by first verifying that the length of tree does not exceed\nMAX_TREE_SIZE, returning -EINVAL if it does. Then, dynamically allocate\nunc_path based on the length of tree so that it safely accommodates all\nUTF-16 code units for paths within MAX_TREE_SIZE.\n\n[pc: remove unused MAX_SHARENAME_LENGTH]","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"e6380671321580d3087af4f3bbdaf405","generated":"2026-12-01T03:54:03.680470Z","es":{"untrusted_title":"Desbordamiento de búfer en SMB2_tcon() del kernel Linux","untrusted_summary":"El kernel Linux contiene un desbordamiento de búfer en la función SMB2_tcon() del cliente CIFS/SMB. Un atacante remoto puede enviar una ruta UNC malformada durante el montaje de un recurso compartido SMB, causando una escritura fuera de los límites del búfer de heap. Esto permite ejecución remota de código sin autenticación."},"en":{"untrusted_title":"Buffer overflow in Linux kernel SMB2_tcon()","untrusted_summary":"The Linux kernel contains a buffer overflow in the SMB2_tcon() function of the CIFS/SMB client. A remote attacker can send a malformed UNC path during SMB share mounting, causing an out-of-bounds heap write. This enables remote code execution without authentication."},"remediation":{"status":"fix","fixed_versions":[],"untrusted_action_es":"Actualiza el kernel Linux a una versión que incluya el parche que valida la longitud de la ruta UNC y asigna dinámicamente el búfer en SMB2_tcon().","untrusted_action_en":"Update the Linux kernel to a version that includes the patch validating UNC path length and dynamically allocating the buffer in SMB2_tcon().","vendor_url":"https://git.kernel.org/stable/c/0149377b312eeb136119223a7c05d55c4b24c76d"},"reviewed":false},"references":[{"url":"https://git.kernel.org/stable/c/0149377b312eeb136119223a7c05d55c4b24c76d","tags":[]},{"url":"https://git.kernel.org/stable/c/73cc469b0ff7551f8537ea919709973e6dc4f514","tags":[]},{"url":"https://git.kernel.org/stable/c/75fd4c72aa3dcfabb318144636f416be6796d423","tags":[]},{"url":"https://git.kernel.org/stable/c/85692a261042bab56fdfd51e10630f09ef5a5082","tags":[]},{"url":"https://git.kernel.org/stable/c/a4e022f375a04cadca3f799f6157877961be5829","tags":[]},{"url":"https://git.kernel.org/stable/c/acf25a7be39dccdbf60fdf3d437dd7832fa4b6d3","tags":[]},{"url":"https://git.kernel.org/stable/c/d26f7fbca42532c6c79efdceb4bd5198e1849314","tags":[]},{"url":"https://git.kernel.org/stable/c/e17fe5c8bf3fca4852e497b7061e316d314d7c52","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:12733-1","url":"https://www.suse.com/support/update/","published":"2026-11-30T00:00:00+00:00","severity":"critical","exploited":false,"untrusted":{"title":"kernel-devel-7.3.6-2.1 on GA media"}}]}