{"id":"CVE-2026-46185","summary":"smb/client: fix out-of-bounds read in symlink_data()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb/client: fix out-of-bounds read in symlink_data()\n\nSince smb2_check_message() returns success without length validation for\nthe symlink error response, in symlink_data() it is possible for\niov-\u003eiov_len to be smaller than sizeof(struct smb2_err_rsp). If the buffer\nonly contains the base SMB2 header (64 bytes), accessing\nerr-\u003eErrorContextCount (at offset 66) or err-\u003eByteCount later in\nsymlink_data() will cause an out-of-bounds read.","modified":"2026-10-28T02:30:46.994543284Z","published":"2026-05-28T09:36:39.318Z","related":["ALSA-2026:57251","ALSA-2026:63129","SUSE-SU-2026:22521-1","SUSE-SU-2026:22522-1","SUSE-SU-2026:22665-1","SUSE-SU-2026:22666-1","SUSE-SU-2026:22742-1","SUSE-SU-2026:22769-1","SUSE-SU-2026:22812-1","SUSE-SU-2026:22835-1","SUSE-SU-2026:2799-1","SUSE-SU-2026:2800-1","openSUSE-SU-2026:10954-1","openSUSE-SU-2026:21388-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46185.json"},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html"},{"type":"WEB","url":"https://git.kernel.org/stable/c/15dc0a4de743a1aaa7b859b3aea79f08c695396c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2be11faf79e49fb8250a181ff0b4d2b2f084af83"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8c8a704f0bc133deb171f6aeb6f3a684203e212"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b9561402489d41149f63e001a74384863b7b30a6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d62b8d236fab503c6fec1d3e9a38bea71feaca20"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ef6495d4df6e7af8f3de67e65150881c880f696c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46185.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46185"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"76894f3e2f71177747b8b4763fb180e800279585"},{"fixed":"2be11faf79e49fb8250a181ff0b4d2b2f084af83"},{"fixed":"ef6495d4df6e7af8f3de67e65150881c880f696c"},{"fixed":"15dc0a4de743a1aaa7b859b3aea79f08c695396c"},{"fixed":"b8c8a704f0bc133deb171f6aeb6f3a684203e212"},{"fixed":"b9561402489d41149f63e001a74384863b7b30a6"},{"fixed":"d62b8d236fab503c6fec1d3e9a38bea71feaca20"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6.0.16"},{"fixed":"6.1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2d046892a493d9760c35fdaefc3017f27f91b621"}]}],"versions":["v6.0.19","v6.0.18","v6.0.17","v6.0.16"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46185.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.175"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.140"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.88"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.30"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.0.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46185.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}